pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/canna Don't include machine/ansi.h on fbsd...
details: https://anonhg.NetBSD.org/pkgsrc/rev/abcd17340a53
branches: trunk
changeset: 365655:abcd17340a53
user: maya <maya%pkgsrc.org@localhost>
date: Sat Jul 22 17:53:16 2017 +0000
description:
Don't include machine/ansi.h on fbsd and os x which removed it.
do include sys/_types.h on freebsd because gcc does in the identical
fragment of code that it contains.
diffstat:
inputmethod/canna/distinfo | 4 ++--
inputmethod/canna/patches/patch-canna_widedef.h | 16 ++++++++++++++--
2 files changed, 16 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 9f3d2963720b -r abcd17340a53 inputmethod/canna/distinfo
--- a/inputmethod/canna/distinfo Sat Jul 22 17:44:40 2017 +0000
+++ b/inputmethod/canna/distinfo Sat Jul 22 17:53:16 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2017/07/22 17:44:40 maya Exp $
+$NetBSD: distinfo,v 1.17 2017/07/22 17:53:16 maya Exp $
SHA1 (Canna37p3.tar.bz2) = e39eece7c70c669dd46dd74b26121a60a2496fde
RMD160 (Canna37p3.tar.bz2) = 33e5eb9e2dc144835db838612897e652acbc60ed
@@ -6,7 +6,7 @@
Size (Canna37p3.tar.bz2) = 1263065 bytes
SHA1 (patch-Canna.conf) = 81b46285a2b91c07b8497dc6669eb26552391a6c
SHA1 (patch-Imakefile) = a70dee63ce9ce392b29b76df70479fee45e1a2b9
-SHA1 (patch-canna_widedef.h) = c52cbbe5b55fc4fca6a501eef50fbf5bb878e514
+SHA1 (patch-canna_widedef.h) = 711bc129ca58265fb7555b99f9fe7fa72bebd7fc
SHA1 (patch-canuum_Imakefile) = 5f4e7970a92d514ec538e4591eaa4f46843654a3
SHA1 (patch-canuum_canna.c) = a543a720fba9e2f770d6397d6b05352cfa58f300
SHA1 (patch-canuum_config.h.in) = 98547954e459bd85e5b03fc86f34fb5d1e3eed4b
diff -r 9f3d2963720b -r abcd17340a53 inputmethod/canna/patches/patch-canna_widedef.h
--- a/inputmethod/canna/patches/patch-canna_widedef.h Sat Jul 22 17:44:40 2017 +0000
+++ b/inputmethod/canna/patches/patch-canna_widedef.h Sat Jul 22 17:53:16 2017 +0000
@@ -1,10 +1,22 @@
-$NetBSD: patch-canna_widedef.h,v 1.1 2015/10/18 03:58:31 tsutsui Exp $
+$NetBSD: patch-canna_widedef.h,v 1.2 2017/07/22 17:53:16 maya Exp $
DragonFly wchar_t support.
+apple and freebsd no longer have machine/ansi.h
+freebsd probably needs sys/_types.h as it does on gcc which is the
+source of this file.
--- canna/widedef.h.orig 2003-12-27 17:15:20.000000000 +0000
+++ canna/widedef.h
-@@ -36,7 +36,10 @@
+@@ -29,14 +29,17 @@
+
+ #ifdef __FreeBSD__
+ # include <osreldate.h>
++# include <sys/_types.h>
+ #endif
+
+-#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) \
+- || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
++#if defined(__NetBSD__) || defined(__OpenBSD__)
# include <machine/ansi.h>
#endif
Home |
Main Index |
Thread Index |
Old Index