Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/jless/files: jless-382.262-gentoo.patch
Date: Sun, 02 Nov 2008 16:26:04
Message-Id: E1Kwfm5-0006mt-Ai@stork.gentoo.org
1 matsuu 08/11/02 16:26:01
2
3 Added: jless-382.262-gentoo.patch
4 Log:
5 Fixed HOMEPAGE, LICENSE and DEPEND. Removed pkg_postinst. Added eautoreconf, bug #240008.
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
7
8 Revision Changes Path
9 1.1 app-i18n/jless/files/jless-382.262-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/jless/files/jless-382.262-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/jless/files/jless-382.262-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: jless-382.262-gentoo.patch
15 ===================================================================
16 diff -Naur less-382.orig/multi.c less-382/multi.c
17 --- less-382.orig/multi.c 2008-11-02 20:17:16.000000000 +0900
18 +++ less-382/multi.c 2008-11-02 20:20:07.000000000 +0900
19 @@ -279,7 +279,6 @@
20 case 0x70: return 4; /* or more bytes */
21 }
22 }
23 - assert(0);
24 return (0);
25 }
26
27 @@ -1337,8 +1336,6 @@
28 default: goto wrongone;
29 }
30 break;
31 - default:
32 - assert(0);
33 }
34 if (mp->eseq == NOESC) {
35 fix_status_for_escape_sequence(mp);
36 @@ -1857,8 +1854,6 @@
37 strcpy(buf, "96N( )");
38 buf[4] = CS2FT(mp->icharset);
39 break;
40 - default:
41 - assert(0);
42 }
43 if (CS2IRR(mp->icharset) > 0)
44 {
45 @@ -2078,7 +2073,6 @@
46 return (nullcvbuffer);
47 } else
48 {
49 - assert(0);
50 cvindex = 0;
51 }
52
53 @@ -2171,7 +2165,6 @@
54 cvindex = 0;
55 return (nullcvbuffer);
56 }
57 - assert(0);
58 cvindex = 0;
59 return (cvbuffer);
60 }
61 @@ -2270,7 +2263,6 @@
62 cvindex = 0;
63 return (nullcvbuffer);
64 }
65 - assert(0);
66 cvindex = 0;
67 return (cvbuffer);
68 }
69 @@ -2296,7 +2288,6 @@
70
71 cs = CS2CHARSET(cs);
72
73 - assert(0);
74 if (cs == ASCII || cs == JISX0201ROMAN)
75 {
76 assert(cvindex == 1);
77 @@ -2324,7 +2315,6 @@
78 cvindex = 0;
79 return (nullcvbuffer);
80 }
81 - assert(0);
82 cvindex = 0;
83 return (cvbuffer);
84 }
85 @@ -2390,7 +2380,6 @@
86 case TYPE_96N_CHARSET:
87 return (2);
88 default:
89 - assert(0);
90 return (0);
91 }
92 }
93 @@ -2410,7 +2399,7 @@
94 case 4: p = "iso8"; mp->io.inputr = ESISO8; break;
95 case 5: p = "noconv"; mp->io.inputr = ESNOCONV; break;
96 case 6: p = "none"; mp->io.inputr = ESNONE; break;
97 - default: assert(0); break;
98 + default: break;
99 }
100 init_priority(mp);
101 return (p);