diff -Nru xastir-2.0.0/debian/changelog xastir-2.0.0/debian/changelog --- xastir-2.0.0/debian/changelog 2013-09-14 16:45:38.000000000 +0000 +++ xastir-2.0.0/debian/changelog 2014-03-27 19:25:38.000000000 +0000 @@ -1,3 +1,10 @@ +xastir (2.0.0-2.1+rpi1) jessie-staging; urgency=medium + + * Use cflags from GraphicsMagick-config to avoid link errors + related to pie. + + -- Peter Michael Green Thu, 27 Mar 2014 19:25:19 +0000 + xastir (2.0.0-2.1) unstable; urgency=low * Non-maintainer upload. diff -Nru xastir-2.0.0/debian/rules xastir-2.0.0/debian/rules --- xastir-2.0.0/debian/rules 2011-04-26 19:43:37.000000000 +0000 +++ xastir-2.0.0/debian/rules 2014-03-27 19:24:50.000000000 +0000 @@ -6,7 +6,7 @@ touch Makefile.in */Makefile.in */*/Makefile.in touch config.h.in touch configure - CFLAGS=-I/usr/include/geotiff ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man + CFLAGS="-I/usr/include/geotiff $(shell GraphicsMagick-config --cflags)" ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man $(MAKE) touch build