From bfe86ca924edda40c1710e88dfafb02d634a6af5 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 3 May 2008 14:38:54 +0000 Subject: pth: fix m4 warning in autotools-stage * add iles/m4-warning.patch * bump pr to 1 --- packages/pth/files/.mtn2git_empty | 0 packages/pth/files/m4-warning.patch | 34 ++++++++++++++++++++++++++++++++++ packages/pth/pth_2.0.2.bb | 6 ++++-- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 packages/pth/files/.mtn2git_empty create mode 100644 packages/pth/files/m4-warning.patch (limited to 'packages/pth') diff --git a/packages/pth/files/.mtn2git_empty b/packages/pth/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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="" -- cgit v1.2.3