diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-03-24 17:46:42 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-03-24 17:46:42 +0000 |
commit | 5826e6e9201d1034f8fdde259981ccf04b265990 (patch) | |
tree | 12a1c1053ef208ddf9ff131ad4a5156b0992ba82 /net-www/http-fetcher | |
parent | fix patch to apply cleanly (diff) | |
download | gentoo-2-5826e6e9201d1034f8fdde259981ccf04b265990.tar.gz gentoo-2-5826e6e9201d1034f8fdde259981ccf04b265990.tar.bz2 gentoo-2-5826e6e9201d1034f8fdde259981ccf04b265990.zip |
patch source to fix errno glib2.3.2 linking problems
Diffstat (limited to 'net-www/http-fetcher')
-rw-r--r-- | net-www/http-fetcher/ChangeLog | 6 | ||||
-rw-r--r-- | net-www/http-fetcher/files/errno-link-gentoo.patch | 20 | ||||
-rw-r--r-- | net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild | 5 |
3 files changed, 28 insertions, 3 deletions
diff --git a/net-www/http-fetcher/ChangeLog b/net-www/http-fetcher/ChangeLog index 676ba34edc46..28554b81b25a 100644 --- a/net-www/http-fetcher/ChangeLog +++ b/net-www/http-fetcher/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for net-www/http-fetcher # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/http-fetcher/ChangeLog,v 1.3 2003/02/12 08:48:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/http-fetcher/ChangeLog,v 1.4 2003/03/24 17:46:42 mkennedy Exp $ *http-fetcher-1.0.1-r1 (06 Jan 2003) + 24 Mar 2003; Matthew Kennedy <mkennedy@gentoo.org> + http-fetcher-1.0.1-r1.ebuild: + patch source to fix errno glib2.3.2 linking problems + 06 Jan 2003; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, http-fetcher-1.0.1-r1.ebuild, files/buffer-overflow-gentoo.patch, files/digest-http-fetcher-1.0.1-r1 : diff --git a/net-www/http-fetcher/files/errno-link-gentoo.patch b/net-www/http-fetcher/files/errno-link-gentoo.patch new file mode 100644 index 000000000000..4ba2771291fa --- /dev/null +++ b/net-www/http-fetcher/files/errno-link-gentoo.patch @@ -0,0 +1,20 @@ +diff -ur http_fetcher-1.0.1/src/http_fetcher.c http_fetcher-1.0.1~/src/http_fetcher.c +--- http_fetcher-1.0.1/src/http_fetcher.c 2001-07-30 13:47:15.000000000 -0500 ++++ http_fetcher-1.0.1~/src/http_fetcher.c 2003-03-24 11:38:19.000000000 -0600 +@@ -24,6 +24,7 @@ + #include <netinet/in.h> + #include <sys/types.h> + #include <sys/time.h> ++#include <errno.h> + #include "http_fetcher.h" + + /* Globals */ +@@ -457,7 +458,6 @@ + */ + const char *http_strerror() + { +- extern int errno; + extern int *sys_errlist[]; + + if(errorSource == ERRNO) +Only in http_fetcher-1.0.1~/src: http_fetcher.c~ diff --git a/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild b/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild index 3403722f7cc6..ba2c5cd26e12 100644 --- a/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild +++ b/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild,v 1.2 2003/02/13 15:35:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/http-fetcher/http-fetcher-1.0.1-r1.ebuild,v 1.3 2003/03/24 17:46:42 mkennedy Exp $ DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." HOMEPAGE="http://cs.nmu.edu/~lhanson/http_fetcher/" @@ -18,6 +18,8 @@ src_unpack () { unpack ${A} # source: InetCop Security Advisory, Bugtraq, 06 Jan 2003 cd ${S}/src && patch -p0 <${FILESDIR}/buffer-overflow-gentoo.patch || die + # glibc2.3.2 linking problems + cd ${S} && patch -p1 <${FILESDIR}/errno-link-gentoo.patch || die } src_compile() { @@ -34,4 +36,3 @@ src_install() { dohtml -r docs/index.html docs/html dodoc README ChangeLog INSTALL LICENSE } - |