aportgen: Add gnu89 patch to all new kernel packages (!1744)

This commit is contained in:
Grant Miller 2019-01-20 22:29:20 -06:00
parent 98b02cb95a
commit 200cc80a9d
1 changed files with 5 additions and 2 deletions

View File

@ -119,8 +119,11 @@ def generate(args, pkgname):
# Symlink commonly used patches
pmb.helpers.run.user(args, ["mkdir", "-p", args.work + "/aportgen"])
patches = ["gcc7-give-up-on-ilog2-const-optimizations.patch",
"gcc8-fix-put-user.patch"]
patches = [
"gcc7-give-up-on-ilog2-const-optimizations.patch",
"gcc8-fix-put-user.patch",
"kernel-use-the-gnu89-standard-explicitly.patch",
]
for patch in patches:
pmb.helpers.run.user(args, ["ln", "-s",
"../../.shared-patches/linux/" + patch,