Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30566 Details for
Bug 49794
gnome-utils & 2.6 headers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for gnome-utils-2.6.2 compile probs (maybe kernel 2.6 specific?)
gnome-utils-2.6.2-gfloppymajor.patch (text/plain), 933 bytes, created by
Curtis Magyar
on 2004-05-02 19:38:06 UTC
(
hide
)
Description:
Patch for gnome-utils-2.6.2 compile probs (maybe kernel 2.6 specific?)
Filename:
MIME Type:
Creator:
Curtis Magyar
Created:
2004-05-02 19:38:06 UTC
Size:
933 bytes
patch
obsolete
>--- gnome-utils-2.6.2/gfloppy/src/gfloppy.c 2004-04-28 18:22:36.000000000 -0500 >+++ gnome-utils-2.6.2-fixed/gfloppy/src/gfloppy.c 2004-05-02 21:09:06.000000000 -0500 >@@ -35,8 +35,8 @@ > #include <string.h> > > #ifdef HAVE_LINUX_FD_H >-#include <linux/fd.h> >-#include <linux/fs.h> >+ #include <linux/fd.h> >+ #include <sys/sysmacros.h> > #endif > > #include "gfloppy.h" >@@ -579,7 +579,7 @@ > > if (stat (device, &s) < 0) > return GFLOPPY_NO_DEVICE; >- if (!S_ISBLK(s.st_mode) || MAJOR(s.st_rdev) != FLOPPY_MAJOR) >+ if (!S_ISBLK(s.st_mode) || major(s.st_rdev) != FLOPPY_MAJOR) > return GFLOPPY_NO_DEVICE; > > if (access (device, R_OK|W_OK) != 0) >--- gnome-utils-2.6.2/gfloppy/src/badblocks.c 2004-01-04 17:21:32.000000000 -0600 >+++ gnome-utils-2.6.2-fixed/gfloppy/src/badblocks.c 2004-05-02 20:59:55.000000000 -0500 >@@ -42,7 +42,6 @@ > > #ifdef HAVE_LINUX_FD_H > #include <linux/fd.h> >-#include <linux/fs.h> > #endif > > #include <et/com_err.h>
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 49794
:
30565
| 30566