prevent segfault on amd64, no idea if it works fine yet.

no pkg bump, since this just fixes build.
This commit is contained in:
espie 2008-08-29 15:01:29 +00:00
parent a7a6d3279d
commit ebc08afb77
5 changed files with 23 additions and 14 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Canna_conf,v 1.3 2005/12/29 13:03:55 espie Exp $
$OpenBSD: patch-Canna_conf,v 1.4 2008/08/29 15:01:29 espie Exp $
--- Canna.conf.orig Thu Nov 28 11:27:01 1996
+++ Canna.conf Thu Dec 29 13:40:22 2005
+++ Canna.conf Fri Aug 29 16:52:05 2008
@@ -129,19 +129,19 @@
*/
@ -31,7 +31,7 @@ $OpenBSD: patch-Canna_conf,v 1.3 2005/12/29 13:03:55 espie Exp $
+cannaGroup = ${CANNAGROUP}
cannaOwnerGroup = -o $(cannaOwner) -g $(cannaGroup)
@@ -149,5 +149,10 @@ cannaOwnerGroup = -o $(cannaOwner) -g $(
@@ -149,5 +149,10 @@ cannaOwnerGroup = -o $(cannaOwner) -g $(cannaGroup)
pointerIntegerDef =
-cannaDsoRev = 1

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-dic_ideo_grammar_Imakefile,v 1.1.1.1 2000/04/22 11:50:37 espie Exp $
$OpenBSD: patch-dic_ideo_grammar_Imakefile,v 1.2 2008/08/29 15:01:29 espie Exp $
--- dic/ideo/grammar/Imakefile.orig Wed Nov 27 08:14:45 1996
+++ dic/ideo/grammar/Imakefile Sat Apr 22 03:10:08 2000
@@ -86,5 +86,5 @@ InstallMultipleFlags($(ALLDIC),$(CANNADI
+++ dic/ideo/grammar/Imakefile Fri Aug 29 16:52:05 2008
@@ -86,5 +86,5 @@ InstallMultipleFlags($(ALLDIC),$(CANNADICDIR),-m 0664
install::
- $(CHGRP) $(cannaGroup) $(CANNADICDIR)

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-dic_ideo_pubdic_pod_c,v 1.1 2008/08/29 15:01:29 espie Exp $
--- dic/ideo/pubdic/pod.c.orig Fri Aug 29 16:57:13 2008
+++ dic/ideo/pubdic/pod.c Fri Aug 29 16:57:24 2008
@@ -26,4 +26,5 @@ static char rcsid[] = "$Id: pod.c,v 1.41 1994/05/31 11
#include <stdio.h>
+#include <stdlib.h>
#define bzero(a, c) memset(a, 0, c)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_canna_canna_h,v 1.1 2002/03/26 19:58:37 espie Exp $
--- lib/canna/canna.h.orig Tue Mar 26 20:32:09 2002
+++ lib/canna/canna.h Tue Mar 26 20:33:34 2002
@@ -110,7 +110,11 @@ extern CANNA_wcstombs pro((char *, wchar
$OpenBSD: patch-lib_canna_canna_h,v 1.2 2008/08/29 15:01:29 espie Exp $
--- lib/canna/canna.h.orig Mon Dec 2 03:20:15 1996
+++ lib/canna/canna.h Fri Aug 29 16:52:05 2008
@@ -110,7 +110,11 @@ extern CANNA_wcstombs pro((char *, wchar_t *, int));
# include <memory.h>
# endif
-# ifndef __EMX__

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-server_convert_c,v 1.1 2003/03/12 21:21:55 brad Exp $
--- server/convert.c.orig Mon Dec 2 06:01:34 1996
+++ server/convert.c Wed Mar 12 14:59:07 2003
@@ -54,4 +54,6 @@ static char rcs_id[] = "@(#) 102.1 $Id:
$OpenBSD: patch-server_convert_c,v 1.2 2008/08/29 15:01:29 espie Exp $
--- server/convert.c.orig Mon Dec 2 12:01:34 1996
+++ server/convert.c Fri Aug 29 16:52:05 2008
@@ -54,4 +54,6 @@ static char rcs_id[] = "@(#) 102.1 $Id: convert.c,v 6.
#define ACK3 3
#define CHECK_ACK_BUF_SIZE (ACK_BUFSIZE + (SIZEOFLONG * 2) )
+#define IR_INT_MAX 32767