summaryrefslogtreecommitdiff
path: root/editors/cooledit/patches
diff options
context:
space:
mode:
Diffstat (limited to 'editors/cooledit/patches')
-rw-r--r--editors/cooledit/patches/patch-aa37
-rw-r--r--editors/cooledit/patches/patch-ab13
-rw-r--r--editors/cooledit/patches/patch-ac12
-rw-r--r--editors/cooledit/patches/patch-ad21
-rw-r--r--editors/cooledit/patches/patch-ae19
-rw-r--r--editors/cooledit/patches/patch-af15
-rw-r--r--editors/cooledit/patches/patch-ag13
-rw-r--r--editors/cooledit/patches/patch-ah12
-rw-r--r--editors/cooledit/patches/patch-ai33
9 files changed, 175 insertions, 0 deletions
diff --git a/editors/cooledit/patches/patch-aa b/editors/cooledit/patches/patch-aa
new file mode 100644
index 00000000000..bf8c6e93753
--- /dev/null
+++ b/editors/cooledit/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- configure.orig Sun Oct 28 02:36:23 2001
++++ configure
+@@ -6243,7 +6197,6 @@
+
+ fi
+
+-PACKAGE_FORCE_USE_INCLUDED_GETTEXT=yes
+ echo $ac_n "checking for off_t""... $ac_c" 1>&6
+ echo "configure:6249: checking for off_t" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
+@@ -6770,12 +6723,9 @@
+ withval="$with_included_gettext"
+ nls_cv_force_use_gnu_gettext=$withval
+ else
+- nls_cv_force_use_gnu_gettext=yes
++ nls_cv_force_use_gnu_gettext=no
+ fi
+
+- if test x$PACKAGE_FORCE_USE_INCLUDED_GETTEXT != x ; then
+- nls_cv_force_use_gnu_gettext=$PACKAGE_FORCE_USE_INCLUDED_GETTEXT
+- fi
+ echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
+
+ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
+@@ -8093,8 +8056,8 @@
+ EOF
+
+ cat >> $CONFIG_STATUS <<EOF
+-ac_sources="$nls_cv_header_libgt $nls_cv_header_libgt"
+-ac_dests="$nls_cv_header_intl $nls_cv_header_intl"
++ac_sources="$nls_cv_header_libgt"
++ac_dests="$nls_cv_header_intl"
+ EOF
+
+ cat >> $CONFIG_STATUS <<\EOF
diff --git a/editors/cooledit/patches/patch-ab b/editors/cooledit/patches/patch-ab
new file mode 100644
index 00000000000..50c49d94bbb
--- /dev/null
+++ b/editors/cooledit/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- widget/libgettext.h.orig Sat Jul 6 15:38:39 2002
++++ widget/libgettext.h
+@@ -126,7 +126,7 @@
+ /* Solaris 2.3 has the gettext function but dcgettext is missing.
+ So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4
+ has dcgettext. */
+-# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT)
++# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) && !defined(__NetBSD__)
+
+ # define gettext(Msgid) \
+ dgettext (NULL, Msgid)
diff --git a/editors/cooledit/patches/patch-ac b/editors/cooledit/patches/patch-ac
new file mode 100644
index 00000000000..b04cc37a40a
--- /dev/null
+++ b/editors/cooledit/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- pixmap/Makefile.in.orig Sat Jul 6 16:20:21 2002
++++ pixmap/Makefile.in
+@@ -253,7 +253,6 @@
+
+ install-data-local:
+ chmod 0755 $(libdir)/coolicon/modify-xinitrc
+- $(libdir)/coolicon/modify-xinitrc
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/editors/cooledit/patches/patch-ad b/editors/cooledit/patches/patch-ad
new file mode 100644
index 00000000000..5e776373291
--- /dev/null
+++ b/editors/cooledit/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- widget/mad.c.orig Sat Oct 27 14:36:12 2001
++++ widget/mad.c
+@@ -24,6 +24,16 @@
+
+ #include "mad.h"
+
++#include "config.h"
++
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
++
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#endif
++
+ #undef malloc
+ #undef calloc
+ #undef strdup
diff --git a/editors/cooledit/patches/patch-ae b/editors/cooledit/patches/patch-ae
new file mode 100644
index 00000000000..c3262f05728
--- /dev/null
+++ b/editors/cooledit/patches/patch-ae
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- editor/postscript.c.orig Sat Oct 27 14:36:12 2001
++++ editor/postscript.c
+@@ -23,6 +23,14 @@
+ #include <unistd.h>
+ #endif
+
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
++
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#endif
++
+ #include "mad.h"
+
+ static void zfree (unsigned char *s)
diff --git a/editors/cooledit/patches/patch-af b/editors/cooledit/patches/patch-af
new file mode 100644
index 00000000000..9d7a3a1973d
--- /dev/null
+++ b/editors/cooledit/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- widget/aafont.c.orig Sat Oct 27 14:36:12 2001
++++ widget/aafont.c
+@@ -20,6 +20,10 @@
+ #include <config.h>
+ #include <stdlib.h>
+ #include <stdio.h>
++
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include "aafont.h"
diff --git a/editors/cooledit/patches/patch-ag b/editors/cooledit/patches/patch-ag
new file mode 100644
index 00000000000..2229d3fbc23
--- /dev/null
+++ b/editors/cooledit/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- icon/coolicon.c.orig Sat Oct 27 14:36:12 2001
++++ icon/coolicon.c
+@@ -239,7 +239,7 @@
+ return 0;
+ }
+
+-void raise_lower_all (int r)
++void raise_lower_all (long int r)
+ {
+ XUngrabPointer (CDisplay, CurrentTime);
+ for_all_widgets ((void *) raise_lower_all_callback, (void *) r, 0);
diff --git a/editors/cooledit/patches/patch-ah b/editors/cooledit/patches/patch-ah
new file mode 100644
index 00000000000..4c56857fe51
--- /dev/null
+++ b/editors/cooledit/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- widget/editcmd.c.orig Sat Oct 27 14:36:12 2001
++++ widget/editcmd.c
+@@ -249,6 +249,7 @@
+ FILE *file;
+ char *savename = 0;
+ int this_save_mode, fd;
++ extern char *edit_get_write_filter (char *writename, char *filename);
+
+ if (!filename)
+ return 0;
diff --git a/editors/cooledit/patches/patch-ai b/editors/cooledit/patches/patch-ai
new file mode 100644
index 00000000000..a3652abb60c
--- /dev/null
+++ b/editors/cooledit/patches/patch-ai
@@ -0,0 +1,33 @@
+$NetBSD: patch-ai,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
+
+--- editor/shell.c.orig Sat Oct 27 14:36:12 2001
++++ editor/shell.c
+@@ -437,8 +437,8 @@
+ {
+ CWidget *w;
+ struct running_shell *r;
+- int i, count = 0, do_redraw = 0;
+- r = &running_shell[i = (int) data];
++ long int i, count = 0, do_redraw = 0;
++ r = &running_shell[i = (long int) data];
+ if (r->shell_pipe != fd) {
+ printf ("huh??\n");
+ }
+@@ -560,7 +560,7 @@
+ char *argv[] =
+ {0, 0};
+ pid_t p;
+- int i;
++ long int i;
+ i = restart_shell (0, name, 0);
+ argv[0] = hme_i (SCRIPT_FILE, i);
+ savefile (argv[0], s, strlen (s), 0700);
+@@ -585,7 +585,7 @@
+ char *argv[] =
+ {0, 0};
+ pid_t p = 0;
+- int i;
++ long int i;
+
+ i = restart_shell (0, name, 0);
+ argv[0] = hme_i (SCRIPT_FILE, i);