Accepting request 68918 from home:elvigia:branches:devel:libraries:c_c++
- Fix build with gcc 4.6 OBS-URL: https://build.opensuse.org/request/show/68918 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zziplib?expand=0&rev=7
This commit is contained in:
parent
7f7684954c
commit
71e47a294b
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
|
||||
|
||||
|
@ -28,6 +28,7 @@ AutoReqProv: on
|
||||
Url: http://zziplib.sourceforge.net
|
||||
Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2
|
||||
Patch: zziplib-0.13.49.patch
|
||||
Patch1: zziplib-0.13.58-wronglinking.patch
|
||||
BuildRequires: pkgconfig python zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -48,7 +49,7 @@ ZZipLib.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%patch1
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --enable-largefile --disable-static --with-pic
|
||||
|
Loading…
x
Reference in New Issue
Block a user