[Python-modules-team] Bug#821789: ufraw: diff for NMU version 0.20-4.1

Tobias Frost tobi at debian.org
Fri May 6 12:22:09 UTC 2016


Control: tags 821789 + patch

Dear maintainer,

I've prepared an NMU for ufraw (versioned as 0.20-4.1). The diff
is attached to this message.

Regards.
diff -u ufraw-0.20/debian/changelog ufraw-0.20/debian/changelog
--- ufraw-0.20/debian/changelog
+++ ufraw-0.20/debian/changelog
@@ -1,3 +1,13 @@
+ufraw (0.20-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on kfreebsd-amd64 -- the compiler -ffast-math
+   and -fomit-frame-pointer are causing this. (Closes: #821789)
+  * Making build verbose (Closes: #822752). Maybe this gives a hint
+    why it fails to build on alpha.
+
+ -- Tobias Frost <tobi at debian.org>  Fri, 06 May 2016 14:21:18 +0200
+
 ufraw (0.20-4) unstable; urgency=high
 
   * dcraw.cc: Apply fix from
diff -u ufraw-0.20/debian/rules ufraw-0.20/debian/rules
--- ufraw-0.20/debian/rules
+++ ufraw-0.20/debian/rules
@@ -9,12 +9,17 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
-	CFLAGS += -O3 -ffast-math -fomit-frame-pointer
+	ifeq (,$(findstring kfreebsd-amd64,$(DEB_BUILD_ARCH)))
+		CFLAGS += -ffast-math -fomit-frame-pointer
+	endif
+	CFLAGS += -O3
 endif
 
 clean:
@@ -66,7 +71,7 @@
 build-stamp: config
 	dh_testdir
 
-	$(MAKE)
+	$(MAKE) V=1
 
 	touch build-stamp
 



More information about the Python-modules-team mailing list