diff options
author | imp <imp@FreeBSD.org> | 1998-07-21 07:37:26 +0800 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-07-21 07:37:26 +0800 |
commit | 5dc5ab0abcb8d4859824a6565bef3a003301b002 (patch) | |
tree | 651b1e4939074d2178e09b2d698dec9f6ff41df9 /net/socks5 | |
parent | b580b5cbda45fff4beb7ed8cda86e8f59fef91b2 (diff) | |
download | freebsd-ports-gnome-5dc5ab0abcb8d4859824a6565bef3a003301b002.tar.gz freebsd-ports-gnome-5dc5ab0abcb8d4859824a6565bef3a003301b002.tar.zst freebsd-ports-gnome-5dc5ab0abcb8d4859824a6565bef3a003301b002.zip |
Fix minor problems with FreeBSD 1.x dynamic loader workarounds breaking
FreeBSD 2.x dynamic loader. This makes more programs, including emacs,
work with runsocks.
This patch will work at least as far back as 1.0r3.
Submitted by: Aaron Smith <aaron@sigma.veritas.com>
Diffstat (limited to 'net/socks5')
-rw-r--r-- | net/socks5/files/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/socks5/files/patch-aa b/net/socks5/files/patch-aa new file mode 100644 index 000000000000..6ce05c1b1658 --- /dev/null +++ b/net/socks5/files/patch-aa @@ -0,0 +1,20 @@ +--- 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 + |