diff -Nru ghostscript-9.05~dfsg~20120202/debian/changelog ghostscript-9.05~dfsg~20120202/debian/changelog --- ghostscript-9.05~dfsg~20120202/debian/changelog 2012-02-02 21:17:14.000000000 +0000 +++ ghostscript-9.05~dfsg~20120202/debian/changelog 2012-02-03 12:54:30.000000000 +0000 @@ -1,3 +1,11 @@ +ghostscript (9.05~dfsg~20120202-0ubuntu2) precise; urgency=low + + * debian/rules: Force '-DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.05\"' + into the gcc command lines via CFLAGS, so that X11 display device support + works (LP: #925950). + + -- Till Kamppeter Fri, 03 Feb 2012 13:54:15 +0100 + ghostscript (9.05~dfsg~20120202-0ubuntu1) precise; urgency=low * New upstream release diff -Nru ghostscript-9.05~dfsg~20120202/debian/rules ghostscript-9.05~dfsg~20120202/debian/rules --- ghostscript-9.05~dfsg~20120202/debian/rules 2012-01-25 22:51:16.000000000 +0000 +++ ghostscript-9.05~dfsg~20120202/debian/rules 2012-02-03 12:58:35.000000000 +0000 @@ -74,7 +74,8 @@ gs_opts = SHARE_JPEG=1 SHARE_LIBPNG=1 SHARE_LIBTIFF=1 SHARE_ZLIB=1 SHARE_JBIG2=1 SHARE_JPX=1 SHARE_IJS=1 SHARE_EXPAT=1 # FIXME: build without PIC for -dev package -CFLAGS += -fPIC +# Force in '-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.05\"' +CFLAGS += -fPIC -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"/usr/lib/ghostscript/9.05\\\" DEB_CONFIGURE_EXTRA_FLAGS = \ --with-ijs --with-jbig2dec --with-jasper --with-system-libtiff \