aboutsummaryrefslogtreecommitdiff
path: root/system/ossec-server/ossec-server.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ossec-server/ossec-server.SlackBuild')
-rw-r--r--system/ossec-server/ossec-server.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/ossec-server/ossec-server.SlackBuild b/system/ossec-server/ossec-server.SlackBuild
index 31c9994ab8e1..fc9cfa44c625 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\\"|' \