summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2002-02-07 20:52:33 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2002-02-07 20:52:33 +0000
commit90fe751c8dbe1a6cc5f979ba5f571469581402a3 (patch)
treee236b1c4d258086733c2c6ae6afa04863b0c18f8 /lang/erlang
parentUpdate MAINTAINER's email address based upon bounce message. (diff)
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 000000000000..e178cccaa6ea
--- /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.