View | Details | Raw Unified | Return to bug 120415
Collapse All | Expand All

(-)files/patch-src_basic.h (+12 lines)
Added Link Here
1
--- src/basic.h.orig	2008-02-08 16:40:42.000000000 +0100
2
+++ src/basic.h	2008-02-08 16:40:48.000000000 +0100
3
@@ -36,9 +36,6 @@
4
 
5
 extern const int colmagic[9];
6
 extern  const int rowmagic[9];
7
-extern char * motion_name[9];
8
-extern enum motion_magic complementary_motion[9];
9
-extern enum motion_magic opposite_motion[9];
10
 
11
 extern int run_load_hooks;
12
 
(-)files/patch-src_io-term.c (+25 lines)
Added Link Here
1
--- src/io-term.c.orig	2008-02-08 16:43:28.000000000 +0100
2
+++ src/io-term.c	2008-02-08 16:45:06.000000000 +0100
3
@@ -220,6 +220,7 @@
4
 {
5
   int	set_opt = 1;
6
   int	i, l;
7
+  int *tmp;
8
   char	*p;
9
 
10
   while (*ptr == ' ')
11
@@ -234,9 +235,11 @@
12
 
13
 		if (Preferences[i].copynext) {
14
 			ptr += strlen(Preferences[i].name) + 1;
15
-			((char *)Preferences[i].var) = strdup(ptr);
16
-		} else if (Preferences[i].var)
17
-			*((int *)Preferences[i].var) = Preferences[i].value;
18
+			Preferences[i].var = strdup(ptr);
19
+		} else if (Preferences[i].var) {
20
+         tmp = Preferences[i].var;
21
+			*tmp = Preferences[i].value;
22
+      }
23
 
24
 		if (Preferences[i].cont == 0)
25
 			return 1;
(-)files/patch-src_io-term.h (+10 lines)
Added Link Here
1
--- src/io-term.h.orig	2008-02-08 16:38:59.000000000 +0100
2
+++ src/io-term.h	2008-02-08 16:38:48.000000000 +0100
3
@@ -21,6 +21,7 @@
4
  */
5
 
6
 #include <setjmp.h>
7
+#include "funcs.h"
8
 #include "global.h"
9
 
10
 extern int using_x;
(-)Makefile (-8 / +2 lines)
Lines 12-18 Link Here
12
MASTER_SITES=	${MASTER_SITE_GNU}
12
MASTER_SITES=	${MASTER_SITE_GNU}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	gahr@gahr.ch
16
COMMENT=	The GNU spreadsheet for X11 and terminals
16
COMMENT=	The GNU spreadsheet for X11 and terminals
17
17
18
USE_PERL5_BUILD=	yes
18
USE_PERL5_BUILD=	yes
Lines 28-39 Link Here
28
OPTIONS=	MOTIF "Motif support" off \
28
OPTIONS=	MOTIF "Motif support" off \
29
		NLS "NLS support" on
29
		NLS "NLS support" on
30
30
31
.include <bsd.port.pre.mk>
32
33
.if ${OSVERSION} >= 700042
34
BROKEN=		Broken with gcc 4.2
35
.endif
36
37
.if defined(WITH_MOTIF)
31
.if defined(WITH_MOTIF)
38
LIB_DEPENDS+=	plot:${PORTSDIR}/graphics/plotutils \
32
LIB_DEPENDS+=	plot:${PORTSDIR}/graphics/plotutils \
39
		Xbae:${PORTSDIR}/x11-toolkits/xbae \
33
		Xbae:${PORTSDIR}/x11-toolkits/xbae \
Lines 72-75 Link Here
72
		&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
66
		&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
73
.endfor
67
.endfor
74
68
75
.include <bsd.port.post.mk>
69
.include <bsd.port.mk>

Return to bug 120415