aboutsummaryrefslogtreecommitdiffstats
path: root/security/samhain
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-05-22 19:33:27 +0800
committergarga <garga@FreeBSD.org>2006-05-22 19:33:27 +0800
commit8af2f43937af41aaebcd1cd5afa26aa33611732f (patch)
tree6323a27765e2989288571540c82ef372ecf060cb /security/samhain
parent869e4b34fdc06e12bdd984565d7c6d58f38ae99a (diff)
downloadfreebsd-ports-gnome-8af2f43937af41aaebcd1cd5afa26aa33611732f.tar.gz
freebsd-ports-gnome-8af2f43937af41aaebcd1cd5afa26aa33611732f.tar.zst
freebsd-ports-gnome-8af2f43937af41aaebcd1cd5afa26aa33611732f.zip
Fix build on 4.x
Reported by: krismail
Diffstat (limited to 'security/samhain')
-rw-r--r--security/samhain/files/patch-src__sh_extern.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/samhain/files/patch-src__sh_extern.c b/security/samhain/files/patch-src__sh_extern.c
new file mode 100644
index 000000000000..c3753ebef477
--- /dev/null
+++ b/security/samhain/files/patch-src__sh_extern.c
@@ -0,0 +1,16 @@
+--- src/sh_extern.c.orig Fri Apr 7 20:07:53 2006
++++ src/sh_extern.c Mon May 22 08:18:29 2006
+@@ -1067,9 +1067,11 @@
+ */
+ int sh_ext_add_default (const char * dummy)
+ {
+- (void) dummy;
+- char * p = NULL;
++ char * p;
+ int i;
++ (void) dummy;
++
++ p = NULL;
+
+ SL_ENTER(_("sh_ext_add_default"));
+ if (dummy[0] == 'n' || dummy[0] == 'N' ||