summaryrefslogtreecommitdiff
path: root/packages/pth
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-05-03 14:38:54 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-05-03 14:38:54 +0000
commitbfe86ca924edda40c1710e88dfafb02d634a6af5 (patch)
tree6426348fefd26aa0d8319d7d9222536beaacf394 /packages/pth
parentcde395f4ad828d15ebcbe5a75942de25ec912f98 (diff)
pth: fix m4 warning in autotools-stage
* add iles/m4-warning.patch * bump pr to 1
Diffstat (limited to 'packages/pth')
-rw-r--r--packages/pth/files/.mtn2git_empty0
-rw-r--r--packages/pth/files/m4-warning.patch34
-rw-r--r--packages/pth/pth_2.0.2.bb6
3 files changed, 38 insertions, 2 deletions
diff --git a/packages/pth/files/.mtn2git_empty b/packages/pth/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pth/files/.mtn2git_empty
diff --git a/packages/pth/files/m4-warning.patch b/packages/pth/files/m4-warning.patch
new file mode 100644
index 0000000000..6cdc5bbd61
--- /dev/null
+++ b/packages/pth/files/m4-warning.patch
@@ -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
+ ])
+-
diff --git a/packages/pth/pth_2.0.2.bb b/packages/pth/pth_2.0.2.bb
index 78c06bfd93..81b8a71b63 100644
--- a/packages/pth/pth_2.0.2.bb
+++ b/packages/pth/pth_2.0.2.bb
@@ -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=""