aboutsummaryrefslogtreecommitdiff
path: root/graphics/libvisual04
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2005-06-23 11:15:40 +0000
committerKoop Mast <kwm@FreeBSD.org>2005-06-23 11:15:40 +0000
commit9ec05919c12ae59cf9c59e817cb1aa647fe158c8 (patch)
tree98d1c38bd7ee5791428d49701cb34d473b107ef2 /graphics/libvisual04
parent9b040e5e92cb90a8e99f038d5dec756bfe4f3863 (diff)
downloadports-9ec05919c12ae59cf9c59e817cb1aa647fe158c8.tar.gz
ports-9ec05919c12ae59cf9c59e817cb1aa647fe158c8.zip
Fix the build on 4.x by disabling some code that gcc 2.95 doesn't like.
PR: 82434 Submitted by: lofi
Notes
Notes: svn path=/head/; revision=137921
Diffstat (limited to 'graphics/libvisual04')
-rw-r--r--graphics/libvisual04/files/patch-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/libvisual04/files/patch-configure b/graphics/libvisual04/files/patch-configure
new file mode 100644
index 000000000000..d8f1678d1cd4
--- /dev/null
+++ b/graphics/libvisual04/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig Thu Jun 23 13:09:46 2005
++++ configure Thu Jun 23 13:10:48 2005
+@@ -25450,7 +25450,11 @@
+ if test x$lv_ix86 = xyes ; then
+ cat >>$outfile <<_______EOF
+
++#if defined(__GNUC__) && __GNUC__ <= 2
++#define VISUAL_ARCH_UNKNOWN
++#else
+ #define VISUAL_ARCH_X86
++#endif
+ _______EOF
+ fi
+