summaryrefslogtreecommitdiff
path: root/debian/patches/0125-multiarch_dll_search_path.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 22:52:37 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 22:52:37 +0100
commit3e527f54331db2896ca1a60247a96830f6ca79e1 (patch)
tree04d2c055bb4f32185cdafe5550198e0f1f95bc27 /debian/patches/0125-multiarch_dll_search_path.patch
parentab0254d049c7f870a0cf4971a310166271181e87 (diff)
Remove unused files and patches
Diffstat (limited to 'debian/patches/0125-multiarch_dll_search_path.patch')
-rw-r--r--debian/patches/0125-multiarch_dll_search_path.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/debian/patches/0125-multiarch_dll_search_path.patch b/debian/patches/0125-multiarch_dll_search_path.patch
deleted file mode 100644
index de28245..0000000
--- a/debian/patches/0125-multiarch_dll_search_path.patch
+++ /dev/null
@@ -1,59 +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 <jblache@debian.org>
-
-Index: trunk/backend/dll.c
-===================================================================
---- trunk.orig/backend/dll.c
-+++ trunk/backend/dll.c
-@@ -450,7 +450,7 @@ load (struct backend *be)
-
- if (path)
- {
-- src_len = strlen (path) + strlen (DIR_SEP) + strlen(LIBDIR) + 1;
-+ src_len = strlen (path) + strlen (DIR_SEP) + strlen(DEB_DLL_LIBDIR) + 1;
- src = malloc (src_len);
- if (!src)
- {
-@@ -460,11 +460,11 @@ load (struct backend *be)
- if (orig_src)
- free (orig_src);
- orig_src = src;
-- snprintf (src, src_len, "%s%s%s", path, DIR_SEP, LIBDIR);
-+ snprintf (src, src_len, "%s%s%s", path, DIR_SEP, DEB_DLL_LIBDIR);
- }
- else
- {
-- src = LIBDIR;
-+ src = DEB_DLL_LIBDIR;
- src = strdup (src);
- if (!src)
- {
-Index: trunk/backend/Makefile.in
-===================================================================
---- trunk.orig/backend/Makefile.in
-+++ trunk/backend/Makefile.in
-@@ -1753,7 +1753,8 @@ AMTAR = @AMTAR@
- AM_CFLAGS = @AM_CFLAGS@
- AM_CPPFLAGS = @AM_CPPFLAGS@ -I. -I$(srcdir) -I$(top_builddir)/include \
- -I$(top_srcdir)/include $(USB_CFLAGS) \
-- -DLIBDIR="\"$(libdir)/sane\""
-+ -DLIBDIR="\"$(libdir)/sane\"" \
-+ -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane\""
- AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- AM_LDFLAGS = @AM_LDFLAGS@ $(STRICT_LDFLAGS)
- AR = @AR@
-Index: trunk/backend/Makefile.am
-===================================================================
---- trunk.orig/backend/Makefile.am
-+++ trunk/backend/Makefile.am
-@@ -4,7 +4,7 @@
- ## This file is part of the "Sane" build infra-structure. See
- ## included LICENSE file for license information.
-
--AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\""
-+AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -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