aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/370_gtk2-pkg-config.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/370_gtk2-pkg-config.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/370_gtk2-pkg-config.patch b/debian/patches/370_gtk2-pkg-config.patch
new file mode 100644
index 0000000..5714fc5
--- /dev/null
+++ b/debian/patches/370_gtk2-pkg-config.patch
@@ -0,0 +1,31 @@
+Subject: Assume defined PKG_CONFIG points right location when gtk2
+Author: OBATA Akio <obache@netbsd.org>
+Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-aa?rev=1.13&content-type=text/x-cvsweb-markup
+Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-ak?rev=1.1&content-type=text/x-cvsweb-markup
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index c1d112b..d768476 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -664,8 +664,6 @@ AC_DEFUN([AC_W3M_IMAGE],
+ with_gtk2="yes"
+ if test x"$PKG_CONFIG" = x; then
+ PKG_CONFIG=pkg-config
+- else
+- PKG_CONFIG=:
+ fi;;
+ esac
+ done
+diff --git a/configure b/configure
+index ec7f11e..b5adbb5 100755
+--- a/configure
++++ b/configure
+@@ -6826,8 +6826,6 @@ $as_echo "$with_imagelib" >&6; }
+ with_gtk2="yes"
+ if test x"$PKG_CONFIG" = x; then
+ PKG_CONFIG=pkg-config
+- else
+- PKG_CONFIG=:
+ fi;;
+ esac
+ done