summaryrefslogtreecommitdiff
path: root/sysutils/clex/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/clex/patches')
-rw-r--r--sysutils/clex/patches/patch-aa13
-rw-r--r--sysutils/clex/patches/patch-ab13
-rw-r--r--sysutils/clex/patches/patch-ac13
-rw-r--r--sysutils/clex/patches/patch-ad13
-rw-r--r--sysutils/clex/patches/patch-ae13
-rw-r--r--sysutils/clex/patches/patch-af13
-rw-r--r--sysutils/clex/patches/patch-ag13
-rw-r--r--sysutils/clex/patches/patch-ah13
-rw-r--r--sysutils/clex/patches/patch-ai13
-rw-r--r--sysutils/clex/patches/patch-src_cfg-clex15
-rw-r--r--sysutils/clex/patches/patch-src_clexheaders.h12
11 files changed, 27 insertions, 117 deletions
diff --git a/sysutils/clex/patches/patch-aa b/sysutils/clex/patches/patch-aa
deleted file mode 100644
index 19db6171f00..00000000000
--- a/sysutils/clex/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/bookmarks.c.orig 2006-01-13 14:28:29.000000000 +0000
-+++ src/bookmarks.c
-@@ -43,8 +43,6 @@ static FLAG changed = 0; /* bookmarks h
- static const char *user_bm_file; /* personal bookmarks filename */
- static time_t bm_file_mod = 0; /* last modification of the file */
-
--extern int errno;
--
- static void
- bm_error(const char *format, ...)
- {
diff --git a/sysutils/clex/patches/patch-ab b/sysutils/clex/patches/patch-ab
deleted file mode 100644
index cbe008bcfb4..00000000000
--- a/sysutils/clex/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/cfg.c.orig 2006-01-13 14:43:42.000000000 +0000
-+++ src/cfg.c
-@@ -42,8 +42,6 @@
- #define CFG_LINES_LIMIT 100 /* config file size limit (in lines) */
- #define CFG_ERRORS_LIMIT 12 /* error limit */
-
--extern int errno;
--
- static const char *user_config_file; /* personal cfg filename */
-
- /* used in error handling: */
diff --git a/sysutils/clex/patches/patch-ac b/sysutils/clex/patches/patch-ac
deleted file mode 100644
index cef227f3926..00000000000
--- a/sysutils/clex/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2007/07/12 12:43:21 obache Exp $
-
---- src/completion.c.orig 2007-04-24 08:58:51.000000000 +0200
-+++ src/completion.c
-@@ -111,8 +111,6 @@ static int cc_max; /* max number of ca
- static FLAG done; /* done: completion not possible or
- full (not partial) name was completed */
-
--extern int errno;
--
- static void
- environ_completion_init(void)
- {
diff --git a/sysutils/clex/patches/patch-ad b/sysutils/clex/patches/patch-ad
deleted file mode 100644
index 99681b238e8..00000000000
--- a/sysutils/clex/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2007/07/12 12:43:21 obache Exp $
-
---- src/exec.c.orig 2007-04-24 08:59:04.000000000 +0200
-+++ src/exec.c
-@@ -50,8 +50,6 @@
- #include "ustring.h" /* us_copy() */
- #include "xterm_title.h" /* xterm_title_set() */
-
--extern int errno;
--
- #define MAX_SHELL_ARGS 8
- static char *shell_argv[MAX_SHELL_ARGS + 2 + 1];
- static int cmd_index; /* which parameter is the command
diff --git a/sysutils/clex/patches/patch-ae b/sysutils/clex/patches/patch-ae
deleted file mode 100644
index b717b443eaf..00000000000
--- a/sysutils/clex/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/filepanel.c.orig 2006-01-13 14:58:36.000000000 +0000
-+++ src/filepanel.c
-@@ -37,8 +37,6 @@
- #include "ustring.h" /* USTR() */
- #include "util.h" /* base_name() */
-
--extern int errno;
--
- void
- files_initialize(void)
- {
diff --git a/sysutils/clex/patches/patch-af b/sysutils/clex/patches/patch-af
deleted file mode 100644
index af7a551b2a6..00000000000
--- a/sysutils/clex/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/help.c.orig 2006-01-13 14:58:59.000000000 +0000
-+++ src/help.c
-@@ -94,8 +94,6 @@ static int head, tail; /* circular buf
- #define MVINDEX(X,N) \
- (X = (X + HELP_HISTORY_ALLOC + N) % HELP_HISTORY_ALLOC)
-
--extern int errno;
--
- static int
- page2num(const char *pagename)
- {
diff --git a/sysutils/clex/patches/patch-ag b/sysutils/clex/patches/patch-ag
deleted file mode 100644
index 4c56c99617b..00000000000
--- a/sysutils/clex/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2007/07/12 12:43:21 obache Exp $
-
---- src/list.c.orig 2007-04-24 08:59:39.000000000 +0200
-+++ src/list.c
-@@ -83,8 +83,6 @@
-
- #define CACHE_SIZE 24 /* size of cache for user/group name lookups */
-
--extern int errno;
--
- static time_t now;
- static FLAG do_a, do_d, do_i, do_l, do_L, do_m, do_M, do_o, do_s;
- static FLAG clock24, use_pathname = 0;
diff --git a/sysutils/clex/patches/patch-ah b/sysutils/clex/patches/patch-ah
deleted file mode 100644
index 162e77bfdb1..00000000000
--- a/sysutils/clex/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/tty.c.orig 2006-01-13 14:59:50.000000000 +0000
-+++ src/tty.c
-@@ -25,8 +25,6 @@
-
- #include "control.h" /* err_exit() */
-
--extern int errno;
--
- static struct termios text_termios, raw_termios, *ptermios = 0;
- #ifdef _POSIX_JOB_CONTROL
- static pid_t save_pgid = 0;
diff --git a/sysutils/clex/patches/patch-ai b/sysutils/clex/patches/patch-ai
deleted file mode 100644
index b1d5702f544..00000000000
--- a/sysutils/clex/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2006/01/13 15:16:14 joerg Exp $
-
---- src/ustring.c.orig 2006-01-13 15:00:13.000000000 +0000
-+++ src/ustring.c
-@@ -26,8 +26,6 @@
-
- #include "util.h" /* emalloc() */
-
--extern int errno;
--
- /*
- * The USTRING structure (defined in clex.h) can store a string
- * of unlimited length. The memory is allocated dynamically.
diff --git a/sysutils/clex/patches/patch-src_cfg-clex b/sysutils/clex/patches/patch-src_cfg-clex
new file mode 100644
index 00000000000..aa89f458853
--- /dev/null
+++ b/sysutils/clex/patches/patch-src_cfg-clex
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_cfg-clex,v 1.1 2012/02/17 13:23:28 obache Exp $
+
+* portability fix
+
+--- src/cfg-clex.orig 2009-05-20 08:58:50.000000000 +0000
++++ src/cfg-clex
+@@ -144,7 +144,7 @@ convert_config() {
+ if [ x"$CLEX_ACTIVE_LAYOUT" != x ] ; then
+ CLEX_LAYOUT_ACTIVE=`expr $CLEX_ACTIVE_LAYOUT + 1`
+ fi
+- if [ x"$CLEX_XTERM_TITLE" == x'2' ] ; then
++ if [ x"$CLEX_XTERM_TITLE" = x'2' ] ; then
+ CLEX_XTERM_TITLE='1'
+ fi
+ if [ x"$CLEX_LAYOUT1" != x ] ; then
diff --git a/sysutils/clex/patches/patch-src_clexheaders.h b/sysutils/clex/patches/patch-src_clexheaders.h
new file mode 100644
index 00000000000..7622f135238
--- /dev/null
+++ b/sysutils/clex/patches/patch-src_clexheaders.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_clexheaders.h,v 1.1 2012/02/17 13:23:28 obache Exp $
+
+* Need to treat *BSD same as FreeBSD.
+
+--- src/clexheaders.h.orig 2009-01-11 19:44:35.000000000 +0000
++++ src/clexheaders.h
+@@ -1,4 +1,4 @@
+-#if !defined(__APPLE__) && !defined(__FreeBSD__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+ # define _XOPEN_SOURCE 600
+ #endif
+