Package: netw-ib-ox-ag
Version: 5.36.0-1.2
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: sparc64

netw-ib-ox-ag fails to build from source on s390x and sparc64 as it uses
-fpic instead of -fPIC, and this makes a difference on those
architectures. The small patch below fixes the issue, would it be
possible to include it in the next upload? Thanks in advance.

--- netw-ib-ox-ag-5.36.0.orig/src/netwib-src/src/genemake
+++ netw-ib-ox-ag-5.36.0/src/netwib-src/src/genemake
@@ -193,7 +193,7 @@
     gccOptSo="-shared -Xlinker \"-hlibnetwib$netwv.so\""
     ;;
  "Linux" )
-    gccOptPic="-fpic"
+    gccOptPic="-fPIC"
     gccOptSo="-shared -Xlinker \"-hlibnetwib$netwv.so\""
     ;;
  "MacOS" )


-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: s390x

Kernel: Linux 3.0.0-1-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to