diff options
author | Brenton Earl <brent@exitstatusone.com> | 2021-03-29 21:08:48 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:50:42 -0500 |
commit | e47799acb55ad5df1b1ed3f68e68df3a8ee592ab (patch) | |
tree | 097cf9f8720904f712e58160342aac87663e5488 /system/ossec-server/ossec-server.SlackBuild | |
parent | bfea21cde7cf3c8a67c0b7d20fee567d6674552c (diff) |
system/ossec-server: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/ossec-server/ossec-server.SlackBuild')
-rw-r--r-- | system/ossec-server/ossec-server.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/ossec-server/ossec-server.SlackBuild b/system/ossec-server/ossec-server.SlackBuild index 31c9994ab8e17..fc9cfa44c625a 100644 --- a/system/ossec-server/ossec-server.SlackBuild +++ b/system/ossec-server/ossec-server.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\\"|' \ |