startup-notification: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: f311b2d9978e07d4e5f4b6687ff2dba41b5e5da4)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Marko Lindqvist 2013-01-10 12:02:34 +02:00 committed by Richard Purdie
parent be2c9d3a94
commit 2326328120
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,15 @@
Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=59097]
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff -Nurd startup-notification-0.12/configure.in startup-notification-0.12/configure.in
--- startup-notification-0.12/configure.in 2011-05-16 17:29:20.000000000 +0300
+++ startup-notification-0.12/configure.in 2013-01-07 06:00:48.921905409 +0200
@@ -3,7 +3,7 @@
AC_CONFIG_SRCDIR(libsn/sn-launchee.c)
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
# Honor aclocal flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")

View File

@ -19,7 +19,9 @@ DEPENDS = "virtual/libx11 libsm xcb-util"
inherit autotools pkgconfig
SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/${BPN}-${PV}.tar.gz"
SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/${BPN}-${PV}.tar.gz \
file://obsolete_automake_macros.patch \
"
SRC_URI[md5sum] = "2cd77326d4dcaed9a5a23a1232fb38e9"
SRC_URI[sha256sum] = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a"