diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-18 06:40:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-18 06:40:34 +0000 |
commit | 1ceb14def2f0790c678bd101e9914c9bd8b0a014 (patch) | |
tree | f82b3ea10196e8eede31e4f086d1f69ebd0100ff | |
parent | 261f0239d025b487ff40624bc4890ffe538a073e (diff) | |
download | aports-1ceb14def2f0790c678bd101e9914c9bd8b0a014.tar.bz2 aports-1ceb14def2f0790c678bd101e9914c9bd8b0a014.tar.xz |
core/uclibc: fix for resolv cname
-rw-r--r-- | core/uclibc/APKBUILD | 4 | ||||
-rw-r--r-- | core/uclibc/uclibc-resolv-cname-fix.diff | 16 |
2 files changed, 19 insertions, 1 deletions
diff --git a/core/uclibc/APKBUILD b/core/uclibc/APKBUILD index 882d908fa5..2b71c25f39 100644 --- a/core/uclibc/APKBUILD +++ b/core/uclibc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=uclibc pkgver=0.9.30.1 -pkgrel=8 +pkgrel=9 pkgdesc="C library for developing embedded Linux systems" url=http://uclibc.org license="LGPL-2" @@ -16,6 +16,7 @@ source="http://uclibc.org/downloads/$_mynamever.tar.bz2 0001-ldd-segfault-fix.patch 0001-linuxthreads-fixes-from-Will-Newton-will.newton-AT-g.patch pthread-new-aliasing-fix.diff + uclibc-resolv-cname-fix.diff ppoll.patch uclibcconfig " @@ -53,5 +54,6 @@ cf80c0d44a41e02f389be427ee615d61 uclibc-0.9.30.1-pthread_getattr_np.patch 4079b20c763727863bc53408e4988434 0001-ldd-segfault-fix.patch bcd1c4c9c87f092fb4631559e6ec13ba 0001-linuxthreads-fixes-from-Will-Newton-will.newton-AT-g.patch 969187e1da84d0a0a5957b392a3d5a2b pthread-new-aliasing-fix.diff +bbb8475963e791f596c34c81ef5583d7 uclibc-resolv-cname-fix.diff 60738298e377295d359768a09adac0bb ppoll.patch 0a87f57d3e5001027f43b7c959d96319 uclibcconfig" diff --git a/core/uclibc/uclibc-resolv-cname-fix.diff b/core/uclibc/uclibc-resolv-cname-fix.diff new file mode 100644 index 0000000000..041e150f35 --- /dev/null +++ b/core/uclibc/uclibc-resolv-cname-fix.diff @@ -0,0 +1,16 @@ +--- a/libc/inet/resolv.c.orig 2009-06-18 09:38:26.000000000 +0300 ++++ b/libc/inet/resolv.c 2009-06-18 09:38:32.000000000 +0300 +@@ -1337,10 +1337,9 @@ int res_query(const char *dname, int cla + + free(a.dotted); + +- if (a.atype == type) { /* CNAME */ +- i = MIN(anslen, i); +- memcpy(answer, packet, i); +- } ++ i = MIN(anslen, i); ++ memcpy(answer, packet, i); ++ + free(packet); + return i; + } |