mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
397cbd5c1b
commit
edf9db9125
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12038
1 changed files with 20 additions and 0 deletions
20
net/socks5/files/patch-aa
Normal file
20
net/socks5/files/patch-aa
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue