Fix the build on 4.x by disabling some code that gcc 2.95 doesn't like.
PR: 82434 Submitted by: lofi
This commit is contained in:
parent
9b040e5e92
commit
9ec05919c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137921
2 changed files with 28 additions and 0 deletions
14
graphics/libvisual/files/patch-configure
Normal file
14
graphics/libvisual/files/patch-configure
Normal file
|
@ -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
|
||||
|
14
graphics/libvisual04/files/patch-configure
Normal file
14
graphics/libvisual04/files/patch-configure
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue