diff options
author | tron <tron> | 1999-02-02 23:14:04 +0000 |
---|---|---|
committer | tron <tron> | 1999-02-02 23:14:04 +0000 |
commit | e60546d6089f45620d766f825048159240b9cdc5 (patch) | |
tree | 2bb2f0294e2865aeceab1794b19305aa230105ed /editors/xcoral/patches | |
parent | ec0b2b55ac89f23c7bfee6d3a25151f057e38d1e (diff) | |
download | pkgsrc-e60546d6089f45620d766f825048159240b9cdc5.tar.gz |
Adapt this package to NetBSD.
Diffstat (limited to 'editors/xcoral/patches')
-rw-r--r-- | editors/xcoral/patches/patch-aa | 21 | ||||
-rw-r--r-- | editors/xcoral/patches/patch-ab | 23 |
2 files changed, 44 insertions, 0 deletions
diff --git a/editors/xcoral/patches/patch-aa b/editors/xcoral/patches/patch-aa index e69de29bb2d..25bd2909355 100644 --- a/editors/xcoral/patches/patch-aa +++ b/editors/xcoral/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.2 1999/02/02 23:14:04 tron Exp $ + +--- bm_search.c.orig Sun Sep 20 18:49:08 1998 ++++ bm_search.c Wed Feb 3 00:00:27 1999 +@@ -57,7 +57,6 @@ + #include <X11/Xutil.h> + #include <sys/types.h> + #define const +-#include "regex.h" + + #include "main_text.h" + #include "bm_search.h" +@@ -69,6 +68,8 @@ + #include "dial_box.h" + #include "ie_func.h" + #include "selection.h" ++/* Put this at the end since it overrides system includes */ ++#include "regex.h" + + static char *str_save = 0; + static char *str_old = 0; diff --git a/editors/xcoral/patches/patch-ab b/editors/xcoral/patches/patch-ab index e69de29bb2d..b18fd0f862e 100644 --- a/editors/xcoral/patches/patch-ab +++ b/editors/xcoral/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.2 1999/02/02 23:14:04 tron Exp $ + +--- fs_box.c.orig Mon Oct 12 20:25:23 1998 ++++ fs_box.c Wed Feb 3 00:00:27 1999 +@@ -437,8 +437,16 @@ + } + } + } +- qsort ( (char *) tmp_dir, ndir, sizeof ( char *), NewCompare ); +- qsort ( (char *) tmp_file, nfile, sizeof ( char *), NewCompare ); ++ qsort ( (char *) tmp_dir, ndir, sizeof ( char *), ++#if defined(__NetBSD__) ++ (int (*)(const void *, const void *)) ++#endif ++ NewCompare ); ++ qsort ( (char *) tmp_file, nfile, sizeof ( char *), ++#if defined(__NetBSD__) ++ (int (*)(const void *, const void *)) ++#endif ++ NewCompare ); + + for ( n = 0; n < ndir; n++ ) { + InsertNchar ( fs_box.buf_dir, (char *) tmp_dir [n], |