Accepting request 68919 from devel:libraries:c_c++
- Fix build with gcc 4.6 (forwarded request 68918 from elvigia) OBS-URL: https://build.opensuse.org/request/show/68919 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zziplib?expand=0&rev=11
This commit is contained in:
commit
7dbf1e2403
22
zziplib-0.13.58-wronglinking.patch
Normal file
22
zziplib-0.13.58-wronglinking.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- configure.ac.orig
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -288,7 +288,7 @@ case "$host_os" in
|
||||||
|
|
||||||
|
if test ".$can_build_shared" = .no
|
||||||
|
then ZZIPLIB_LDFLAGS=""
|
||||||
|
- else ZZIPLIB_LDFLAGS="--export-dynamic"
|
||||||
|
+ else ZZIPLIB_LDFLAGS="-Wl,--export-dynamic"
|
||||||
|
fi
|
||||||
|
RESOLVES=' # '
|
||||||
|
;;
|
||||||
|
--- zzip/Makefile.am.orig
|
||||||
|
+++ zzip/Makefile.am
|
||||||
|
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign
|
||||||
|
AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
|
||||||
|
DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
|
||||||
|
DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4
|
||||||
|
-
|
||||||
|
+AM_CFLAGS = -fno-strict-aliasing
|
||||||
|
lib_LTLIBRARIES = libzzip.la libzzipmmapped.la libzzipfseeko.la
|
||||||
|
zzipdir = ${includedir}/zzip
|
||||||
|
zzip_HEADERS = $(libzzip_la_headers) \
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 30 15:22:39 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Fix build with gcc 4.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 15 16:43:03 CET 2010 - dimstar@opensuse.org
|
Mon Feb 15 16:43:03 CET 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ AutoReqProv: on
|
|||||||
Url: http://zziplib.sourceforge.net
|
Url: http://zziplib.sourceforge.net
|
||||||
Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2
|
Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2
|
||||||
Patch: zziplib-0.13.49.patch
|
Patch: zziplib-0.13.49.patch
|
||||||
|
Patch1: zziplib-0.13.58-wronglinking.patch
|
||||||
BuildRequires: pkgconfig python zlib-devel
|
BuildRequires: pkgconfig python zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ ZZipLib.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
|
%patch1
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --enable-largefile --disable-static --with-pic
|
%configure --enable-largefile --disable-static --with-pic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user