summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-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 0000000000..a4a433f1ce
--- /dev/null
+++ b/meta/packages/gnet/files/pkgconfig_fix.patch
@@ -0,0 +1,12 @@
1Index: trunk/gnet-2.0.pc.in
2===================================================================
3--- trunk.orig/gnet-2.0.pc.in 2008-11-06 16:41:25.000000000 +0000
4+++ trunk/gnet-2.0.pc.in 2008-11-06 16:42:23.000000000 +0000
5@@ -6,5 +6,6 @@
6 Name: Gnet
7 Description: A network compatibility layer library
8 Version: @VERSION@
9+Requires: glib-2.0 gthread-2.0
10 Libs: -L${libdir} -lgnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ @GLIB_LIBS@ @GTHREAD_LIBS@
11-Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@
12+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 5ed604d690..49059aecae 100644
--- a/meta/packages/gnet/gnet_svn.bb
+++ b/meta/packages/gnet/gnet_svn.bb
@@ -4,10 +4,12 @@ SECTION = "libs/network"
4HOMEPAGE = "http://www.gnetlibrary.org" 4HOMEPAGE = "http://www.gnetlibrary.org"
5DEPENDS = "glib-2.0" 5DEPENDS = "glib-2.0"
6PV = "2.0.7+svn${SRCDATE}" 6PV = "2.0.7+svn${SRCDATE}"
7PR = "r1"
7 8
8SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \ 9SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \
9 file://buildfix.patch;patch=1 \ 10 file://buildfix.patch;patch=1 \
10 file://configure_fix.patch;patch=1" 11 file://configure_fix.patch;patch=1 \
12 file://pkgconfig_fix.patch;patch=1 "
11 13
12S = "${WORKDIR}/trunk" 14S = "${WORKDIR}/trunk"
13 15