Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Side by Side Diff: sys-libs/zlib/zlib-1.2.3-r1.ebuild

Issue 5176006: Applying Neon optimization patch to the ZLIB library. Base URL: http://git.chromium.org/git/portage.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sys-libs/zlib/files/zlib-1.2.3-neon-optimized.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1999-2009 Gentoo Foundation 1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.3-r1.ebuild,v 1.14 200 9/10/10 17:01:04 vapier Exp $ 3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.3-r1.ebuild,v 1.14 200 9/10/10 17:01:04 vapier Exp $
4 4
5 inherit eutils flag-o-matic toolchain-funcs 5 inherit eutils flag-o-matic toolchain-funcs
6 6
7 DESCRIPTION="Standard (de)compression library" 7 DESCRIPTION="Standard (de)compression library"
8 HOMEPAGE="http://www.zlib.net/" 8 HOMEPAGE="http://www.zlib.net/"
9 SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2 9 SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2
10 http://www.zlib.net/${P}.tar.bz2" 10 http://www.zlib.net/${P}.tar.bz2"
(...skipping 10 matching lines...) Expand all
21 cd "${S}" 21 cd "${S}"
22 epatch "${FILESDIR}"/${P}-build.patch 22 epatch "${FILESDIR}"/${P}-build.patch
23 epatch "${FILESDIR}"/${P}-visibility-support.patch #149929 23 epatch "${FILESDIR}"/${P}-visibility-support.patch #149929
24 epatch "${FILESDIR}"/${PN}-1.2.1-glibc.patch 24 epatch "${FILESDIR}"/${PN}-1.2.1-glibc.patch
25 epatch "${FILESDIR}"/${PN}-1.2.1-build-fPIC.patch 25 epatch "${FILESDIR}"/${PN}-1.2.1-build-fPIC.patch
26 epatch "${FILESDIR}"/${PN}-1.2.1-configure.patch #55434 26 epatch "${FILESDIR}"/${PN}-1.2.1-configure.patch #55434
27 epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch 27 epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch
28 epatch "${FILESDIR}"/${PN}-1.2.3-r1-bsd-soname.patch #123571 28 epatch "${FILESDIR}"/${PN}-1.2.3-r1-bsd-soname.patch #123571
29 epatch "${FILESDIR}"/${PN}-1.2.3-LDFLAGS.patch #126718 29 epatch "${FILESDIR}"/${PN}-1.2.3-LDFLAGS.patch #126718
30 epatch "${FILESDIR}"/${PN}-1.2.3-mingw-implib.patch #288212 30 epatch "${FILESDIR}"/${PN}-1.2.3-mingw-implib.patch #288212
31 case ${CHOST} in
32 *arm*)
33 epatch "${FILESDIR}"/${PN}-1.2.3-neon-optimized.patch
34 ;;
35 esac
31 sed -i -e '/ldconfig/d' Makefile* 36 sed -i -e '/ldconfig/d' Makefile*
32 } 37 }
33 38
34 src_compile() { 39 src_compile() {
35 tc-export AR CC RANLIB 40 tc-export AR CC RANLIB
36 case ${CHOST} in 41 case ${CHOST} in
37 *-mingw*|mingw*) 42 *-mingw*|mingw*)
38 export RC=${CHOST}-windres DLLWRAP=${CHOST}-dllwrap 43 export RC=${CHOST}-windres DLLWRAP=${CHOST}-dllwrap
39 emake -f win32/Makefile.gcc prefix=/usr || die 44 emake -f win32/Makefile.gcc prefix=/usr || die
40 ;; 45 ;;
(...skipping 28 matching lines...) Expand all
69 *) 74 *)
70 into / 75 into /
71 dolib libz.so.${PV} 76 dolib libz.so.${PV}
72 ( cd "${D}"/$(get_libdir) ; chmod 755 libz.so.* ) 77 ( cd "${D}"/$(get_libdir) ; chmod 755 libz.so.* )
73 dosym libz.so.${PV} /$(get_libdir)/libz.so 78 dosym libz.so.${PV} /$(get_libdir)/libz.so
74 dosym libz.so.${PV} /$(get_libdir)/libz.so.1 79 dosym libz.so.${PV} /$(get_libdir)/libz.so.1
75 gen_usr_ldscript libz.so 80 gen_usr_ldscript libz.so
76 ;; 81 ;;
77 esac 82 esac
78 } 83 }
OLDNEW
« no previous file with comments | « sys-libs/zlib/files/zlib-1.2.3-neon-optimized.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698