diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-24 12:29:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-24 12:29:40 +0000 |
commit | 905d3ad9152fc67c927e4d322e1cc8117806c9df (patch) | |
tree | 8c87848b71674dcb029f6b60ca453d2e7f2a4719 /audio/libvisual | |
parent | b761854daf2ddd7e5754570f4cd81e05f69683a4 (diff) | |
download | pkgsrc-905d3ad9152fc67c927e4d322e1cc8117806c9df.tar.gz |
Test for a defined symbol correctly. Might fix macppc build.
Diffstat (limited to 'audio/libvisual')
-rw-r--r-- | audio/libvisual/distinfo | 4 | ||||
-rw-r--r-- | audio/libvisual/patches/patch-aa | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo index 5b3ab1a3ef6..d8a1f9777ba 100644 --- a/audio/libvisual/distinfo +++ b/audio/libvisual/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/04/19 15:38:21 rillig Exp $ +$NetBSD: distinfo,v 1.6 2005/05/24 12:29:40 wiz 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-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583 SHA1 (patch-ab) = cdb5e59ddb38e6bd144f643ef1b1b6dc524fd4fb diff --git a/audio/libvisual/patches/patch-aa b/audio/libvisual/patches/patch-aa index bffbf1c8740..2190cb5bab7 100644 --- a/audio/libvisual/patches/patch-aa +++ b/audio/libvisual/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2005/02/20 15:06:17 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2005/05/24 12:29:40 wiz Exp $ --- libvisual/lv_cpu.c.orig 2005-02-09 20:20:12.000000000 +0100 +++ libvisual/lv_cpu.c @@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.2 2005/02/20 15:06:17 wiz Exp $ _lv_cpu_caps.nrcpu = sysconf (_SC_NPROCESSORS_ONLN); if (_lv_cpu_caps.nrcpu == -1) _lv_cpu_caps.nrcpu = 1; +@@ -423,7 +423,7 @@ void visual_cpu_initialize () + #endif + #endif /* VISUAL_ARCH_X86 */ + +-#if VISUAL_ARCH_POWERPC ++#if defined(VISUAL_ARCH_POWERPC) + check_os_altivec_support (); + #endif /* VISUAL_ARCH_POWERPC */ + |