aboutsummaryrefslogtreecommitdiff
path: root/japanese/tcl76
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-11-13 10:01:09 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-11-13 10:01:09 +0000
commit1d57184ff41ec0135b66cf383722efed6a6b4bf4 (patch)
treede8b19e3fdd1d24dbaeeb52a316bb2d174e6024e /japanese/tcl76
parent0eb05bc9b558095a7b9ea66339ae0aa03e69fd87 (diff)
downloadports-1d57184ff41ec0135b66cf383722efed6a6b4bf4.tar.gz
ports-1d57184ff41ec0135b66cf383722efed6a6b4bf4.zip
Fix compile error in 4-stable.
PR: 22654 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=35059
Diffstat (limited to 'japanese/tcl76')
-rw-r--r--japanese/tcl76/files/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/japanese/tcl76/files/patch-ae b/japanese/tcl76/files/patch-ae
new file mode 100644
index 000000000000..a883d27720fd
--- /dev/null
+++ b/japanese/tcl76/files/patch-ae
@@ -0,0 +1,20 @@
+--- ../generic/tclPosixStr.c~ Fri Oct 11 05:58:40 1996
++++ ../generic/tclPosixStr.c Tue Nov 7 09:11:13 2000
+@@ -336,7 +336,7 @@
+ #ifdef ENXIO
+ case ENXIO: return "ENXIO";
+ #endif
+-#ifdef EOPNOTSUPP
++#if defined(EOPNOTSUPP) && (EOPNOTSUPP != ENOTSUP)
+ case EOPNOTSUPP: return "EOPNOTSUPP";
+ #endif
+ #ifdef EPERM
+@@ -783,7 +783,7 @@
+ #ifdef ENXIO
+ case ENXIO: return "no such device or address";
+ #endif
+-#ifdef EOPNOTSUPP
++#if defined(EOPNOTSUPP) && (EOPNOTSUPP != ENOTSUP)
+ case EOPNOTSUPP: return "operation not supported on socket";
+ #endif
+ #ifdef EPERM