From 56fb7fc262bbdf15a1bc5b3638684012934431b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 27 Sep 2015 10:01:38 +0200 Subject: Refresh / remove applied patches --- debian/patches/multiarch_dll_search_path.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (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 index 7c24d21..b20995e 100644 --- a/debian/patches/multiarch_dll_search_path.patch +++ b/debian/patches/multiarch_dll_search_path.patch @@ -11,7 +11,7 @@ Index: experimental/backend/dll.c if (path) { -- src_len = strlen (path) + strlen (STRINGIFY (LIBDIR)) + 1 + 1; +- src_len = strlen (path) + strlen (LIBDIR) + 1 + 1; + src_len = strlen (path) + strlen (DEB_DLL_LIBDIR) + 1 + 1; src = malloc (src_len); if (!src) @@ -20,12 +20,12 @@ Index: experimental/backend/dll.c return SANE_STATUS_NO_MEM; } orig_src = src; -- snprintf (src, src_len, "%s:%s", path, STRINGIFY (LIBDIR)); +- snprintf (src, src_len, "%s:%s", path, LIBDIR); + snprintf (src, src_len, "%s:%s", path, DEB_DLL_LIBDIR); } else { -- src = STRINGIFY (LIBDIR); +- src = LIBDIR; - src = strdup (src); + src = strdup (DEB_DLL_LIBDIR); if (!src) @@ -35,11 +35,11 @@ Index: experimental/backend/Makefile.in =================================================================== --- experimental.orig/backend/Makefile.in +++ experimental/backend/Makefile.in -@@ -1887,7 +1887,7 @@ target_alias = @target_alias@ +@@ -1911,7 +1911,7 @@ target_alias = @target_alias@ 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\"" +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 -- cgit v1.2.3