Subject: pkg/22294: Fix audio/SDL_mixer for the GCC 3.3 case
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 07/29/2003 11:38:28
>Number: 22294
>Category: pkg
>Synopsis: Fix audio/SDL_mixer for the GCC 3.3 case
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 29 11:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Perkin
>Release: N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS build0 5.8 Generic_108528-15 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>Description:
SDL_mixer's configure script is broken for gcc 3.3 as it uses
multi-line string literals.
[...]
checking for smpeg-config... /home/jonp/pkg/bin/smpeg-config
checking for SMPEG - version >= 0.4.3... no
*** Could not run SMPEG test program, checking why...
[config.log]
configure:2461:14: missing terminating " character
configure: In function `main':
configure:2462: error: parse error before "minimum"
configure:2462: error: stray '\' in program
configure:2462:18: missing terminating " character
configure:2464:14: missing terminating " character
configure:2465: error: parse error before "correct"
configure:2465: error: stray '\' in program
[etc]
>How-To-Repeat:
>Fix:
http://www.perkin.org.uk/projects/netbsd/SDL_mixer.patch
--- /dev/null 2003-07-28 17:06:51.000000000 +0100
+++ patches/patch-ab 2003-07-29 12:19:45.058587000 +0100
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- configure.orig 2003-03-07 06:29:16.000000000 +0000
++++ configure 2003-07-29 12:14:17.192643000 +0100
+@@ -2458,16 +2458,11 @@
+ }
+ else
+ {
+- printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the
+-minimum version\n", $smpeg_major_version, $smpeg_minor_version,
+-$smpeg_micro_version);
+- printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is
+-correct, then it is\n", major, minor, micro);
++ printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the minimum version\n", $smpeg_major_version, $smpeg_minor_version, $smpeg_micro_version);
++ printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is correct, then it is\n", major, minor, micro);
+ printf("*** best to upgrade to the required version.\n");
+- printf("*** If smpeg-config was wrong, set the environment variable
+-SMPEG_CONFIG\n");
+- printf("*** to point to the correct copy of smpeg-config, and remove
+-the file\n");
++ printf("*** If smpeg-config was wrong, set the environment variable SMPEG_CONFIG\n");
++ printf("*** to point to the correct copy of smpeg-config, and remove the file\n");
+ printf("*** config.cache before re-running configure\n");
+ return 1;
+ }
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/SDL_mixer/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 2003/05/11 02:23:19 1.2
+++ distinfo 2003/07/29 11:37:20
@@ -3,3 +3,4 @@
SHA1 (SDL_mixer-1.2.5.tar.gz) = 48c7c7143f0a0a21e94e743ca0fafd7ae33f62dd
Size (SDL_mixer-1.2.5.tar.gz) = 936765 bytes
SHA1 (patch-aa) = c55dcaf2251370131d90d6834eb8244c08342d98
+SHA1 (patch-ab) = b14eacc9fcc377ace9475a25408cf59689ba4c29
>Release-Note:
>Audit-Trail:
>Unformatted: