summaryrefslogtreecommitdiff
path: root/debian/patches/frontend_libs.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
commit0cdca259ca073f77b9ae831feb367b6d120e83cf (patch)
tree50862cd94a3ee737ed614fd793821ba29c969ee7 /debian/patches/frontend_libs.patch
parent82a152928f820a6aeb02ef8cd9ebfa7d3bcaae48 (diff)
some work for version 1.0.24-2
Diffstat (limited to 'debian/patches/frontend_libs.patch')
-rw-r--r--debian/patches/frontend_libs.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/frontend_libs.patch b/debian/patches/frontend_libs.patch
new file mode 100644
index 0000000..8c9c123
--- /dev/null
+++ b/debian/patches/frontend_libs.patch
@@ -0,0 +1,31 @@
+From: Markus Koschany <apo@gambaru.de>
+Date: Sun, 30 Jun 2013 15:20:24 +0200
+Subject: frontend_libs
+
+Only link frontends against the libraries they need
+Reduce the dependencies on frontends by linking in only the required
+libraries.
+---
+ frontend/Makefile.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/frontend/Makefile.in
++++ b/frontend/Makefile.in
+@@ -238,7 +238,7 @@
+ LD = @LD@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS =
+ LIBTOOL = @LIBTOOL@
+ LIBUSB_1_0_CFLAGS = @LIBUSB_1_0_CFLAGS@
+ LIBUSB_1_0_LIBS = @LIBUSB_1_0_LIBS@
+@@ -361,7 +361,7 @@
+
+ saned_SOURCES = saned.c
+ saned_LDADD = ../backend/libsane.la ../sanei/libsanei.la ../lib/liblib.la \
+- ../lib/libfelib.la @SYSLOG_LIBS@ @SYSTEMD_LIBS@
++ ../lib/libfelib.la @SYSLOG_LIBS@ @SYSTEMD_LIBS@ @AVAHI_LIBS@
+
+ test_SOURCES = test.c
+ test_LDADD = ../lib/liblib.la ../lib/libfelib.la ../backend/libsane.la