Hi,

I've uploaded an nmu fixing this issue.  Please see attached patch.

Best wishes,
Mike
diff -Nru derivations-0.53.20120414/debian/changelog derivations-0.53.20120414/debian/changelog
--- derivations-0.53.20120414/debian/changelog	2012-06-15 15:52:52.000000000 +0000
+++ derivations-0.53.20120414/debian/changelog	2014-01-26 22:05:09.000000000 +0000
@@ -1,3 +1,11 @@
+derivations (0.53.20120414-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Automatically support poppler api changes (closes: #690161).
+    - Thanks to Pino Toscano.
+
+ -- Michael Gilbert <mgilb...@debian.org>  Sun, 26 Jan 2014 21:58:55 +0000
+
 derivations (0.53.20120414-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru derivations-0.53.20120414/debian/control derivations-0.53.20120414/debian/control
--- derivations-0.53.20120414/debian/control	2012-06-15 15:51:49.000000000 +0000
+++ derivations-0.53.20120414/debian/control	2014-01-26 21:58:26.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Thaddeus H. Black <t...@debian.org>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: texlive-latex-base, texlive-pstricks, lmodern (>= 1.00), rubber (>= 1.1), ghostscript (>= 8.62), libpoppler-private-dev (>= 0.8.7)
+Build-Depends-Indep: texlive-latex-base, texlive-pstricks, lmodern (>= 1.00), rubber (>= 1.1), ghostscript (>= 8.62), libpoppler-private-dev (>= 0.8.7), pkg-config
 Standards-Version: 3.8.4
 
 Package: derivations
diff -Nru derivations-0.53.20120414/debian/patches/cxxflags derivations-0.53.20120414/debian/patches/cxxflags
--- derivations-0.53.20120414/debian/patches/cxxflags	1970-01-01 00:00:00.000000000 +0000
+++ derivations-0.53.20120414/debian/patches/cxxflags	2014-01-26 22:03:38.000000000 +0000
@@ -0,0 +1,34 @@
+author: Pino Toscano <p...@debian.org>
+description: automatically support poppler api changes
+
+--- a/btool/Makefile	2014-01-26 21:56:15.859514804 +0000
++++ b/btool/Makefile	2014-01-26 21:56:15.859514804 +0000
+@@ -33,7 +33,7 @@
+ allobj: $(allobj)
+ $(foreach dir, $(srcdir), $(dir)/%): FORCE; $(MAKE) -C $(@D) $(@F)
+ %.d: %.cc; g++ -MM $< | sed -e 's/:/ $*.d:/' >$@
+-%.o: %.cc; g++ $(warn) $(optim) -c $< -o $*.o
++%.o: %.cc; g++ $(warn) $(optim) $(CXXFLAGS) -c $< -o $*.o
+ 
+ complete-pdf: complete-pdf.o $(allobj)
+ 	g++ $(warn) $(optim) $^ -lpoppler -o $@
+--- a/btool/Makefile-subdir	2014-01-26 21:56:15.859514804 +0000
++++ b/btool/Makefile-subdir	2014-01-26 21:57:25.843514632 +0000
+@@ -2,6 +2,8 @@
+ # This makefile is meant to be used only when accessed
+ # through a symbolic link from an immediate subdirectory.
+ 
++CXXFLAGS += $(shell pkg-config --cflags poppler)
++
+ warn := -Wall -Wextra
+ 
+ include ../Makefile-optim
+@@ -15,7 +17,7 @@
+   include $(alld)
+ endif
+ %.d: %.cc; g++ -MM $< | sed -e 's/:/ $*.d:/' >$@
+-%.o:; g++ $(warn) $(optim) -c $< -o $*.o
++%.o:; g++ $(warn) $(optim) $(CXXFLAGS) -c $< -o $*.o
+ 
+ cleanless:
+ 	rm -fv *.d *.o *.gch a.out
diff -Nru derivations-0.53.20120414/debian/patches/series derivations-0.53.20120414/debian/patches/series
--- derivations-0.53.20120414/debian/patches/series	2012-02-18 11:03:29.000000000 +0000
+++ derivations-0.53.20120414/debian/patches/series	2014-01-26 21:56:14.000000000 +0000
@@ -1,3 +1,4 @@
 build_fixes
 upstream_helper
 poppler_api_change
+cxxflags

Reply via email to