summaryrefslogtreecommitdiff
path: root/www/libwww/patches
diff options
context:
space:
mode:
authorreinoud <reinoud@pkgsrc.org>2002-11-19 20:54:11 +0000
committerreinoud <reinoud@pkgsrc.org>2002-11-19 20:54:11 +0000
commit9eea2f83250eef262dd26bb8a4536c06e247b783 (patch)
tree888a91d584f4049118e9e29fa5b2be1a56967e2e /www/libwww/patches
parent2760bcab8245c89ac74a2e36dbfa463c10d69f60 (diff)
downloadpkgsrc-9eea2f83250eef262dd26bb8a4536c06e247b783.tar.gz
Update of the libwww package to the w3c-libwww-5.4.0 distro as found on
w3c.org. It features some bug fixes and new function calls that are used in the new Amaya f.e. Tested on Alpha
Diffstat (limited to 'www/libwww/patches')
-rw-r--r--www/libwww/patches/patch-ag44
-rw-r--r--www/libwww/patches/patch-al32
-rw-r--r--www/libwww/patches/patch-am (renamed from www/libwww/patches/patch-ah)48
3 files changed, 52 insertions, 72 deletions
diff --git a/www/libwww/patches/patch-ag b/www/libwww/patches/patch-ag
deleted file mode 100644
index ba57d9ed432..00000000000
--- a/www/libwww/patches/patch-ag
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2001/04/20 12:33:53 fredb Exp $
-
---- Library/src/wwwsys.html.orig Tue Jul 11 04:18:38 2000
-+++ Library/src/wwwsys.html
-@@ -1093,25 +1093,24 @@
- #ifdef SOCKS4
- #define connect Rconnect
- #define getsockname Rgetsockname
--#define getpeername Rgetpeername
-+/* #define getpeername Rgetpeername */
- #define bind Rbind
- #define accept Raccept
- #define listen Rlisten
- #define select Rselect
--#define recvfrom Rrecvfrom
--#define sendto Rsendto
--#define recv Rrecv
--#define send Rsend
--#define read Rread
--#define write Rwrite
--#define rresvport Rrresvport
--#define shutdown Rshutdown
--#define listen Rlisten
--#define close Rclose
--#define dup Rdup
--#define dup2 Rdup2
--#define fclose Rfclose
--#define gethostbyname Rgethostbyname
-+/* #define recvfrom Rrecvfrom */
-+/* #define sendto Rsendto */
-+/* #define recv Rrecv */
-+/* #define send Rsend */
-+/* #define read Rread */
-+/* #define write Rwrite */
-+/* #define rresvport Rrresvport */
-+/* #define shutdown Rshutdown */
-+/* #define close Rclose */
-+/* #define dup Rdup */
-+/* #define dup2 Rdup2 */
-+/* #define fclose Rfclose */
-+/* #define gethostbyname Rgethostbyname */
- #else
- #ifdef SOCKS5
- #define connect SOCKSconnect
diff --git a/www/libwww/patches/patch-al b/www/libwww/patches/patch-al
new file mode 100644
index 00000000000..4db94f9389b
--- /dev/null
+++ b/www/libwww/patches/patch-al
@@ -0,0 +1,32 @@
+$NetBSD: patch-al,v 1.1 2002/11/19 20:54:12 reinoud Exp $
+
+--- Library/User/Makefile.am.orig Thu Jun 6 16:59:37 2002
++++ Library/User/Makefile.am
+@@ -19,13 +19,19 @@ SUFFIXES = .html
+ DEPENDENCIES = \
+ ../src/libwww.la
+
+-Extrnals.html:
+- (cd $(srcdir) && \
+- perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \
+- > Extrnals.html)
++#Extrnals.html:
++# (cd $(srcdir) && \
++# perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \
++# > Extrnals.html)
++
++#export: Extrnals.html
++# -rm $(srcdir)/Extrnals.html;
++# (cd $(srcdir) && \
++# perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \
++# > Extrnals.html)
++
++Extrnals.html :
++ echo Missing perl script > Extnals.html
+
+ export: Extrnals.html
+- -rm $(srcdir)/Extrnals.html;
+- (cd $(srcdir) && \
+- perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \
+- > Extrnals.html)
++
diff --git a/www/libwww/patches/patch-ah b/www/libwww/patches/patch-am
index 7313691f2b3..6e416e8f1a3 100644
--- a/www/libwww/patches/patch-ah
+++ b/www/libwww/patches/patch-am
@@ -1,34 +1,29 @@
-$NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
---- configure.in.orig Thu Dec 14 12:49:06 2000
-+++ configure.in Mon Oct 21 22:40:58 2002
-@@ -213,8 +213,13 @@
- getlogin getpass fcntl readdir sysinfo ioctl chdir tempnam \
- getsockopt setsockopt \
- gettimeofday mktime timegm tzset)
--AC_CHECK_FUNC(unlink, , AC_CHECK_FUNC(remove, AC_DEFINE(unlink, remove)))
-+AC_CHECK_FUNC(unlink)
-+if test "$ac_cv_func_unlink" != yes; then
-+ AC_CHECK_FUNC(remove)
-+fi
+$NetBSD: patch-am,v 1.1 2002/11/19 20:54:12 reinoud Exp $
+
+--- configure.in.orig Wed Jun 12 11:26:46 2002
++++ configure.in
+@@ -237,6 +237,8 @@ AC_CHECK_FUNC(unlink)
+ fi
+ fi
+dnl AC_CHECK_FUNC(unlink, , AC_CHECK_FUNC(remove, AC_DEFINE(unlink, remove)))
+
dnl Checks for configuration arguments
AC_MSG_CHECKING(whether to support direct WAIS access.)
AC_ARG_WITH(wais,
-@@ -307,7 +312,10 @@
- AC_MSG_RESULT(yes)
+@@ -330,6 +332,11 @@ AC_ARG_WITH(regex,
AC_DEFINE(HT_POSIX_REGEX)
if test "x$withval" = "xyes"; then
-- AC_CHECK_LIB(rx, regexec, [ LIBS="-lrx $LIBS" ] )
+ AC_CHECK_LIB(rx, regexec, [ LIBS="-lrx $LIBS" ] )
+ AC_TRY_LINK([],
+ [ regexec(); ],
+ [],
+ [ AC_CHECK_LIB(rx, regexec, [ LIBS="-lrx $LIBS" ] ) ] )
++
else
AC_ADDLIB($withval)
AC_TRY_LINK([],
-@@ -510,53 +518,45 @@
+@@ -532,27 +539,39 @@ AC_ARG_WITH(md5,
[ case "$withval" in
no)
AC_MSG_RESULT(no)
@@ -58,8 +53,6 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
WWWMD5="libmd5.la"
LWWWMD5="-lmd5"
LIBWWWMD5='${top_builddir}/modules/md5/libmd5.la'
-+ LIBMD5INC='-I${top_srcdir}/modules/md5'
-+ LIBMD5DEP="../../modules/md5/libmd5.la"
)
+AC_SUBST(MD5DIR)
AC_SUBST(WWWMD5)
@@ -68,6 +61,12 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
+AC_SUBST(LIBMD5INC)
+AC_SUBST(LIBMD5DEP)
+ AC_MSG_CHECKING(whether we include WebDAV support.)
+ AC_ARG_WITH(dav,
+@@ -609,31 +628,9 @@ AC_SUBST(MYEXT)
+
+
+
-dnl Checks for libwww and OpenSSL:
-AC_MSG_CHECKING(whether we can find OpenSSL)
-dnl find the ssl library dir (empirical)
@@ -98,7 +97,7 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
LWWWSSL=""
LIBWWWSSL=""
WWWSSLEX=""
-@@ -568,14 +568,39 @@
+@@ -645,14 +642,40 @@ AC_ARG_WITH(ssl,
;;
*)
if test "x$withval" = "xyes"; then
@@ -129,6 +128,7 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
+ else
+ SSLINC="-I${withval}/include/openssl -I${withval}/include"
+ SSLLIBS="-L${withval}/lib -lssl -lcrypto -Wl,-R${withval}/lib"
++
fi
- LIBS="$LIBS $withval"
+ SAVED_LIBS="${LIBS}"
@@ -141,7 +141,7 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
AC_MSG_RESULT(yes)
WWWSSL="libwwwssl.la"
LWWWSSL="-lwwwssl"
-@@ -586,6 +611,7 @@
+@@ -663,6 +686,7 @@ AC_ARG_WITH(ssl,
[ AC_MSG_RESULT(no) ])
AC_SUBST(WWWSSL)
AC_SUBST(SSLINC)
@@ -149,11 +149,3 @@ $NetBSD: patch-ah,v 1.8 2002/10/26 18:11:20 bouyer Exp $
AC_SUBST(LWWWSSL)
AC_SUBST(LIBWWWSSL)
AC_SUBST(WWWSSLEX)
-@@ -1006,7 +1032,6 @@
- Library/Makefile Library/User/Makefile Library/User/Patch/Makefile
- Library/User/Architecture/Makefile Library/User/Using/Makefile Library/User/Guide/Makefile
- Library/User/Style/Makefile Library/User/Platform/Makefile
--Library/Test/Makefile Library/Test/User/Makefile Library/Test/src/Makefile
- Library/src/Makefile Library/src/windows/Makefile Library/src/vms/Makefile
- Library/src/SSL/Makefile Library/src/SSL/windows/Makefile
- Library/Examples/Makefile