From ddf3c6e66a851035cccb128aa474d49407d434a6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 11 Aug 2010 12:16:31 +0000 Subject: main/libc0.9.32: bugfix for getservbyname() --- main/libc0.9.32/APKBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'main/libc0.9.32/APKBUILD') 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" -- cgit v1.2.3