Package: mesa
Severity: normal
Tags: patch

Hi,

Mesa FTBFS on hurd-i386 because mklib doesn't know about GNU. Please
apply attached patch.

Regards,
Samuel


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

-- 
Samuel Thibault <[EMAIL PROTECTED]>
Be warned that typing \fBkillall \fIname\fP may not have the desired
effect on non-Linux systems, especially when done by a privileged user.
(From the killall manual page)
--- bin/mklib.orig      2006-03-21 01:17:08.000000000 +0100
+++ bin/mklib   2006-03-21 01:18:37.000000000 +0100
@@ -175,7 +175,7 @@
 #
 case $ARCH in
 
-    'Linux' | 'OpenBSD')
+    'Linux' | 'OpenBSD' | 'GNU')
        # we assume gcc
 
        if [ "x$LINK" = "x" ] ; then
@@ -218,7 +218,7 @@
             FINAL_LIBS=${LIBNAME}.a
         else
            LIBNAME="lib${LIBNAME}"     # prefix with "lib"
-           if [ $ARCH = 'Linux' ] ; then
+           if [ $ARCH = 'Linux' -o $ARCH = 'GNU' ] ; then
                OPTS="-Xlinker -Bsymbolic -shared 
-Wl,-soname,${LIBNAME}.so.${MAJOR}"
            else
                OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"

Reply via email to