diff options
author | jkim <jkim@FreeBSD.org> | 2013-07-20 03:23:22 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-07-20 03:23:22 +0800 |
commit | 87141eb45c2dc37b6db2b35f0eeed2239773c42d (patch) | |
tree | ca89e46124e160d9a474c8a628c76892a0773f92 /www | |
parent | 3e293df4c989317896c2359cf9253197b662e8f2 (diff) | |
download | freebsd-ports-gnome-87141eb45c2dc37b6db2b35f0eeed2239773c42d.tar.gz freebsd-ports-gnome-87141eb45c2dc37b6db2b35f0eeed2239773c42d.tar.zst freebsd-ports-gnome-87141eb45c2dc37b6db2b35f0eeed2239773c42d.zip |
Add an upstream patch to fix build with GCC 4.6 (and possibly others).
https://github.com/davidben/nspluginwrapper/commit/928c322
Prodded by: avg
Diffstat (limited to 'www')
-rw-r--r-- | www/nspluginwrapper/files/patch-configure | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/www/nspluginwrapper/files/patch-configure b/www/nspluginwrapper/files/patch-configure index 4be5021e557c..0da4a906d25b 100644 --- a/www/nspluginwrapper/files/patch-configure +++ b/www/nspluginwrapper/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig 2009-01-02 11:54:10.000000000 +0300 -+++ configure 2009-01-09 05:42:24.000000000 +0300 +--- configure.orig 2011-06-30 23:18:57.000000000 -0400 ++++ configure 2013-07-19 15:17:17.000000000 -0400 @@ -6,13 +6,8 @@ PACKAGE=nspluginwrapper @@ -16,3 +16,14 @@ TMPC="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.c" TMPO="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.o" +@@ -499,8 +494,8 @@ + + # check for Glib 2.0 compile CFLAGS + if $pkgconfig --exists glib-2.0; then +- GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0` +- GLIB_LIBS=`$pkgconfig --libs glib-2.0` ++ GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0 gthread-2.0` ++ GLIB_LIBS=`$pkgconfig --libs glib-2.0 gthread-2.0` + GLIB_VERSION=`$pkgconfig --modversion glib-2.0` + else + echo "GLIB 2.0 environment not found" |