diff options
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/physfs/Manifest | 1 | ||||
-rw-r--r-- | dev-games/physfs/files/physfs-2.0.3-zip_seek.diff | 15 | ||||
-rw-r--r-- | dev-games/physfs/physfs-2.0.3-r2.ebuild | 63 |
3 files changed, 0 insertions, 79 deletions
diff --git a/dev-games/physfs/Manifest b/dev-games/physfs/Manifest index bad255dab368..310875d0eba3 100644 --- a/dev-games/physfs/Manifest +++ b/dev-games/physfs/Manifest @@ -1,2 +1 @@ -DIST physfs-2.0.3.tar.bz2 560628 BLAKE2B 8e3e8497463886678aaa671269133513f08aab1e49a6397f61cd44a5139030326ae0889e795401a967b0641f680f353dfaa39d7102502c2b8e0680c0a5d158b5 SHA512 47eff0c81b8dc3bb526766b0a8ad2437d2951867880116d6e6e8f2ec1490e263541fb741867fed6517cc3fa8a9c5651b36e3e02a499f19cfdc5c7261c9707e80 DIST physfs-3.0.2.tar.bz2 194888 BLAKE2B 67b6b04e3822c2528a31a2c60345238cb5f25ad031e32a6c3416b91bad6347af9f02dcfb8dc29a71c2bfc2b7cec7f0749ffbbd0dcadbc35703576ad895f568d9 SHA512 4024b6c3348e0b6fc1036aac330192112dfe17de3e3d14773be9f06e9a062df5a1006869f21162b4e0b584989f463788a35e64186b1913225c073fea62754472 diff --git a/dev-games/physfs/files/physfs-2.0.3-zip_seek.diff b/dev-games/physfs/files/physfs-2.0.3-zip_seek.diff deleted file mode 100644 index eaab07e16034..000000000000 --- a/dev-games/physfs/files/physfs-2.0.3-zip_seek.diff +++ /dev/null @@ -1,15 +0,0 @@ -http://icculus.org/pipermail/physfs/2017-January/001217.html - -diff -r 34ebe997c5c0 archivers/zip.c ---- a/archivers/zip.c Fri Jan 01 12:53:41 2016 -0500 -+++ b/archivers/zip.c Wed Jan 25 20:56:26 2017 +0300 -@@ -327,7 +327,8 @@ - return(0); - - inflateEnd(&finfo->stream); -- memcpy(&finfo->stream, &str, sizeof (z_stream)); -+ inflateCopy(&finfo->stream, &str); -+ inflateEnd(&str); - finfo->uncompressed_position = finfo->compressed_position = 0; - } /* if */ - diff --git a/dev-games/physfs/physfs-2.0.3-r2.ebuild b/dev-games/physfs/physfs-2.0.3-r2.ebuild deleted file mode 100644 index eec6c0e35460..000000000000 --- a/dev-games/physfs/physfs-2.0.3-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-multilib - -DESCRIPTION="Abstraction layer for filesystem and archive access" -HOMEPAGE="http://icculus.org/physfs/" -SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ppc64 x86 ~x86-fbsd" -IUSE="doc grp hog mvl qpak static-libs wad +zip" - -RDEPEND="" -DEPEND="doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${P}-zip_seek.diff" -) - -src_prepare() { - cmake-utils_src_prepare - - sed -i -e 's:-Werror::' CMakeLists.txt || die - # make sure these libs aren't used - rm -rf lzma zlib* -} - -src_configure() { - local mycmakeargs=( - -DPHYSFS_ARCHIVE_7Z=OFF - -DPHYSFS_BUILD_SHARED=ON - -DPHYSFS_BUILD_TEST=OFF - -DPHYSFS_BUILD_WX_TEST=OFF - -DPHYSFS_INTERNAL_ZLIB=OFF - -DPHYSFS_BUILD_STATIC="$(usex static-libs)" - -DPHYSFS_ARCHIVE_GRP="$(usex grp)" - -DPHYSFS_ARCHIVE_HOG="$(usex hog)" - -DPHYSFS_ARCHIVE_MVL="$(usex mvl)" - -DPHYSFS_ARCHIVE_WAD="$(usex wad)" - -DPHYSFS_ARCHIVE_QPAK="$(usex qpak)" - -DPHYSFS_ARCHIVE_ZIP="$(usex zip)" - ) - - cmake-multilib_src_configure -} - -src_compile() { - cmake-multilib_src_compile - - if multilib_is_native_abi && use doc ; then - doxygen || die "doxygen failed" - fi -} - -src_install() { - local DOCS=( CHANGELOG.txt CREDITS.txt TODO.txt ) - local HTML_DOCS=$(usex doc 'docs/html/*' '') - - cmake-multilib_src_install -} |