aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-06-23 19:15:40 +0800
committerkwm <kwm@FreeBSD.org>2005-06-23 19:15:40 +0800
commit19abdac253edfe4228e3928100201b6d38cd0c1f (patch)
tree0cfb09a06724d2f1f1ee1e24b945879af5d8d3ac /graphics
parentc3576409cc88b370572ee6cb9d8ef5d9e0c4d1c3 (diff)
downloadfreebsd-ports-gnome-19abdac253edfe4228e3928100201b6d38cd0c1f.tar.gz
freebsd-ports-gnome-19abdac253edfe4228e3928100201b6d38cd0c1f.tar.zst
freebsd-ports-gnome-19abdac253edfe4228e3928100201b6d38cd0c1f.zip
Fix the build on 4.x by disabling some code that gcc 2.95 doesn't like.
PR: 82434 Submitted by: lofi
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libvisual/files/patch-configure14
-rw-r--r--graphics/libvisual04/files/patch-configure14
2 files changed, 28 insertions, 0 deletions
diff --git a/graphics/libvisual/files/patch-configure b/graphics/libvisual/files/patch-configure
new file mode 100644
index 000000000000..d8f1678d1cd4
--- /dev/null
+++ b/graphics/libvisual/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
+
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
+