File: diffutils-2.7.patch

package info (click to toggle)
xxdiff 1%3A4.0.1%2Bhg487%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,724 kB
  • ctags: 2,250
  • sloc: cpp: 18,524; python: 6,134; sh: 1,550; ansic: 1,537; perl: 308; lex: 284; yacc: 279; lisp: 250; tcl: 213; makefile: 86
file content (102 lines) | stat: -rw-r--r-- 2,403 bytes parent folder | download | duplicates (11)
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
diff --exclude=CVS -6 -Naur diffutils-2.7/config.hin /home/blais/tmp/diffutils-2.7/config.hin
--- diffutils-2.7/config.hin	2001-09-30 19:10:23.000000000 -0400
+++ /home/blais/tmp/diffutils-2.7/config.hin	1994-09-28 20:51:31.000000000 -0400
@@ -1,10 +1,8 @@
 /* config.hin.  Generated automatically from configure.in by autoheader.  */
 
-#include "../src/diffutils_hack.h"
-
 /* Define if using alloca.c.  */
 #undef C_ALLOCA
 
 /* Define if the closedir function returns void instead of int.  */
 #undef CLOSEDIR_VOID
 
diff --exclude=CVS -6 -Naur diffutils-2.7/diff.c /home/blais/tmp/diffutils-2.7/diff.c
--- diffutils-2.7/diff.c	2004-01-20 14:32:42.034468584 -0500
+++ /home/blais/tmp/diffutils-2.7/diff.c	1994-09-22 12:47:00.000000000 -0400
@@ -222,13 +222,13 @@
   {"help", 0, 0, 141},
   {"binary", 0, 0, 142},
   {0, 0, 0, 0}
 };
 
 int
-diffutils_diff_main (argc, argv)
+main (argc, argv)
      int argc;
      char *argv[];
 {
   int val;
   int c;
   int prev = -1;
diff --exclude=CVS -6 -Naur diffutils-2.7/diff3.c /home/blais/tmp/diffutils-2.7/diff3.c
--- diffutils-2.7/diff3.c	2001-10-01 15:26:49.000000000 -0400
+++ /home/blais/tmp/diffutils-2.7/diff3.c	1994-10-01 01:14:15.000000000 -0400
@@ -220,13 +220,13 @@
 
 /*
  * Main program.  Calls diff twice on two pairs of input files,
  * combines the two diffs, and outputs them.
  */
 int
-diffutils_diff3_main (argc, argv)
+main (argc, argv)
      int argc;
      char **argv;
 {
   int c, i;
   int mapping[3];
   int rev_mapping[3];
diff --exclude=CVS -6 -Naur diffutils-2.7/diffutils.pro /home/blais/tmp/diffutils-2.7/diffutils.pro
--- diffutils-2.7/diffutils.pro	2001-09-25 16:40:19.000000000 -0400
+++ /home/blais/tmp/diffutils-2.7/diffutils.pro	1969-12-31 19:00:00.000000000 -0500
@@ -1,48 +0,0 @@
-TEMPLATE	= app
-
-CONFIG		+= qt warn_on release
-
-# for windows:
-win32-msvc:TMAKE_CXXFLAGS = -GX -DWINDOWS
-
-HEADERS = \
-	cmpbuf.h \
-	diff.h \
-	fnmatch.h \
-	getopt.h \
-	regex.h \
-	system.h
-
-SOURCES = \
-	alloca.c \
-	analyze.c \
-	cmp.c \
-	cmpbuf.c \
-	context.c \
-	diff.c \
-	diff3.c \
-	dir.c \
-	ed.c \
-	error.c \
-	fnmatch.c \
-	getopt.c \
-	getopt1.c \
-	ifdef.c \
-	io.c \
-	memchr.c \
-	normal.c \
-	regex.c \
-	sdiff.c \
-	side.c \
-	util.c \
-	version.c \
-	waitpid.c \
-	xmalloc.c
-
-TARGET		= diffutils
-
-DEPENDPATH=
-
-INCLUDEPATH=.
-
-REQUIRES=large-config