diff options
| author | Michael Forney <mforney@mforney.org> | 2020-04-15 18:46:26 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-04-15 19:09:56 -0700 |
| commit | b275ed3c0711327bff6c1e67dbeaac8c5452a0e4 (patch) | |
| tree | 75f466a31914ef92d52aa2a01b887ecc5986299b /pkg/linux-headers | |
| parent | 3c7d1aadfbe558bdee90ff73ff63a721d1db7da5 (diff) | |
linux-headers: Fix portability issue in sed script
Diffstat (limited to 'pkg/linux-headers')
| -rw-r--r-- | pkg/linux-headers/header.sed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/linux-headers/header.sed b/pkg/linux-headers/header.sed index f449f30f..d15f2e1c 100644 --- a/pkg/linux-headers/header.sed +++ b/pkg/linux-headers/header.sed @@ -1,7 +1,7 @@ # scripts/headers_install.sh s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g s/__attribute_const__([[:space:]]|$)/\1/g -s@^#include <linux/compiler(|_types).h>@@ +s@^#include <linux/compiler(_types)?.h>@@ s/(^|[^a-zA-Z0-9])__packed([^a-zA-Z0-9_]|$)/\1__attribute__((packed))\2/g s/(^|[[:space:](])(inline|asm|volatile)([[:space:](]|$)/\1__\2__\3/g s@#(ifndef|define|endif[[:space:]]*/[*])[[:space:]]*_UAPI@#\1 @ |
