summaryrefslogtreecommitdiff
path: root/debian/patches/0060-cross.patch~
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-28 13:11:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-28 13:11:37 +0200
commitf03fae67eab67a0f704fce47c7492264f391de62 (patch)
treea03b8b3d13f5f5006fa0ae2df45ea8e84293d24a /debian/patches/0060-cross.patch~
parentd07f65467bb1191b071975c35252405d0af63511 (diff)
Remove backup files
Diffstat (limited to 'debian/patches/0060-cross.patch~')
-rw-r--r--debian/patches/0060-cross.patch~45
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/patches/0060-cross.patch~ b/debian/patches/0060-cross.patch~
deleted file mode 100644
index e3a24f8..0000000
--- a/debian/patches/0060-cross.patch~
+++ /dev/null
@@ -1,45 +0,0 @@
---- sane-backends-1.0.27.orig/acinclude.m4
-+++ sane-backends-1.0.27/acinclude.m4
-@@ -439,15 +439,19 @@ AC_DEFUN([SANE_CHECK_GPHOTO2],
- # a program. And, if that works, then add the -l flags to
- # GPHOTO2_LIBS and any other flags to GPHOTO2_LDFLAGS to pass to
- # sane-config.
-- if test "$with_gphoto2" != "no" ; then
-- AC_CHECK_TOOL(HAVE_GPHOTO2, pkg-config, false)
-+ AS_IF([test "$with_gphoto2" != "no"],[
-+ AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-+ if test "x$PKG_CONFIG" = x; then
-+ HAVE_GPHOTO2=false
-+ else
-+ HAVE_GPHOTO2=$PKG_CONFIG
-+ fi
-
- if test ${HAVE_GPHOTO2} != "false" ; then
-- if pkg-config --exists libgphoto2 ; then
-- with_gphoto2="`pkg-config --modversion libgphoto2`"
-- GPHOTO2_CPPFLAGS="`pkg-config --cflags libgphoto2`"
-- GPHOTO2_LIBS="`pkg-config --libs libgphoto2`"
--
-+ if $PKG_CONFIG --exists libgphoto2 ; then
-+ with_gphoto2="`$PKG_CONFIG --modversion libgphoto2`"
-+ GPHOTO2_CPPFLAGS="`$PKG_CONFIG --cflags libgphoto2`"
-+ GPHOTO2_LIBS="`$PKG_CONFIG --libs libgphoto2`"
- saved_CPPFLAGS="${CPPFLAGS}"
- CPPFLAGS="${GPHOTO2_CPPFLAGS}"
- saved_LIBS="${LIBS}"
-@@ -431,13 +436,13 @@
- GPHOTO2_LIBS=""
- else
- SANE_EXTRACT_LDFLAGS(GPHOTO2_LIBS, GPHOTO2_LDFLAGS)
-- if pkg-config --atleast-version=2.5.0 libgphoto2; then
-+ if $PKG_CONFIG --atleast-version=2.5.0 libgphoto2; then
- AC_DEFINE([GPLOGFUNC_NO_VARGS], [1],
- [Define if GPLogFunc does not take a va_list.])
- fi
- fi
- fi
-- fi
-+ ])
- AC_SUBST(GPHOTO2_CPPFLAGS)
- AC_SUBST(GPHOTO2_LIBS)
- AC_SUBST(GPHOTO2_LDFLAGS)