diff options
Diffstat (limited to 'dev-libs')
4 files changed, 0 insertions, 111 deletions
diff --git a/dev-libs/zziplib/files/zziplib-0.13.52-SDL-test.patch b/dev-libs/zziplib/files/zziplib-0.13.52-SDL-test.patch deleted file mode 100644 index 410a2c746c95..000000000000 --- a/dev-libs/zziplib/files/zziplib-0.13.52-SDL-test.patch +++ /dev/null @@ -1,14 +0,0 @@ -this test isnt even run automatically and the dependencies are all broken, -so just disable it and be done - ---- SDL/Makefile.in -+++ SDL/Makefile.in -@@ -38,7 +38,7 @@ - build_triplet = @build@ - host_triplet = @host@ - target_triplet = @target@ --check_PROGRAMS = zzcatsdl$(EXEEXT) -+check_PROGRAMS = - subdir = SDL - DIST_COMMON = $(pkgconfig_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in diff --git a/dev-libs/zziplib/files/zziplib-0.13.52-python.patch b/dev-libs/zziplib/files/zziplib-0.13.52-python.patch deleted file mode 100644 index f1cfae16a195..000000000000 --- a/dev-libs/zziplib/files/zziplib-0.13.52-python.patch +++ /dev/null @@ -1,15 +0,0 @@ -Make it find correct Python version bug - -http://bugs.gentoo.org/174189 - ---- configure -+++ configure -@@ -21037,7 +21037,7 @@ - done - test -n "$PERL" || PERL="echo no perl found for" - --for ac_prog in python2.2 python2.3 python -+for ac_prog in python - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 diff --git a/dev-libs/zziplib/files/zziplib-0.13.52-sparc-aligned-access.patch b/dev-libs/zziplib/files/zziplib-0.13.52-sparc-aligned-access.patch deleted file mode 100644 index 87ee790465a4..000000000000 --- a/dev-libs/zziplib/files/zziplib-0.13.52-sparc-aligned-access.patch +++ /dev/null @@ -1,33 +0,0 @@ -This patch for zziplib (0.13.50) fixes a bus error on Linux/SPARC. - -Since SPARC machines are big endian and zip files are stored in little endian, -zziplib needs to do byte swapping. On GNU/Linux this is usually done using -glibc's bswap_{16,32,64} functions but in this case calling one of these -functions triggers a bus error. This patch completes upstreams work to -implement ZZIP_HAVE_ALIGNED_ACCESS_REQUIRED for machines which required aligned -access. -After applying the patch zziplib needs to be compiled with --DZZIP_HAVE_ALIGNED_ACCESS_REQUIRED - -To reproduce it run (in the src dir): - cd Linux_*_sparc64.d && ./bins/zzcat test/test/README -or - make check - -Problem found by: Ferris McCormick <fmccor@gentoo.org> -Patch written by: Friedrich Oslage <bluebird@gentoo.org> - with advice from: Mike Frysinger <vapier@gentoo.org> - -http://bugs.gentoo.org/239472 - ---- zzip/fetch.c -+++ zzip/fetch.c -@@ -17,7 +17,7 @@ - #include <zzip/fetch.h> - - #if defined ZZIP_WORDS_BIGENDIAN && \ -- defined bswap_16 && defined bswap_32 && defined bswap_64 -+ defined bswap_16 && defined bswap_32 && defined bswap_64 && !defined(ZZIP_HAVE_ALIGNED_ACCESS_REQUIRED) - # define __ZZIP_GET16(__p) bswap_16(*(uint16_t*)(__p)) - # define __ZZIP_GET32(__p) bswap_32(*(uint32_t*)(__p)) - # define __ZZIP_SET16(__p,__x) (*(uint16_t*)(__p) = bswap_16((uint16_t)(__x))) diff --git a/dev-libs/zziplib/zziplib-0.13.52.ebuild b/dev-libs/zziplib/zziplib-0.13.52.ebuild deleted file mode 100644 index 0dc59cdea860..000000000000 --- a/dev-libs/zziplib/zziplib-0.13.52.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.52.ebuild,v 1.1 2009/05/23 04:51:54 mr_bones_ Exp $ - -EAPI=2 -inherit libtool fixheadtails eutils flag-o-matic - -DESCRIPTION="Lightweight library used to easily extract data from files archived in a single zip file" -HOMEPAGE="http://zziplib.sourceforge.net/" -SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2" - -LICENSE="|| ( LGPL-2.1 MPL-1.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="sdl test" - -RDEPEND=">=dev-lang/python-2.3 - sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.6 )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - test? ( app-arch/zip )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-python.patch - epatch "${FILESDIR}"/${P}-SDL-test.patch - epatch "${FILESDIR}"/${P}-sparc-aligned-access.patch #239472 - sed -i -e '/^Libs:/s:@LDFLAGS@::' configure || die #235511 - sed -i -e '/^zzip-postinstall:/s:^:disabled-:' Makefile.in || die - ht_fix_file configure docs/Makefile.in uses/depcomp - elibtoolize -} - -src_configure() { - use sparc && append-flags -DZZIP_HAVE_ALIGNED_ACCESS_REQUIRED - econf $(use_enable sdl) -} - -src_test() { - # need this because `make test` will always return true - # tests fail with -j > 1 (bug #241186) - emake -j1 check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install install-man3 || die "make install failed" - dodoc ChangeLog README TODO - dohtml docs/* -} |