Accepting request 157086 from home:seife:branches:devel:libraries:c_c++

add giflib-automake-1_13.patch, fix build with automake-1.13.1

OBS-URL: https://build.opensuse.org/request/show/157086
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=22
This commit is contained in:
Stefan Seyfried 2013-03-02 10:39:03 +00:00 committed by Git OBS Bridge
parent 3c5a6b07f5
commit 87f15a0ad9
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -5,11 +5,11 @@ AM_INIT_AUTOMAKE([gnu dist-bzip2 -Wall])
dnl Make builds less verbose. Shuts off Makefile portability checks.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl Note: config.h is not used in the current build
dnl We leave this in place only to suppress an error message at autogen time
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_CONFIG_MACRO_DIR([m4])
dnl Checks for programs.
AC_PROG_CC_STDC
AC_USE_SYSTEM_EXTENSIONS

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 2 10:13:17 UTC 2013 - seife+obs@b1-systems.com
- add giflib-automake-1_13.patch, fix build with automake-1.13.1
-------------------------------------------------------------------
Fri Jan 11 22:13:53 UTC 2013 - jengelh@inai.de

View File

@ -28,6 +28,7 @@ Source: giflib-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: giflib-visibility.patch
Patch1: giflib-automake-1_13.patch
BuildRequires: libtool >= 2
BuildRequires: xorg-x11-libICE-devel
BuildRequires: xorg-x11-libSM-devel
@ -79,6 +80,7 @@ have expired, giflib can again be used instead of libungif.
%setup -q
# LT_INIT requires libtool >= 2
%patch
%patch1 -p1
%build
# USE __TIMESTAMP__ instead of __DATE__ , __TIME__