Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 171280 Details for
Bug 117037
new ebuild: jbofihe-0.38
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Smooth some age-related issues
jbofihe-0.38-modernize.patch (text/plain), 1.70 KB, created by
chkno
on 2008-11-10 09:03:20 UTC
(
hide
)
Description:
Smooth some age-related issues
Filename:
MIME Type:
Creator:
chkno
Created:
2008-11-10 09:03:20 UTC
Size:
1.70 KB
patch
obsolete
>--- jbofihe-0.38/output2elide.pl 2001-09-15 15:10:40.000000000 -0700 >+++ jbofihe-0.38/output2elide.pl.better 2005-12-28 15:05:23.000000000 -0800 >@@ -31,9 +31,9 @@ > > while (<>) { > # Read rules >- if (/^rule\s+([0-9]+)\s+subscript/) { >- $losubscript = $1 unless (defined $losubscript); >- $hisubscript = $1; >+ if (/^(rule)?\s+([0-9]+)\s+subscript/) { >+ $losubscript = $2 unless (defined $losubscript); >+ $hisubscript = $2; > } > > if (/^Terminals, with rules/) { >--- jbofihe-0.38/lex2.c 2001-09-15 15:10:39.000000000 -0700 >+++ jbofihe-0.38/lex2.c.better 2005-12-28 14:42:11.000000000 -0800 >@@ -539,6 +539,7 @@ > } > > done_this_block: >+ (void)0; > > } > >--- jbofihe-0.38/dictaccs.c 2001-09-15 15:10:38.000000000 -0700 >+++ jbofihe-0.38/dictaccs.c.better 2005-12-28 15:41:24.000000000 -0800 >@@ -131,7 +131,7 @@ > mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0); > result = (int) mmap_base; > >- if (result < 0) { >+ if (result == -1) { > perror("Could not mmap the dictionary data\n"); > exit(1); > } >--- jbofihe-0.38/cm_translate.c 2001-09-15 15:10:37.000000000 -0700 >+++ jbofihe-0.38/cm_translate.c.better 2005-12-28 15:41:51.000000000 -0800 >@@ -117,7 +117,7 @@ > mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0); > result = (int) mmap_base; > >- if (result < 0) { >+ if (result == -1) { > perror("Could not mmap the dictionary data\n"); > exit(1); > } >--- jbofihe-0.38/uncom.l.orig 2001-09-15 15:10:43.000000000 -0700 >+++ jbofihe-0.38/uncom.l 2008-11-09 23:42:06.000000000 -0800 >@@ -32,6 +32,7 @@ > %{ > #ifndef yywrap > #define yywrap() 1 >+#define YY_SKIP_YYWRAP > #endif > > static int depth = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 117037
:
75695
|
75696
| 171280