File: 52_debian_include_ncursesw_headers.patch

package info (click to toggle)
pal 0.4.3-11
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,164 kB
  • sloc: ansic: 5,038; makefile: 289; awk: 23
file content (115 lines) | stat: -rw-r--r-- 3,607 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
pal (0.4.3-8)  * Include the headers from ncursesw instead of ncurses.
                 Since both header variants are compatible, including
                 ncurses' headers worked as long as there was an indirect
                 dependency on libncurses5-dev.  Thanks to Peter Green
                 for the bug report and the patch.  (Closes: #651761)

===================================================================
--- pal-0.4.3.new.orig/src/add.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/add.c	2011-12-11 23:16:50.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/colorize.c
===================================================================
--- pal-0.4.3.new.orig/src/colorize.c	2011-12-11 23:13:43.000000000 +0000
+++ pal-0.4.3.new/src/colorize.c	2011-12-11 23:11:47.000000000 +0000
@@ -20,7 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h> /* for getenv() */
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "colorize.h"
Index: pal-0.4.3.new/src/del.c
===================================================================
--- pal-0.4.3.new.orig/src/del.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/del.c	2011-12-11 23:17:44.000000000 +0000
@@ -19,7 +19,7 @@
  */
 
 #include <stdio.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/edit.c
===================================================================
--- pal-0.4.3.new.orig/src/edit.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/edit.c	2011-12-11 23:17:19.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/main.c
===================================================================
--- pal-0.4.3.new.orig/src/main.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/main.c	2011-12-11 23:11:13.000000000 +0000
@@ -27,7 +27,7 @@
 #include <regex.h>     /* regular expressions */
 #include <glib.h>
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "output.h"
 #include "main.h"
Index: pal-0.4.3.new/src/manage.c
===================================================================
--- pal-0.4.3.new.orig/src/manage.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/manage.c	2011-12-11 23:19:01.000000000 +0000
@@ -21,8 +21,8 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
-#include <term.h>
+#include <ncursesw/ncurses.h>
+#include <ncursesw/term.h>
 #include <signal.h>
 #include <sys/ioctl.h> /* get # columns for terminal */
 
Index: pal-0.4.3.new/src/output.c
===================================================================
--- pal-0.4.3.new.orig/src/output.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/output.c	2011-12-11 23:14:48.000000000 +0000
@@ -21,7 +21,7 @@
 #include <stdarg.h>
 #include <time.h>
 #include <string.h>
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 /* for vsnprintf */
 #include <stdarg.h>
Index: pal-0.4.3.new/src/rl.c
===================================================================
--- pal-0.4.3.new.orig/src/rl.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/rl.c	2011-12-11 23:16:23.000000000 +0000
@@ -21,10 +21,10 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <time.h>
 
-#include <term.h>
+#include <ncursesw/term.h>
 
 
 #include "output.h"