Package: gimp
Severity: important
Tags: patch

Hi,

gimp currently fails to build on GNU/kFreeBSD. It is because of the use
of DEB_BUILD_ARCH instead of DEB_BUILD_ARCH_CPU to detect the x86 CPUs.

Please find attached a path to fix that. It would be nice if it could be
included in the next upload.

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-16
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u gimp-2.2.8/debian/rules gimp-2.2.8/debian/rules
--- gimp-2.2.8/debian/rules
+++ gimp-2.2.8/debian/rules
@@ -32,7 +32,7 @@
 
 # This was added in 2.2.8-3, and can be removed whenever configure gets fixed
 # to add these flags automatically
-ifeq ("$(shell dpkg-architecture -qDEB_BUILD_ARCH)","i386")
+ifeq ("$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)","i386")
 	CFLAGS += -mmmx -msse
 endif
 

Reply via email to