summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/gnet/files/pkgconfig_fix.patch12
-rw-r--r--meta/packages/gnet/gnet_svn.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/gnet/files/pkgconfig_fix.patch b/meta/packages/gnet/files/pkgconfig_fix.patch
new file mode 100644
index 000000000..a4a433f1c
--- /dev/null
+++ b/meta/packages/gnet/files/pkgconfig_fix.patch
@@ -0,0 +1,12 @@
+Index: trunk/gnet-2.0.pc.in
+===================================================================
+--- trunk.orig/gnet-2.0.pc.in 2008-11-06 16:41:25.000000000 +0000
++++ trunk/gnet-2.0.pc.in 2008-11-06 16:42:23.000000000 +0000
+@@ -6,5 +6,6 @@
+ Name: Gnet
+ Description: A network compatibility layer library
+ Version: @VERSION@
++Requires: glib-2.0 gthread-2.0
+ Libs: -L${libdir} -lgnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ @GLIB_LIBS@ @GTHREAD_LIBS@
+-Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@
++Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/
diff --git a/meta/packages/gnet/gnet_svn.bb b/meta/packages/gnet/gnet_svn.bb
index 5ed604d69..49059aeca 100644
--- a/meta/packages/gnet/gnet_svn.bb
+++ b/meta/packages/gnet/gnet_svn.bb
@@ -4,10 +4,12 @@ SECTION = "libs/network"
HOMEPAGE = "http://www.gnetlibrary.org"
DEPENDS = "glib-2.0"
PV = "2.0.7+svn${SRCDATE}"
+PR = "r1"
SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \
file://buildfix.patch;patch=1 \
- file://configure_fix.patch;patch=1"
+ file://configure_fix.patch;patch=1 \
+ file://pkgconfig_fix.patch;patch=1 "
S = "${WORKDIR}/trunk"