summaryrefslogtreecommitdiff
path: root/editors/dhex/patches
diff options
context:
space:
mode:
Diffstat (limited to 'editors/dhex/patches')
-rw-r--r--editors/dhex/patches/patch-aa14
-rw-r--r--editors/dhex/patches/patch-ac15
-rw-r--r--editors/dhex/patches/patch-main.c14
3 files changed, 14 insertions, 29 deletions
diff --git a/editors/dhex/patches/patch-aa b/editors/dhex/patches/patch-aa
deleted file mode 100644
index 6045db4f9e2..00000000000
--- a/editors/dhex/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2019/06/08 10:40:53 rillig Exp $
-
-require NetBSD
-
---- main.c.orig 2011-02-25 14:54:07.000000000 +0100
-+++ main.c 2011-02-25 14:54:27.000000000 +0100
-@@ -469,6 +469,7 @@
- output->win=initscr();
- pairsinit(output);
- noecho();
-+ raw();
- nodelay(output->win,1);
- if (keyboardsetupreq) keyboardsetup(output,configfile);
- readbuf(buf1,0);
diff --git a/editors/dhex/patches/patch-ac b/editors/dhex/patches/patch-ac
deleted file mode 100644
index 447a0e2de23..00000000000
--- a/editors/dhex/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2019/06/08 10:40:53 rillig Exp $
-
-disable one compiler flag
-
---- Makefile.orig 2011-02-25 16:20:02.000000000 +0100
-+++ Makefile 2011-02-25 16:21:03.000000000 +0100
-@@ -1,7 +1,7 @@
- CC= gcc
- LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
- CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
--CFLAGS= -O3 -Wall -std=c99
-+CFLAGS= #-O3 -Wall -std=c99
- #CFLAGS+= -ffunction-sections -fdata-sections
- #LDFLAGS+= --gc-sections
- LIBS= -lncurses
diff --git a/editors/dhex/patches/patch-main.c b/editors/dhex/patches/patch-main.c
new file mode 100644
index 00000000000..5a6909d12b4
--- /dev/null
+++ b/editors/dhex/patches/patch-main.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-main.c,v 1.1 2020/03/23 19:45:37 nia Exp $
+
+Required by NetBSD curses.
+
+--- main.c.orig 2019-01-19 16:17:37.000000000 +0000
++++ main.c
+@@ -530,6 +530,7 @@ int main(int argc,char** argv)
+ output->win=initscr();
+ pairsinit(output);
+ noecho();
++ raw();
+ nodelay(output->win,1);
+ if (keyboardsetupreq) keyboardsetup(output,configfile);
+ if (bhexcalc)