From 30b0ada6a92ba0a653fb4a59e5e0234954d10790 Mon Sep 17 00:00:00 2001 From: naddy Date: Wed, 3 Nov 2004 23:46:11 +0000 Subject: [PATCH] fix build with CITRUS; from XF4 XawI18n.h --- x11/Xaw3d/patches/patch-XawI18n_h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 x11/Xaw3d/patches/patch-XawI18n_h diff --git a/x11/Xaw3d/patches/patch-XawI18n_h b/x11/Xaw3d/patches/patch-XawI18n_h new file mode 100644 index 00000000000..db8065f04e8 --- /dev/null +++ b/x11/Xaw3d/patches/patch-XawI18n_h @@ -0,0 +1,16 @@ +$OpenBSD: patch-XawI18n_h,v 1.1 2004/11/03 23:46:11 naddy Exp $ +--- XawI18n.h.orig Thu Nov 4 00:32:53 2004 ++++ XawI18n.h Thu Nov 4 00:33:46 2004 +@@ -29,10 +29,12 @@ in this Software without prior written a + + #ifdef HAS_WCTYPE_H + #include ++#ifndef NO_WIDEC_H + #include + #define wcslen(c) wslen(c) + #define wcscpy(d,s) wscpy(d,s) + #define wcsncpy(d,s,l) wsncpy(d,s,l) ++#endif + #endif + + #ifdef HAS_WCHAR_H