summaryrefslogtreecommitdiff
path: root/lang/gcl/files/patch-o_unixfasl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcl/files/patch-o_unixfasl.c')
-rw-r--r--lang/gcl/files/patch-o_unixfasl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/gcl/files/patch-o_unixfasl.c b/lang/gcl/files/patch-o_unixfasl.c
new file mode 100644
index 000000000000..7f731f935872
--- /dev/null
+++ b/lang/gcl/files/patch-o_unixfasl.c
@@ -0,0 +1,11 @@
+--- ./o/unixfasl.c.orig Sat Feb 15 00:38:28 2003
++++ ./o/unixfasl.c Sat Sep 13 23:52:25 2003
+@@ -282,7 +282,7 @@
+ static int
+ faslink(object faslfile, object ldargstring)
+ {
+-#if defined(__linux__) && defined(__ELF__)
++#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
+ FEerror("faslink() not supported for ELF yet",0);
+ return 0;
+ #else