Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101365 Details for
Bug 148091
net-misc/mknbi doesn't compile with gcc-4.1.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
GCC4 Fixes patch for updated ebuild as supplied
mknbi-1.4.4-GCC4-fixes.patch (text/plain), 1.04 KB, created by
Phillip Lemon
on 2006-11-06 15:20:53 UTC
(
hide
)
Description:
GCC4 Fixes patch for updated ebuild as supplied
Filename:
MIME Type:
Creator:
Phillip Lemon
Created:
2006-11-06 15:20:53 UTC
Size:
1.04 KB
patch
obsolete
>diff -ruN mknbi-1.4.4/nfl.c mknbi-1.4.4.thor/nfl.c >--- mknbi-1.4.4/nfl.c 2003-09-22 16:47:08.000000000 +0200 >+++ mknbi-1.4.4.thor/nfl.c 2006-05-19 13:36:42.000000000 +0200 >@@ -666,7 +666,7 @@ > if (bhdr->b_signature != ELF_BHDR_MAGIC) { > return; > } >- >+ /* probably breaks nothing, but why declare unsigned char and make cast to (signed) char??? */ > note = ((char *)bhdr) + sizeof(*bhdr); > end = ((char *)bhdr) + bhdr->b_size; > while (note < end) { >diff -ruN mknbi-1.4.4/nfl.h mknbi-1.4.4.thor/nfl.h >--- mknbi-1.4.4/nfl.h 2003-01-12 09:39:03.000000000 +0100 >+++ mknbi-1.4.4.thor/nfl.h 2006-05-19 13:36:42.000000000 +0200 >@@ -182,7 +182,10 @@ > extern int auto_fill; > > /* This variable specifies which console should be used. */ >-extern int terminal; >+/* Decide if you want static _or_ external! >+ gcc-4 finally starts complaining about this nonsense. >+ (plus: no file besides nfl.c uses this header anyway...) >+extern int terminal; */ > > #define TERMINAL_CONSOLE (1 << 0) /* keyboard and screen */ > #define TERMINAL_SERIAL (1 << 1) /* serial console */
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 148091
:
101364
| 101365