1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-03 22:23:24 +00:00
freebsd-ports/net/socks5/files/patch-aa
Warner Losh ffe162b612 Update to ELF and v1.0r7. This version supports only one type of
binaries (ELF OR aout) with runsocks.
1998-10-07 18:51:28 +00:00

21 lines
609 B
Plaintext

--- lib/rld.c.org Wed Jun 24 22:32:37 1998
+++ lib/rld.c Wed Jun 24 22:33:11 1998
@@ -114,7 +114,7 @@
static void GetOriginalFunc(void **fptr, char *name, int libmask) {
/* Synchronize access to func and lib opening functions if we can... */
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) || __FreeBSD__ != 2
name++;
#endif
@@ -140,7 +140,7 @@
static void DGetOriginalFunc(void **fptr, char *name, int libmask) {
/* Synchronize access to func and lib opening functions if we can... */
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) || __FreeBSD__ != 2
name++;
#endif