- fix popt-libc-updates.patch to work also with automake 1.13

OBS-URL: https://build.opensuse.org/package/show/Base:System/popt?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2013-06-14 15:16:02 +00:00 committed by Git OBS Bridge
parent 5cd49a9ace
commit e0828fe696
3 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,5 @@
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -21,7 +21,7 @@ AC_SUBST(LT_AGE, 8)
@ -33,6 +35,8 @@
AM_GNU_GETTEXT([external])
AM_ICONV_LINK
Index: system.h
===================================================================
--- system.h.orig
+++ system.h
@@ -1,10 +1,9 @@
@ -79,6 +83,8 @@
#endif
#if !defined(__GNUC__) && !defined(__attribute__)
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -14,7 +14,7 @@ EXTRA_DIST = config.rpath lookup3.c auto
@ -90,6 +96,17 @@
noinst_HEADERS = poptint.h system.h
@@ -37,7 +37,7 @@ noinst_SCRIPTS = testit.sh
TESTS_ENVIRONMENT = \
test1="$(top_builddir)/test1"
-TESTS = $(top_srcdir)/testit.sh
+TESTS = testit.sh
include_HEADERS = popt.h
Index: popt.c
===================================================================
--- popt.c.orig
+++ popt.c
@@ -197,7 +197,7 @@ poptContext poptGetContext(const char *
@ -127,6 +144,8 @@
default:
return POPT_("unknown error");
}
Index: poptconfig.c
===================================================================
--- poptconfig.c.orig
+++ poptconfig.c
@@ -540,7 +540,7 @@ int poptReadDefaultConfig(poptContext co
@ -138,6 +157,8 @@
char * fn = malloc(strlen(home) + 20);
if (fn != NULL) {
(void) stpcpy(stpcpy(fn, home), "/.popt");
Index: poptint.h
===================================================================
--- poptint.h.orig
+++ poptint.h
@@ -11,6 +11,8 @@

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 14 15:15:49 UTC 2013 - coolo@suse.com
- fix popt-libc-updates.patch to work also with automake 1.13
-------------------------------------------------------------------
Mon Apr 15 09:58:18 UTC 2013 - idonmez@suse.com

View File

@ -71,7 +71,6 @@ API documentation of the popt library, too.
%patch0
%build
autoreconf -fiv
%configure --with-pic --disable-static
make %{?_smp_mflags}