aboutsummaryrefslogtreecommitdiff
path: root/editors/AbiWord2/files
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-05-12 05:21:11 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-05-12 05:21:11 +0000
commit4c9b800eba23a09278a9d991095e0539dbc7a943 (patch)
tree303d71b2f792eae87909dd9d1a34643d966ad0d3 /editors/AbiWord2/files
parent7a143b12174768d7758954bc81fe96972d19e8cf (diff)
downloadports-4c9b800eba23a09278a9d991095e0539dbc7a943.tar.gz
ports-4c9b800eba23a09278a9d991095e0539dbc7a943.zip
Fix compilation errors.
PR: 11612 Submitted by: cpiazza@home.net
Notes
Notes: svn path=/head/; revision=18792
Diffstat (limited to 'editors/AbiWord2/files')
-rw-r--r--editors/AbiWord2/files/patch-aa150
-rw-r--r--editors/AbiWord2/files/patch-af10
-rw-r--r--editors/AbiWord2/files/patch-ag13
3 files changed, 25 insertions, 148 deletions
diff --git a/editors/AbiWord2/files/patch-aa b/editors/AbiWord2/files/patch-aa
index 36d19072ba9a..ce0149fac22c 100644
--- a/editors/AbiWord2/files/patch-aa
+++ b/editors/AbiWord2/files/patch-aa
@@ -1,6 +1,5 @@
-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
+--- af/gr/unix/Makefile.orig Fri Apr 9 08:47:46 1999
++++ af/gr/unix/Makefile Sun May 9 10:40:19 1999
@@ -25,7 +25,7 @@
CPPSRCS= gr_UnixGraphics.cpp \
gr_UnixImage.cpp
@@ -10,148 +9,3 @@ diff -ruN src.old/af/gr/unix/Makefile src/af/gr/unix/Makefile
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
-
diff --git a/editors/AbiWord2/files/patch-af b/editors/AbiWord2/files/patch-af
new file mode 100644
index 000000000000..dc6c520f1370
--- /dev/null
+++ b/editors/AbiWord2/files/patch-af
@@ -0,0 +1,10 @@
+--- af/xap/unix/xap_UnixFont.cpp.orig Tue Apr 20 07:35:11 1999
++++ af/xap/unix/xap_UnixFont.cpp Sun May 9 10:40:19 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 --git a/editors/AbiWord2/files/patch-ag b/editors/AbiWord2/files/patch-ag
new file mode 100644
index 000000000000..1681bef3593e
--- /dev/null
+++ b/editors/AbiWord2/files/patch-ag
@@ -0,0 +1,13 @@
+--- config/abi_defs.mk.orig Thu Apr 29 10:46:27 1999
++++ config/abi_defs.mk Sun May 9 10:40:19 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
+
+ ##################################################################