[oe] [PATCH v2 1/1] gsnmp-0.3.0: fix quoting in autoconf macros

Henri Bragge henri.bragge at dcombus.com
Mon Aug 9 12:20:01 UTC 2010


Signed-off-by: Henri Bragge <henri.bragge at dcombus.com>
---
 recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch |   24 ++++++++++++++++++++++++
 recipes/gsnmp/gsnmp_0.3.0.bb              |    5 +++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch

diff --git a/recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch b/recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch
new file mode 100644
index 0000000..138c9e6
--- /dev/null
+++ b/recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch
@@ -0,0 +1,24 @@
+diff -Nurd gsnmp-0.3.0.orig/acinclude.m4 gsnmp-0.3.0/acinclude.m4
+--- gsnmp-0.3.0.orig/acinclude.m4	2010-02-19 10:35:29.000000000 +0200
++++ gsnmp-0.3.0/acinclude.m4	2010-08-09 13:30:32.000000000 +0300
+@@ -6,7 +6,7 @@
+ dnl usually in <utime.h>.
+ dnl Some systems have utime.h but don't declare the struct anywhere.
+ 
+-AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF,
++AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
+ [
+   AC_CHECK_HEADERS(utime.h)
+   AC_REQUIRE([AC_HEADER_TIME])
+diff -Nurd gsnmp-0.3.0.orig/gsnmp.m4 gsnmp-0.3.0/gsnmp.m4
+--- gsnmp-0.3.0.orig/gsnmp.m4	2010-02-19 10:35:29.000000000 +0200
++++ gsnmp-0.3.0/gsnmp.m4	2010-08-09 13:30:46.000000000 +0300
+@@ -1,7 +1,7 @@
+ dnl AM_PATH_GSNMP()
+ dnl 
+ 
+-AC_DEFUN(AM_PATH_GSNMP,
++AC_DEFUN([AM_PATH_GSNMP],
+ [
+   PKG_CHECK_MODULES(GSNMP, glib-2.0 >= 2.0.1)
+ ])
diff --git a/recipes/gsnmp/gsnmp_0.3.0.bb b/recipes/gsnmp/gsnmp_0.3.0.bb
index b191762..e27e3e9 100644
--- a/recipes/gsnmp/gsnmp_0.3.0.bb
+++ b/recipes/gsnmp/gsnmp_0.3.0.bb
@@ -2,9 +2,10 @@ DESCRIPTION = "SNMP library written on top of glib and gnet."
 SECTION = "libs/network"
 LICENSE = "GPLv2"
 DEPENDS = "glib-2.0 gnet"
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.ibr.cs.tu-bs.de/local/gsnmp/gsnmp-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.ibr.cs.tu-bs.de/local/gsnmp/gsnmp-${PV}.tar.gz \
+	   file://quote-fix.patch"
 
 SRC_URI[md5sum] = "466699c11b70e18a04d51388b8f89f1c"
 SRC_URI[sha256sum] = "e428b61071b8ba2971fc8737ed2987210b04a71ffde307900df12c06a0bed0f9"
-- 
1.5.6.5





More information about the Openembedded-devel mailing list