diff options
author | olgeni <olgeni@FreeBSD.org> | 2002-02-08 04:52:33 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2002-02-08 04:52:33 +0800 |
commit | d2c89a40432c8435a7e6cfe7cbe9db7885ed6fd9 (patch) | |
tree | 367108161a86bbd7b8103b8f8a67f3844480ec71 /lang/erlang | |
parent | 8dca3568147df82ac81136251ab9464080eb6efd (diff) | |
download | freebsd-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-al | 18 |
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. |