Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34054 Details for
Bug 54999
glide-v3-3.10-r4 fails to emerge with error in fxlinux.c
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for fxlinux.c
glide-v3-3.10-r4-gentoo.patch (text/plain), 2.40 KB, created by
Jan Drugowitsch
on 2004-06-24 08:30:25 UTC
(
hide
)
Description:
Patch for fxlinux.c
Filename:
MIME Type:
Creator:
Jan Drugowitsch
Created:
2004-06-24 08:30:25 UTC
Size:
2.40 KB
patch
obsolete
>--- swlibs/newpci/pcilib/fxlinux.c.orig 2004-06-24 15:00:06.485686968 +0100 >+++ swlibs/newpci/pcilib/fxlinux.c 2004-06-24 15:19:57.414638248 +0100 >@@ -129,7 +129,7 @@ > default: > return 0; > } >- if (ioctl(linuxDevFd, _IOR('3', 3, sizeof(struct pioData)), &desc)==-1) >+ if (ioctl(linuxDevFd, _IOR('3', 3, struct pioData), &desc)==-1) > return 0; > switch (size) { > case 1: >@@ -153,7 +153,7 @@ > desc.size=size; > desc.device=device; > desc.value=&data; >- if (ioctl(linuxDevFd, _IOW('3', 4, sizeof(struct pioData)), &desc)==-1) >+ if (ioctl(linuxDevFd, _IOW('3', 4, struct pioData), &desc)==-1) > return FXFALSE; > return FXTRUE; > } >@@ -253,7 +253,7 @@ > desc.size=sizeof(tmp); > desc.value=&tmp; > /* fprintf(stderr, "Read byte desc at %x tmp at %x\n", &desc, &tmp); */ >- ioctl(linuxDevFd, _IOR(0, 0, sizeof(struct pioData)), &desc); >+ ioctl(linuxDevFd, _IOR(0, 0, struct pioData), &desc); > /* fprintf(stderr, "Got byte %d versus %d\n", tmp, inb(port)); */ > return tmp; > } >@@ -273,7 +273,7 @@ > desc.size=sizeof(tmp); > desc.value=&tmp; > /* fprintf(stderr, "Read word desc at %x tmp at %x\n", &desc, &tmp); */ >- ioctl(linuxDevFd, _IOR(0, 0, sizeof(struct pioData)), &desc); >+ ioctl(linuxDevFd, _IOR(0, 0, struct pioData), &desc); > /* fprintf(stderr, "Got word %d versus %d\n", tmp, inw(port)); */ > return tmp; > } >@@ -293,7 +293,7 @@ > desc.size=sizeof(tmp); > desc.value=&tmp; > /* fprintf(stderr, "Read long desc at %x tmp at %x\n", &desc, &tmp); */ >- ioctl(linuxDevFd, _IOR(0, 0, sizeof(struct pioData)), &desc); >+ ioctl(linuxDevFd, _IOR(0, 0, struct pioData), &desc); > /* fprintf(stderr, "Got long %x versus %x\n", tmp, inl(port)); */ > return tmp; > } >@@ -311,7 +311,7 @@ > desc.port=port; > desc.size=sizeof(data); > desc.value=&data; >- return ioctl(linuxDevFd, _IOW(0, 1, sizeof(struct pioData)), &desc)!=-1; >+ return ioctl(linuxDevFd, _IOW(0, 1, struct pioData), &desc)!=-1; > } > > static FxBool >@@ -327,7 +327,7 @@ > desc.port=port; > desc.size=sizeof(data); > desc.value=&data; >- return ioctl(linuxDevFd, _IOW(0, 1, sizeof(struct pioData)), &desc)!=-1; >+ return ioctl(linuxDevFd, _IOW(0, 1, struct pioData), &desc)!=-1; > } > > static FxBool >@@ -343,7 +343,7 @@ > desc.port=port; > desc.size=sizeof(data); > desc.value=&data; >- return ioctl(linuxDevFd, _IOW(0, 1, sizeof(struct pioData)), &desc)!=-1; >+ return ioctl(linuxDevFd, _IOW(0, 1, struct pioData), &desc)!=-1; > } > > static FxBool
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 54999
: 34054