File: 02_fix_missing_semicolons.patch

package info (click to toggle)
liblinux-kernelsort-perl 0.01-3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 164 kB
  • ctags: 43
  • sloc: perl: 225; sh: 114; makefile: 36
file content (43 lines) | stat: -rw-r--r-- 1,153 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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_fix_missing_semicolons.dpatch by Maximilian Wilhelm <max@rfc2324.org>
##
## DP: Add missing semicolons

@DPATCH@

--- liblinux-kernelsort-perl-0.01/lib/Linux/KernelSort.pm	2006-12-06 23:55:25.000000000 +0100
+++ Linuxkernelsort-fixed-missing-semicolons/Linux/KernelSort.pm	2006-12-07 00:05:56.000000000 +0100
@@ -115,21 +115,21 @@
 
     if ( $version =~ m/-git(\d+)/ ) {
         my $git = $1;
-        $rank = $rank . ".$git"
+        $rank = $rank . ".$git";
     } else {
         $rank = $rank . ".0";
     }
 
     if ( $version =~ m/-scsi-misc(\d+)/ ) {
         my $scsi_misc = $1;
-        $rank = $rank . ".$scsi_misc"
+        $rank = $rank . ".$scsi_misc";
     } else {
         $rank = $rank . ".0";
     }
 
     if ( $version =~ m/-scsi-rc-fixes(\d+)/ ) {
         my $rc_fixes = $1;
-        $rank = $rank . ".$rc_fixes"
+        $rank = $rank . ".$rc_fixes";
     } else {
         $rank = $rank . ".0";
     }
@@ -138,7 +138,7 @@
         my $mm = $1;
         $rank = $rank . ".$mm";
     } else {
-        $rank = $rank . ".0"
+        $rank = $rank . ".0";
     }
 
     return $rank;