diff options
author | Brenton Earl <brent@exitstatusone.com> | 2021-03-29 21:06:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:50:41 -0500 |
commit | 86ff61d05b9fb40bc99e3cd2404a182afea00e4e (patch) | |
tree | 9502576f789cd196174fab9d55d81b661ce028de /system/ossec-agent/ossec-agent.SlackBuild | |
parent | 434f1f00dad150a1963b61c872ca5da7d33f322b (diff) |
system/ossec-agent: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/ossec-agent/ossec-agent.SlackBuild')
-rw-r--r-- | system/ossec-agent/ossec-agent.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/ossec-agent/ossec-agent.SlackBuild b/system/ossec-agent/ossec-agent.SlackBuild index 6d5963a33e6ea..c58dc53e933e3 100644 --- a/system/ossec-agent/ossec-agent.SlackBuild +++ b/system/ossec-agent/ossec-agent.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\\"|' \ |