summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorrillig <rillig>2005-04-19 15:38:21 +0000
committerrillig <rillig>2005-04-19 15:38:21 +0000
commit1be29b4a66a487e7bfa241c71ab315a3d5e4b7f0 (patch)
treeb0dfa3d79462bc961279950b5226856f1cbd0b87 /audio/libvisual
parentf5ad318b11ab9459a6f4e2f1cea8808f4ad0435d (diff)
downloadpkgsrc-1be29b4a66a487e7bfa241c71ab315a3d5e4b7f0.tar.gz
Removed the GCC_REQD line from the Makefile. Instead, patch-ab is used to
disable the i386 MMX statements for gcc-2.95. Approved by kristerw.
Diffstat (limited to 'audio/libvisual')
-rw-r--r--audio/libvisual/Makefile5
-rw-r--r--audio/libvisual/distinfo3
-rw-r--r--audio/libvisual/patches/patch-ab19
3 files changed, 22 insertions, 5 deletions
diff --git a/audio/libvisual/Makefile b/audio/libvisual/Makefile
index 78f22cf8ec1..f0718bd82cf 100644
--- a/audio/libvisual/Makefile
+++ b/audio/libvisual/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:44:54 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/04/19 15:38:21 rillig Exp $
#
DISTNAME= libvisual-0.2.0
@@ -14,8 +14,5 @@ USE_X11= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
GNU_CONFIGURE= yes
-# works with gcc-3.3, so this might have to be increased to 3.3
-GCC_REQD+= 3.0
-
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo
index 71cfb45b603..5b3ab1a3ef6 100644
--- a/audio/libvisual/distinfo
+++ b/audio/libvisual/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 20:39:48 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/04/19 15:38:21 rillig Exp $
SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1
RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d
Size (libvisual-0.2.0.tar.gz) = 431141 bytes
SHA1 (patch-aa) = eb0423c24a7900b0fd92f35a27ce4eeff307a750
+SHA1 (patch-ab) = cdb5e59ddb38e6bd144f643ef1b1b6dc524fd4fb
diff --git a/audio/libvisual/patches/patch-ab b/audio/libvisual/patches/patch-ab
new file mode 100644
index 00000000000..ef2eb3730e6
--- /dev/null
+++ b/audio/libvisual/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.4 2005/04/19 15:38:21 rillig Exp $
+
+gcc-2.95 does not know the i386 MMX registers used in the assembler
+statements, do disable them.
+
+--- configure.orig Sun Jan 9 23:17:45 2005
++++ configure Tue Apr 19 17:04:54 2005
+@@ -25450,7 +25450,11 @@ _______EOF
+ 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
+