aboutsummaryrefslogtreecommitdiff
path: root/net/gale/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-26 05:12:21 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-26 05:12:21 +0000
commit0cb3e9266a9e10414ee0b253138ee89de7adf3d0 (patch)
treeb14e891d2b59b088ff58ee123003063a2bf9cc6f /net/gale/files
parent2c2c21bd9dcaafd9612f9f17d283d99cf0933a0b (diff)
downloadports-0cb3e9266a9e10414ee0b253138ee89de7adf3d0.tar.gz
ports-0cb3e9266a9e10414ee0b253138ee89de7adf3d0.zip
Notes
Diffstat (limited to 'net/gale/files')
-rw-r--r--net/gale/files/patch-wcwidth17
1 files changed, 12 insertions, 5 deletions
diff --git a/net/gale/files/patch-wcwidth b/net/gale/files/patch-wcwidth
index 1092dcd62c6c..11029afc3555 100644
--- a/net/gale/files/patch-wcwidth
+++ b/net/gale/files/patch-wcwidth
@@ -1,10 +1,17 @@
---- libgale/wcwidth.c.orig Fri Oct 12 13:45:37 2001
-+++ libgale/wcwidth.c Fri Oct 12 13:45:52 2001
-@@ -8,8 +8,9 @@
+--- /tmp/wcwidth.c.orig Fri Oct 25 21:05:46 2002
++++ libgale/wcwidth.c Fri Oct 25 21:05:51 2002
+@@ -6,10 +6,16 @@
+ * Markus Kuhn -- 2000-02-08 -- public domain
+ */
- #ifdef __FreeBSD__ /* peterh@sapros.com */
+-#ifdef __FreeBSD__ /* peterh@sapros.com */
++#ifdef __FreeBSD__
++#include <osreldate.h>
++#if __FreeBSD_version >= 500000
++#include <wchar.h>
++#else
#include <rune.h>
--#endif
+ #endif
+#else
#include <wchar.h>
+#endif