From bc7bfb103acda936bd145f2d90e292a5fe0460d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 13 Oct 2015 07:21:57 +0200 Subject: Rename & reorder patches --- debian/patches/multiarch_dll_search_path.patch | 42 -------------------------- 1 file changed, 42 deletions(-) delete mode 100644 debian/patches/multiarch_dll_search_path.patch (limited to 'debian/patches/multiarch_dll_search_path.patch') diff --git a/debian/patches/multiarch_dll_search_path.patch b/debian/patches/multiarch_dll_search_path.patch deleted file mode 100644 index 703a408..0000000 --- a/debian/patches/multiarch_dll_search_path.patch +++ /dev/null @@ -1,42 +0,0 @@ -Description: Keep /usr/lib/sane as a fallback for SANE backends - Make /usr/lib/arch_triplet/sane the default location for SANE backends, - but keep /usr/lib/sane as a fallback for now. -Author: Julien BLACHE - ---- a/backend/dll.c -+++ b/backend/dll.c -@@ -430,7 +430,7 @@ - - if (path) - { -- src_len = strlen (path) + strlen (STRINGIFY (LIBDIR)) + 1 + 1; -+ src_len = strlen (path) + strlen (DEB_DLL_LIBDIR) + 1 + 1; - src = malloc (src_len); - if (!src) - { -@@ -438,12 +438,11 @@ - return SANE_STATUS_NO_MEM; - } - orig_src = src; -- snprintf (src, src_len, "%s:%s", path, STRINGIFY (LIBDIR)); -+ snprintf (src, src_len, "%s:%s", path, DEB_DLL_LIBDIR); - } - else - { -- src = STRINGIFY (LIBDIR); -- src = strdup (src); -+ src = strdup (DEB_DLL_LIBDIR); - if (!src) - { - DBG (1, "load: strdup failed: %s\n", strerror (errno)); ---- a/backend/Makefile.in -+++ b/backend/Makefile.in -@@ -1868,7 +1868,7 @@ - top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ --AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -DLIBDIR="$(libdir)/sane" -+AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -DLIBDIR="$(libdir)/sane" -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane\"" - AM_LDFLAGS = @STRICT_LDFLAGS@ - # The -rpath option is added because we are creating _LTLIBRARIES based - # on configure substitution. This causes automake to not know the -- cgit v1.2.3