File: missing_break.dpatch

package info (click to toggle)
icmake 6.30-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,360 kB
  • ctags: 1,415
  • sloc: ansic: 7,727; makefile: 1,465; sh: 244; asm: 126; cpp: 39
file content (57 lines) | stat: -rw-r--r-- 1,884 bytes parent folder | download | duplicates (3)
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
#! /bin/sh -e
## missing_break.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

if [ $# -lt 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
    -patch) patch -p1 ${patch_opts} < $0;;
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
        exit 1;;
esac

exit 0

@DPATCH@
diff -urNad /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/callrss.c icmake-6.22/comp/callrss.c
--- /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/callrss.c	1999-11-06 11:33:52.000000000 +0100
+++ icmake-6.22/comp/callrss.c	2004-08-19 14:55:23.000000000 +0200
@@ -85,6 +85,7 @@
             case f_exists:
             case f_sizeoflist:
         */
+    break;
     }
     if (args)
         gencode (e, op_asp, args);          /* add stack pointer */
diff -urNad /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/cast.c icmake-6.22/comp/cast.c
--- /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/cast.c	1999-11-06 11:34:34.000000000 +0100
+++ icmake-6.22/comp/cast.c	2004-08-19 14:55:23.000000000 +0200
@@ -31,6 +31,7 @@
             default is entered in the switch to prevent a long compiler
             warning
         */
+break;
     }
     return (e);
 }
diff -urNad /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/gencode.c icmake-6.22/comp/gencode.c
--- /home/frankie/debian/mypkgs/icmake/icmake-6.22/comp/gencode.c	1999-11-06 11:40:51.000000000 +0100
+++ icmake-6.22/comp/gencode.c	2004-08-19 14:55:23.000000000 +0200
@@ -120,5 +120,6 @@
         op_smeq
         op_greq
 */
+break;
     }
 }