pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libvisual Removed the GCC_REQD line from the Mak...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/147dc67ffb40
branches:  trunk
changeset: 492798:147dc67ffb40
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Apr 19 15:38:21 2005 +0000

description:
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:

 audio/libvisual/Makefile         |   5 +----
 audio/libvisual/distinfo         |   3 ++-
 audio/libvisual/patches/patch-ab |  19 +++++++++++++++++++
 3 files changed, 22 insertions(+), 5 deletions(-)

diffs (53 lines):

diff -r 565965c012f5 -r 147dc67ffb40 audio/libvisual/Makefile
--- a/audio/libvisual/Makefile  Tue Apr 19 15:37:52 2005 +0000
+++ b/audio/libvisual/Makefile  Tue Apr 19 15:38:21 2005 +0000
@@ -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 @@
 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 -r 565965c012f5 -r 147dc67ffb40 audio/libvisual/distinfo
--- a/audio/libvisual/distinfo  Tue Apr 19 15:37:52 2005 +0000
+++ b/audio/libvisual/distinfo  Tue Apr 19 15:38:21 2005 +0000
@@ -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 -r 565965c012f5 -r 147dc67ffb40 audio/libvisual/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual/patches/patch-ab  Tue Apr 19 15:38:21 2005 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index