File: missing-prototypes.patch

package info (click to toggle)
cuneiform 1.1.0%2Bdfsg-13
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 72,396 kB
  • sloc: ansic: 183,514; cpp: 101,929; sh: 38; makefile: 36
file content (43 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download | duplicates (2)
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
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/cuneiform_src/Kern/loc/src/loc.c
+++ b/cuneiform_src/Kern/loc/src/loc.c
@@ -65,6 +65,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 #include "loc.h"
 #include "struct.h"
 #include <sys/stat.h>
+#include "cfcompat.h"
 
 
 //-------------- FROM DIF.DLL
--- a/cuneiform_src/Kern/ctb/src/ctb_oper.c
+++ b/cuneiform_src/Kern/ctb/src/ctb_oper.c
@@ -61,6 +61,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 #define MAXPATH 256
 #include<string.h>
 #include<sys/stat.h>
+#include <ctype.h>
 #include "ctb.h"
 
 /// extern fuxntions and data
--- a/cuneiform_src/Kern/leo/src/leo_dll.c
+++ b/cuneiform_src/Kern/leo/src/leo_dll.c
@@ -67,6 +67,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 #include "leo.h"
 #include "alphaset.h"
 #include "leo_func.h"
+#include "cfcompat.h"
 
 #include "r35.h"
 #include "evn.h"
--- a/cuneiform_src/Kern/rblock/sources/c/ltroots.c
+++ b/cuneiform_src/Kern/rblock/sources/c/ltroots.c
@@ -71,6 +71,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # include <stdio.h>
 /*# include <crtdbg.h>*/
 #include <assert.h>
+#include <unistd.h>
 
 # include "c_memory.h"
 # include "iolib.h"