aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-29 17:32:22 +0800
committersobomax <sobomax@FreeBSD.org>2001-05-29 17:32:22 +0800
commit48dd8c8bed9c5ae8b34573fc778b7fdd9a8a03d5 (patch)
tree677f6604513dfbb09656ab54f3ff29b6e25daaa2
parentb0845993eef62b13bbdc4b75c6e143ab680e05aa (diff)
downloadfreebsd-ports-gnome-48dd8c8bed9c5ae8b34573fc778b7fdd9a8a03d5.tar.gz
freebsd-ports-gnome-48dd8c8bed9c5ae8b34573fc778b7fdd9a8a03d5.tar.zst
freebsd-ports-gnome-48dd8c8bed9c5ae8b34573fc778b7fdd9a8a03d5.zip
Unbroke on 5-CURRENT.
-rw-r--r--converters/libiconv/files/patch-lib::loop_wchar.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/converters/libiconv/files/patch-lib::loop_wchar.h b/converters/libiconv/files/patch-lib::loop_wchar.h
new file mode 100644
index 000000000000..33bfd80b6e88
--- /dev/null
+++ b/converters/libiconv/files/patch-lib::loop_wchar.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/loop_wchar.h 2001/05/29 09:13:16 1.1
++++ lib/loop_wchar.h 2001/05/29 09:14:16
+@@ -32,7 +32,7 @@
+ #define mbsinit(ps) 1
+ #endif
+ #else
+-#ifndef mbstate_t
++#if !defined(mbstate_t) && !defined(__FreeBSD__)
+ typedef int mbstate_t;
+ #endif
+ #endif