Package: nginx
Version: 0.8.54-4
Severity: important
Tags: patch

nginx tries to detect sparc 32-bit and forces it to compile with -m32.
The test is broken, and thus also detect sparc64, which obviously
doesn't need -m32.

The patch below fixes the issue. Can you please apply it in the next
upload? Thnanks in advance.


diff -Nru nginx-0.8.54/debian/rules nginx-0.8.54/debian/rules
--- nginx-0.8.54/debian/rules   2011-03-03 17:27:28.000000000 +0100
+++ nginx-0.8.54/debian/rules   2011-03-10 21:23:18.000000000 +0100
@@ -11,7 +11,7 @@
 BASEDIR = $(CURDIR)
 
 DEB_BUILD_ARCH ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-ifneq (,$(findstring sparc,$(DEB_BUILD_ARCH)))
+ifeq ($(DEB_BUILD_ARCH),sparc)
        CONFIGURE_OPTS = --with-cc-opt="-m32 -mcpu=ultrasparc"
 endif

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: sparc64

Kernel: Linux 2.6.32-bpo.5-sparc64-smp (SMP w/32 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

Reply via email to