diff options
author | Brenton Earl <brent@exitstatusone.com> | 2021-03-29 21:07:55 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:50:41 -0500 |
commit | bfea21cde7cf3c8a67c0b7d20fee567d6674552c (patch) | |
tree | cce25ca12e60446c5fdfd5e93221d05f0b6485fe /system/ossec-local/ossec-local.SlackBuild | |
parent | 86ff61d05b9fb40bc99e3cd2404a182afea00e4e (diff) |
system/ossec-local: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/ossec-local/ossec-local.SlackBuild')
-rw-r--r-- | system/ossec-local/ossec-local.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/ossec-local/ossec-local.SlackBuild b/system/ossec-local/ossec-local.SlackBuild index cd43e829650ee..6648e94222ee7 100644 --- a/system/ossec-local/ossec-local.SlackBuild +++ b/system/ossec-local/ossec-local.SlackBuild @@ -116,6 +116,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/gcc-fno-common-3.6.0.patch + # Makefile fixes sed -e 's|\(./init/adduser.sh.*\)|#\1|' \ -e 's|\(DEFINES+=-DDEFAULTDIR=\).*|\1\\"/var/ossec\\"|' \ |