summaryrefslogtreecommitdiffstats
path: root/editors/abiword/files/patch-aa
blob: 36d19072ba9a6692c13b129e82e84135514ceb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
diff -ruN src.old/af/gr/unix/Makefile src/af/gr/unix/Makefile
--- src.old/af/gr/unix/Makefile	Fri Apr  9 08:47:46 1999
+++ src/af/gr/unix/Makefile	Tue May  4 03:59:30 1999
@@ -25,7 +25,7 @@
 CPPSRCS=		gr_UnixGraphics.cpp	\
 			gr_UnixImage.cpp
 
-INCLUDES=		-I/usr/X11R6/include
+INCLUDES=		-I/usr/local/include -I/usr/X11R6/include
 
 TARGETS=		$(OBJS)
 
diff -ruN src.old/af/util/xp/Makefile src/af/util/xp/Makefile
--- src.old/af/util/xp/Makefile	Fri Apr  9 08:47:55 1999
+++ src/af/util/xp/Makefile	Tue May  4 03:59:30 1999
@@ -44,7 +44,8 @@
 
 TARGETS=		$(OBJS)
 INCLUDES=		-I$(ABI_DEPTH)/../../libpng	\
-			-I$(ABI_DEPTH)/../../zlib
+			-I$(ABI_DEPTH)/../../zlib \
+			-I/usr/local/include
 
 include $(ABI_DEPTH)/config/abi_rules.mk
 
diff -ruN src.old/af/util/xp/ut_png.cpp src/af/util/xp/ut_png.cpp
--- src.old/af/util/xp/ut_png.cpp	Fri Feb 19 09:20:25 1999
+++ src/af/util/xp/ut_png.cpp	Tue May  4 03:59:30 1999
@@ -17,7 +17,7 @@
  * 02111-1307, USA.
  */
 
-#include "png.h"
+#include <png.h>
 
 #include "ut_assert.h"
 #include "ut_bytebuf.h"
diff -ruN src.old/af/xap/unix/Makefile src/af/xap/unix/Makefile
--- src.old/af/xap/unix/Makefile	Tue Apr 20 19:50:40 1999
+++ src/af/xap/unix/Makefile	Tue May  4 03:59:30 1999
@@ -42,7 +42,7 @@
 			xap_UnixPSGraphics.cpp
 
 TARGETS=		$(OBJS)
-INCLUDES=		-I/usr/X11R6/include
+INCLUDES=		-I/usr/local/include -I/usr/X11R6/include
 
 include $(ABI_DEPTH)/config/abi_rules.mk
 
diff -ruN src.old/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp
--- src.old/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp	Thu Apr 22 12:11:15 1999
+++ src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp	Tue May  4 03:59:30 1999
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
+#include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include "ut_string.h"
diff -ruN src.old/af/xap/unix/xap_UnixFont.cpp src/af/xap/unix/xap_UnixFont.cpp
--- src.old/af/xap/unix/xap_UnixFont.cpp	Tue Apr 20 07:35:11 1999
+++ src/af/xap/unix/xap_UnixFont.cpp	Tue May  4 03:59:30 1999
@@ -21,6 +21,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 #include <sys/stat.h>
 
 #include "ut_string.h"
diff -ruN src.old/config/abi_defs.mk src/config/abi_defs.mk
--- src.old/config/abi_defs.mk	Thu Apr 29 10:46:27 1999
+++ src/config/abi_defs.mk	Tue May  4 03:59:30 1999
@@ -230,8 +230,8 @@
 ## We should change this when get non-gtk versions on unix....
 
 ifeq ($(ABI_NATIVE),unix)
-CFLAGS 		+=	`gtk-config --cflags`
-EXTRA_LIBS	+=	`gtk-config --libs`
+CFLAGS 		+=	`gtk12-config --cflags`
+EXTRA_LIBS	+=	`gtk12-config --libs`
 endif
 
 ##################################################################
diff -ruN src.old/config/require/unix/Makefile src/config/require/unix/Makefile
--- src.old/config/require/unix/Makefile	Fri Apr  9 09:20:30 1999
+++ src/config/require/unix/Makefile	Tue May  4 03:59:30 1999
@@ -48,12 +48,12 @@
 REQ_GTK_BUILD=13
 
 _GLIB_:
-	@glib-config --version >/dev/null 2>&1 			\
+	@glib12-config --version >/dev/null 2>&1 			\
 	|| (echo glib not found; exit 1)
 	@echo TODO verify version is greater than 1.1.??
 
 _GTK_:
-	@gtk-config --version >/dev/null 2>&1			\
+	@gtk12-config --version >/dev/null 2>&1			\
 	|| (echo gtk not found; exit 1)
 	@echo TODO verify version is greater than 1.1.??
 
diff -ruN src.old/hello/main/unix/Makefile src/hello/main/unix/Makefile
--- src.old/hello/main/unix/Makefile	Fri Apr  9 09:43:52 1999
+++ src/hello/main/unix/Makefile	Tue May  4 03:59:30 1999
@@ -24,7 +24,7 @@
 
 CPPSRCS=		UnixMain.cpp
 
-INCLUDES=		`gtk-config --cflags`
+INCLUDES=		`gtk12-config --cflags`
 
 PROGRAM=		AbiHello
 
diff -ruN src.old/wp/ap/unix/ap_UnixApp.cpp src/wp/ap/unix/ap_UnixApp.cpp
--- src.old/wp/ap/unix/ap_UnixApp.cpp	Mon Apr 26 13:39:41 1999
+++ src/wp/ap/unix/ap_UnixApp.cpp	Tue May  4 03:59:30 1999
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 #include <sys/stat.h>
 
 #include "ut_debugmsg.h"
diff -ruN src.old/wp/ap/xp/ap_Prefs_SchemeIds.h src/wp/ap/xp/ap_Prefs_SchemeIds.h
--- src.old/wp/ap/xp/ap_Prefs_SchemeIds.h	Sun Apr 18 22:29:36 1999
+++ src/wp/ap/xp/ap_Prefs_SchemeIds.h	Tue May  4 04:03:32 1999
@@ -50,13 +50,13 @@
 #define AP_PREF_KEY_StringSet						"StringSet"
 #define AP_PREF_DEFAULT_StringSet					"EnUS"						/* name of dialog/msgbox strings */
 #define AP_PREF_KEY_BeOSISpellDirectory				"BeOSISpellDirectory"
-#define AP_PREF_DEFAULT_BeOSISpellDirectory			"/usr/lib/ispell" 			/* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */
+#define AP_PREF_DEFAULT_BeOSISpellDirectory			"/usr/local/lib" 			/* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */
 
 #define AP_PREF_KEY_BeOSStringSetDirectory			"BeOSStringSetDirectory"
 #define AP_PREF_DEFAULT_BeOSStringSetDirectory		"/boot/home/config/settings/AbiSuite/AbiWord/lib"	/* where we find StringSets */ /* TODO DECIDE WHERE THIS SHOULD BE */
 
 #define AP_PREF_KEY_UnixISpellDirectory				"UnixISpellDirectory"
-#define AP_PREF_DEFAULT_UnixISpellDirectory			"/usr/lib/ispell" 			/* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */
+#define AP_PREF_DEFAULT_UnixISpellDirectory			"/usr/local/lib" 			/* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */
 
 #define AP_PREF_KEY_UnixStringSetDirectory			"UnixStringSetDirectory"
 #define AP_PREF_DEFAULT_UnixStringSetDirectory		"/usr/local/AbiSuite/AbiWord/lib"	/* where we find StringSets */ /* TODO DECIDE WHERE THIS SHOULD BE */
diff -ruN src.old/wp/main/unix/Makefile src/wp/main/unix/Makefile
--- src.old/wp/main/unix/Makefile	Fri Apr  9 09:13:48 1999
+++ src/wp/main/unix/Makefile	Tue May  4 03:59:30 1999
@@ -24,7 +24,7 @@
 
 CPPSRCS=		UnixMain.cpp
 
-INCLUDES=		`gtk-config --cflags`
+INCLUDES=		`gtk12-config --cflags`
 
 PROGRAM=		AbiWord
 
OpenPOWER on IntegriCloud