ports/net-im/gale/files/patch-libgale_wcwidth
Sam Lawrance f4eaefd0d1 Unbreak on 4.x by using the port's included wide character functions.
PR:		ports/80230
Submitted by:	Jason Stone <jason-fbsd-ports-gale@shalott.net> (maintainer)
Approved by:	clement (mentor)
2005-04-23 08:39:14 +00:00

15 lines
338 B
Text

--- libgale/wcwidth.c.orig Mon Dec 30 21:08:50 2002
+++ libgale/wcwidth.c Thu Apr 21 15:02:47 2005
@@ -6,6 +6,7 @@
* Markus Kuhn -- 2000-02-08 -- public domain
*/
+#ifdef NEED_WCWIDTH
#include "gale/compat.h"
/* These functions define the column width of an ISO 10646 character
@@ -126,3 +127,4 @@
return width;
}
+#endif