fc188fc5fc
on other libraries, on both ELF and (NetBSD/)a.out, to make libwwwssl.so.?.? depend on the correct openssl shared libraries, as determined by the setting of ${SSLBASE} in bsd.pkg.mk. This closes PR pkg/12570, and has the additional advantage that programs that _do_ _not_ need to link in "-lwwwssl" won't get "-lssl" or "-lcrypto" at all. Also, make"w3c" and "www" build again with USE_SOCKS=4.
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
$NetBSD: patch-af,v 1.1 2001/04/20 12:33:53 fredb Exp $
|
|
|
|
--- Library/src/wwwsys.h.orig Wed Dec 20 05:00:07 2000
|
|
+++ Library/src/wwwsys.h
|
|
@@ -1138,25 +1138,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
|