pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/editline/patches Forgot this.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/860e62c1c958
branches:  trunk
changeset: 648819:860e62c1c958
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Thu Mar 19 23:05:33 2015 +0000

description:
Forgot this.

diffstat:

 devel/editline/patches/patch-src_chartype.h |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r c3b47cc61df1 -r 860e62c1c958 devel/editline/patches/patch-src_chartype.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editline/patches/patch-src_chartype.h       Thu Mar 19 23:05:33 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_chartype.h,v 1.1 2015/03/19 23:05:33 rodent Exp $
+
+OpenBSD's wchar_t can store these characters too.
+
+--- src/chartype.h.orig        2012-03-11 09:54:58.000000000 +0000
++++ src/chartype.h
+@@ -44,7 +44,7 @@
+  * supports non-BMP code points without requiring UTF-16, but nothing
+  * seems to actually advertise this properly, despite Unicode 3.1 having
+  * been around since 2001... */
+-#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__))
++#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__)
+ #ifndef __STDC_ISO_10646__
+ /* In many places it is assumed that the first 127 code points are ASCII
+  * compatible, so ensure wchar_t indeed does ISO 10646 and not some other



Home | Main Index | Thread Index | Old Index