From dee7eed2f648c98f63c82296be2f62ec52c16d36 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 17 Jul 2008 10:23:47 +0000 Subject: [PATCH] Fixes generation of configure --- gpm-1.20.5-ac_package_version.patch | 10 ++++++++++ gpm.spec | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 gpm-1.20.5-ac_package_version.patch diff --git a/gpm-1.20.5-ac_package_version.patch b/gpm-1.20.5-ac_package_version.patch new file mode 100644 index 0000000..d9bec92 --- /dev/null +++ b/gpm-1.20.5-ac_package_version.patch @@ -0,0 +1,10 @@ +--- gpm-1.20.5/configure.ac.ac_package_version 2008-07-17 12:19:09.000000000 +0200 ++++ gpm-1.20.5/configure.ac 2008-07-17 12:19:17.000000000 +0200 +@@ -142,7 +142,6 @@ AC_SUBST(SOLDFLAGS) + AC_SUBST(CURSES_OBJS) + AC_SUBST(SHARED_LIBS) + AC_SUBST(lispdir) +-AC_SUBST(AC_PACKAGE_VERSION) + AC_SUBST(release) + AC_SUBST(release_date) + diff --git a/gpm.spec b/gpm.spec index a137ca9..6455d64 100644 --- a/gpm.spec +++ b/gpm.spec @@ -13,6 +13,7 @@ Patch2: gpm-1.20.1-lib-silent.patch Patch3: gpm-1.20.3-gcc4.3.patch Patch4: gpm-1.20.5-close-fds.patch Patch5: gpm-1.20.1-weak-wgetch.patch +Patch6: gpm-1.20.5-ac_package_version.patch Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info Requires: bash >= 2.0 # this defines the library version that this package builds. @@ -47,6 +48,7 @@ mouse button. %patch3 -p1 -b .gcc4.3 %patch4 -p1 -b .close-fds %patch5 -p1 -b .weak-wgetch +%patch6 -p1 -b .ac_package_version %build rm -f configure