aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Bragge <henri.bragge@dcombus.com>2010-08-09 05:31:37 +0000
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-09 21:05:26 +0200
commitf3114e1b53fd3a7b264cb2b2c05adcfc01f7bc39 (patch)
tree24c0e7b704516cf9b9aac0bfa074cbf7662b7953
parent9b1a9d8fd143fdab0a169dfda77a5309d52f76a4 (diff)
downloadopenembedded-f3114e1b53fd3a7b264cb2b2c05adcfc01f7bc39.zip
openembedded-f3114e1b53fd3a7b264cb2b2c05adcfc01f7bc39.tar.gz
openembedded-f3114e1b53fd3a7b264cb2b2c05adcfc01f7bc39.tar.bz2
gsnmp-0.3.0: fix quoting in autoconf macros
Signed-off-by: Henri Bragge <henri.bragge@dcombus.com>
-rw-r--r--recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch28
-rw-r--r--recipes/gsnmp/gsnmp_0.3.0.bb5
2 files changed, 31 insertions, 2 deletions
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..0f39c85
--- /dev/null
+++ b/recipes/gsnmp/gsnmp-0.3.0/quote-fix.patch
@@ -0,0 +1,28 @@
+upstream: n/a
+status: accepted in r3406
+comment: Fix underquoted macro definitions.
+
+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"