diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-11 12:16:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-11 12:16:31 +0000 |
commit | ddf3c6e66a851035cccb128aa474d49407d434a6 (patch) | |
tree | b7296335c54227c59e31c97dd127c63f94389129 /main/libc0.9.32/APKBUILD | |
parent | 44dbcdcdfb8dff139c089aad062aa0031a634a51 (diff) | |
download | aports-ddf3c6e66a851035cccb128aa474d49407d434a6.tar.bz2 aports-ddf3c6e66a851035cccb128aa474d49407d434a6.tar.xz |
main/libc0.9.32: bugfix for getservbyname()
Diffstat (limited to 'main/libc0.9.32/APKBUILD')
-rw-r--r-- | main/libc0.9.32/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD index d594deeb06..d546990325 100644 --- a/main/libc0.9.32/APKBUILD +++ b/main/libc0.9.32/APKBUILD @@ -3,7 +3,7 @@ _abiver=0.9.32 pkgname=libc$_abiver _gitver=1008060645 pkgver=${_abiver}_alpha0_git$_gitver -pkgrel=0 +pkgrel=1 pkgdesc="C library for developing embedded Linux systems" url=http://uclibc.org license="LGPL-2" @@ -21,6 +21,7 @@ source="http://build.alpinelinux.org:8010/distfiles/$_snapfile uclibc-resolv-tls.patch 0001-config-parser-fix-memory-corruption.patch 0001-nptl-fix-calling-convention-for-__pthread_mutex_cond.patch + 0001-netdb-increase-line-size-for-etc-services.patch uclibcconfig.x86 uclibcconfig.i486 " @@ -48,10 +49,13 @@ prepare() { local i cd "$_builddir" # patches goes here - for i in ../*.patch ../*.diff; do - [ -r "$i" ] || continue - msg "Applying $i..." - patch -p1 < $i || return 1 + for i in $source; do + case $i in + *.patch|*.diff) + msg "Applying $i..." + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac done # set abi version and remove unsupported warnings c flag sed -i -e "s/^ABI_VERSION.*/ABI_VERSION := $_abiver/" \ @@ -103,5 +107,6 @@ md5sums="2b3935c370307b806320e78883f9b07c libc0.9.32-0.9.32_alpha0_git100806064 d08831b452acdeaa3037525ee617edab uclibc-resolv-tls.patch d351ca4e5c33f4a7a60d4f1d754db5c4 0001-config-parser-fix-memory-corruption.patch 653b046611f98c990f1b52a28968ece3 0001-nptl-fix-calling-convention-for-__pthread_mutex_cond.patch +39ac96d750ad058030f917912bfea466 0001-netdb-increase-line-size-for-etc-services.patch e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.x86 e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.i486" |