Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b45b7db0e1f63b2ab5fe679468b4987d351ed7fd
commit b45b7db0e1f63b2ab5fe679468b4987d351ed7fd Author: bouleetbil <[email protected]> Date: Fri Aug 26 16:03:33 2011 +0200 glibc-2.14-4-x86_64 *typo fix *fix crash with iptables diff --git a/source/base/glibc/FrugalBuild b/source/base/glibc/FrugalBuild index 256ed66..61f781f 100644 --- a/source/base/glibc/FrugalBuild +++ b/source/base/glibc/FrugalBuild @@ -4,7 +4,7 @@ pkgname=glibc pkgver=2.14 -pkgrel=3 +pkgrel=4 pkgdesc="GNU C Library" url="http://www.gnu.org/software/libc/libc.html" depends=() @@ -20,13 +20,15 @@ source=(http://ftp.gnu.org/pub/gnu/glibc/glibc-$pkgver.tar.gz \ fix-missing-etc-hosts.patch \ gcc45.patch \ revert-8f4a5048eea6536ee85c0f2670adbb97d71e427d.patch \ - nis.diff) + nis.diff \ + fix-resolv-crash.diff) sha1sums=('74a57dd5bd2494a190da7ded31477980aefa5093' \ 'e178203449b5d882f7b89dd6d507a1d50d7d686b' \ 'be4a7bea8af743331e2c6704faa24b6cb4e155d5' \ '2283966c4f48bbc9b6ad0ae3bbd64601c057c721' \ 'c8d14d0f2e239ba0def978010163e919a45700f7' \ - '9c4544aee1063f65da39273349f0780d5723747d') + '9c4544aee1063f65da39273349f0780d5723747d' \ + 'f773442c3fa38f036046536e54a3c3f60ddd67a3') build() { diff --git a/source/base/glibc/fix-resolv-crash.diff b/source/base/glibc/fix-resolv-crash.diff new file mode 100644 index 0000000..50320b6 --- /dev/null +++ b/source/base/glibc/fix-resolv-crash.diff @@ -0,0 +1,23 @@ +diff --git a/resolv/res_send.c b/resolv/res_send.c +index 97142b7..a001c1e 100644 +--- a/resolv/res_send.c ++++ b/resolv/res_send.c +@@ -549,7 +549,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen, + ns, ansp, ansp2, nansp2, resplen2); + if (n < 0) + return (-1); +- if (n == 0 && (buf2 == NULL || resplen2 == 0)) ++ if (n == 0 && (buf2 == NULL || *resplen2 == 0)) + goto next_ns; + } else { + /* Use datagrams. */ +@@ -559,7 +559,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen, + ansp2, nansp2, resplen2); + if (n < 0) + return (-1); +- if (n == 0 && (buf2 == NULL || resplen2 == 0)) ++ if (n == 0 && (buf2 == NULL || *resplen2 == 0)) + goto next_ns; + if (v_circuit) + // XXX Check whether both requests failed or + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
