pth: fix m4 warning in autotools-stage
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 3 May 2008 14:38:54 +0000 (14:38 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 3 May 2008 14:38:54 +0000 (14:38 +0000)
* add iles/m4-warning.patch
* bump pr to 1

packages/pth/files/.mtn2git_empty [new file with mode: 0644]
packages/pth/files/m4-warning.patch [new file with mode: 0644]
packages/pth/pth_2.0.2.bb

diff --git a/packages/pth/files/.mtn2git_empty b/packages/pth/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/pth/files/m4-warning.patch b/packages/pth/files/m4-warning.patch
new file mode 100644 (file)
index 0000000..6cdc5bb
--- /dev/null
@@ -0,0 +1,34 @@
+Index: pth-2.0.2/pth.m4
+===================================================================
+--- pth-2.0.2.orig/pth.m4      2004-09-12 13:40:59.000000000 +0200
++++ pth-2.0.2/pth.m4   2008-05-03 16:31:46.000000000 +0200
+@@ -40,7 +40,7 @@
+ dnl ##
+ dnl
+ dnl #   auxilliary macros
+-AC_DEFUN(_AC_PTH_ERROR, [dnl
++AC_DEFUN([_AC_PTH_ERROR], [dnl
+ AC_MSG_RESULT([*FAILED*])
+ m4_define(_ac_pth_line,dnl
+ "+------------------------------------------------------------------------+")
+@@ -51,13 +51,13 @@
+ echo " _ac_pth_line" 1>&2
+ exit 1
+ ])
+-AC_DEFUN(_AC_PTH_VERBOSE, [dnl
++AC_DEFUN([_AC_PTH_VERBOSE], [dnl
+ if test ".$verbose" = .yes; then
+     AC_MSG_RESULT([  $1])
+ fi
+ ])
+ dnl #   the user macro
+-AC_DEFUN(AC_CHECK_PTH, [dnl
++AC_DEFUN([AC_CHECK_PTH], [dnl
+ dnl
+ dnl #   prerequisites
+ AC_REQUIRE([AC_PROG_CC])dnl
+@@ -399,4 +399,3 @@
+     ifelse([$6], , :, [$6])
+ fi
+ ])
+-
index 78c06bf..81b8a71 100644 (file)
@@ -2,9 +2,11 @@ DESCRIPTION = "GNU Portable Threads"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL LGPL FDL"
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
+          file://m4-warning.patch;patch=1 \
+         "
 
 PARALLEL_MAKE=""