archrelease: copy trunk to community-any
[ArchLinux/community.git] / pdfmod / trunk / 0002-fix-build.patch
blob48f3f92f01e33885503d8576d29da0cf2462f357
1 diff -Naur a/lib/PdfSharp/PdfSharp.Pdf.Content/CLexer.cs b/lib/PdfSharp/PdfSharp.Pdf.Content/CLexer.cs
2 --- a/lib/PdfSharp/PdfSharp.Pdf.Content/CLexer.cs 2018-01-13 01:43:50.475678949 +0100
3 +++ b/lib/PdfSharp/PdfSharp.Pdf.Content/CLexer.cs 2018-01-13 01:43:49.128974121 +0100
4 @@ -337,8 +337,7 @@
5 break;
7 case Chars.LF:
8 - ch = ScanNextChar();
9 - goto SkipChar;
10 + break;
12 default:
13 if (Char.IsDigit(ch))
14 @@ -436,8 +435,7 @@
15 break;
17 case Chars.LF:
18 - ch = ScanNextChar();
19 - goto SkipChar;
20 + break;
22 default:
23 if (Char.IsDigit(ch))
24 diff -Naur a/lib/PdfSharp/PdfSharp.Pdf.IO/Lexer.cs b/lib/PdfSharp/PdfSharp.Pdf.IO/Lexer.cs
25 --- a/lib/PdfSharp/PdfSharp.Pdf.IO/Lexer.cs 2010-08-27 18:53:58.000000000 +0200
26 +++ b/lib/PdfSharp/PdfSharp.Pdf.IO/Lexer.cs 2018-01-13 01:42:31.730117288 +0100
27 @@ -432,8 +432,7 @@
28 break;
30 case Chars.LF:
31 - ch = ScanNextChar();
32 - goto SkipChar;
33 + break;
35 default:
36 if (Char.IsDigit(ch))
37 @@ -552,8 +551,7 @@
38 break;
40 case Chars.LF:
41 - ch = ScanNextChar();
42 - goto SkipChar;
43 + break;
45 default:
46 if (Char.IsDigit(ch))
47 @@ -663,8 +661,7 @@
48 break;
50 case Chars.LF:
51 - ch = ScanNextChar();
52 - goto SkipChar;
53 + break;
55 default:
56 if (char.IsDigit(ch))