aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tcl76
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-11-13 18:01:09 +0800
committerasami <asami@FreeBSD.org>2000-11-13 18:01:09 +0800
commitd307bfa2d58e578170f8f6af55fc3c3a672b7e0d (patch)
tree03b8fa9b905537bab2eeebf89a7d36789f81c777 /japanese/tcl76
parentf67eff30bd21c9af846e3b46b40e7e2ff8991dd9 (diff)
downloadfreebsd-ports-gnome-d307bfa2d58e578170f8f6af55fc3c3a672b7e0d.tar.gz
freebsd-ports-gnome-d307bfa2d58e578170f8f6af55fc3c3a672b7e0d.tar.zst
freebsd-ports-gnome-d307bfa2d58e578170f8f6af55fc3c3a672b7e0d.zip
Fix compile error in 4-stable.
PR: 22654 Submitted by: maintainer
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