aboutsummaryrefslogtreecommitdiff
path: root/security/steghide
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-09-24 16:11:02 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-09-24 16:11:02 +0000
commit0fd21e2b29a5d6105e6aebc126d573b6858e8d8d (patch)
treefdd597ad768848a27dae4fe4e89a37c8bd8e4869 /security/steghide
parent7fe6f5dd3cdc529ea09fa67aa37c248c4e5565d0 (diff)
downloadports-0fd21e2b29a5d6105e6aebc126d573b6858e8d8d.tar.gz
ports-0fd21e2b29a5d6105e6aebc126d573b6858e8d8d.zip
Fix build with gcc 3.4.6
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=173718
Diffstat (limited to 'security/steghide')
-rw-r--r--security/steghide/Makefile2
-rw-r--r--security/steghide/files/patch-src-MHashKeyGen.h10
-rw-r--r--security/steghide/files/patch-src-MHashPP.cc10
-rw-r--r--security/steghide/files/patch-src-MHashPP.h10
4 files changed, 31 insertions, 1 deletions
diff --git a/security/steghide/Makefile b/security/steghide/Makefile
index d1bdfafb4dca..52657fa27761 100644
--- a/security/steghide/Makefile
+++ b/security/steghide/Makefile
@@ -26,7 +26,7 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET=
CONFIGURE_ARGS= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
-CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fpermissive" \
LIBS="-L${LOCALBASE}/lib -lintl -lmcrypt"
MAN1= steghide.1
diff --git a/security/steghide/files/patch-src-MHashKeyGen.h b/security/steghide/files/patch-src-MHashKeyGen.h
new file mode 100644
index 000000000000..a8bbb0e4a619
--- /dev/null
+++ b/security/steghide/files/patch-src-MHashKeyGen.h
@@ -0,0 +1,10 @@
+--- src/MHashKeyGen.h.orig Sun Sep 24 17:40:24 2006
++++ src/MHashKeyGen.h Sun Sep 24 17:40:44 2006
+@@ -23,6 +23,7 @@
+
+ #include <vector>
+
++#define _Bool bool
+ #include <mhash.h>
+
+ class MHashKeyGen {
diff --git a/security/steghide/files/patch-src-MHashPP.cc b/security/steghide/files/patch-src-MHashPP.cc
new file mode 100644
index 000000000000..fa0584c8683d
--- /dev/null
+++ b/security/steghide/files/patch-src-MHashPP.cc
@@ -0,0 +1,10 @@
+--- src/MHashPP.cc.orig Sun Sep 24 17:48:31 2006
++++ src/MHashPP.cc Sun Sep 24 17:56:27 2006
+@@ -21,6 +21,7 @@
+ #include <cstdlib>
+ #include <string>
+
++#define _Bool bool
+ #include <mhash.h>
+
+ #include "BitString.h"
diff --git a/security/steghide/files/patch-src-MHashPP.h b/security/steghide/files/patch-src-MHashPP.h
new file mode 100644
index 000000000000..dc17ac78897a
--- /dev/null
+++ b/security/steghide/files/patch-src-MHashPP.h
@@ -0,0 +1,10 @@
+--- src/MHashPP..orig Sun Sep 24 17:45:55 2006
++++ src/MHashPP.h Sun Sep 24 17:46:10 2006
+@@ -21,6 +21,7 @@
+ #ifndef SH_MHASHPP_H
+ #define SH_MHASHPP_H
+
++#define _Bool bool
+ #include <mhash.h>
+
+ #include "common.h"