aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-02-08 04:52:33 +0800
committerolgeni <olgeni@FreeBSD.org>2002-02-08 04:52:33 +0800
commitd2c89a40432c8435a7e6cfe7cbe9db7885ed6fd9 (patch)
tree367108161a86bbd7b8103b8f8a67f3844480ec71 /lang/erlang
parent8dca3568147df82ac81136251ab9464080eb6efd (diff)
downloadfreebsd-ports-graphics-d2c89a40432c8435a7e6cfe7cbe9db7885ed6fd9.tar.gz
freebsd-ports-graphics-d2c89a40432c8435a7e6cfe7cbe9db7885ed6fd9.tar.zst
freebsd-ports-graphics-d2c89a40432c8435a7e6cfe7cbe9db7885ed6fd9.zip
Fix strerror_r conflict.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/files/patch-al18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-al b/lang/erlang/files/patch-al
new file mode 100644
index 00000000000..e178cccaa6e
--- /dev/null
+++ b/lang/erlang/files/patch-al
@@ -0,0 +1,18 @@
+--- erl_error.c.orig Thu Feb 7 21:29:56 2002
++++ erl_error.c Thu Feb 7 21:32:55 2002
+@@ -177,6 +177,7 @@
+ }
+ #endif /* !HAVE_STRERROR */
+
++#ifdef 0
+ #ifndef HAVE_STRERROR_R
+ /*
+ * A reentrant form of strerror. It's a GNU extension originally.
+@@ -218,6 +219,7 @@
+ return buf;
+ }
+ #endif /* !HAVE_STRERROR_R */
++#endif
+
+
+ /* Print a message and return to caller.