Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 19:23:23 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323326 - head/www/nspluginwrapper/files
Message-ID:  <201307191923.r6JJNN73014241@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri Jul 19 19:23:22 2013
New Revision: 323326
URL: http://svnweb.freebsd.org/changeset/ports/323326

Log:
  Add an upstream patch to fix build with GCC 4.6 (and possibly others).
  
  https://github.com/davidben/nspluginwrapper/commit/928c322
  
  Prodded by:	avg

Modified:
  head/www/nspluginwrapper/files/patch-configure

Modified: head/www/nspluginwrapper/files/patch-configure
==============================================================================
--- head/www/nspluginwrapper/files/patch-configure	Fri Jul 19 18:36:42 2013	(r323325)
+++ head/www/nspluginwrapper/files/patch-configure	Fri Jul 19 19:23:22 2013	(r323326)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307191923.r6JJNN73014241>