summaryrefslogtreecommitdiff
path: root/debian/patches/trim-libraries-in-sane-backends.pc.in.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /debian/patches/trim-libraries-in-sane-backends.pc.in.patch
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'debian/patches/trim-libraries-in-sane-backends.pc.in.patch')
-rw-r--r--debian/patches/trim-libraries-in-sane-backends.pc.in.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/trim-libraries-in-sane-backends.pc.in.patch b/debian/patches/trim-libraries-in-sane-backends.pc.in.patch
new file mode 100644
index 0000000..7452b33
--- /dev/null
+++ b/debian/patches/trim-libraries-in-sane-backends.pc.in.patch
@@ -0,0 +1,24 @@
+From: Markus Koschany <apo@gambaru.de>
+Date: Sun, 30 Jun 2013 19:13:54 +0200
+Subject: trim libraries in sane-backends.pc.in
+
+Update the original sane-config_and_pkg-config_fixes.patch from Julien BLACHE.
+Patching RPATH related flags is no longer necessary. Still trim the libraries
+in sane-backends.pc.in to the bare minimum for what is needed for libsane.
+---
+ tools/sane-backends.pc.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/tools/sane-backends.pc.in
++++ b/tools/sane-backends.pc.in
+@@ -2,8 +2,8 @@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+-ldflags=@LDFLAGS@ @GPHOTO2_LDFLAGS@
+-libs=@LIBS@ @DL_LIBS@ @LIBV4L_LIBS@ @MATH_LIB@ @TIFF_LIBS@ @JPEG_LIBS@ @GPHOTO2_LIBS@ @SOCKET_LIBS@ @AVAHI_LIBS@ @USB_LIBS@ @SCSI_LIBS@ @RESMGR_LIBS@
++ldflags=@LDFLAGS@
++libs=@LIBS@
+
+ Name: SANE Backends
+ Description: Backends for SANE, the universal scanner interface