Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96083 Details for
Bug 130612
canon cups capt driver (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix some GCC 4 errors
cndrvcups-common-1.30-gcc-4.diff (text/plain), 1.43 KB, created by
Jonas Jonsson
on 2006-09-05 09:53:55 UTC
(
hide
)
Description:
Patch to fix some GCC 4 errors
Filename:
MIME Type:
Creator:
Jonas Jonsson
Created:
2006-09-05 09:53:55 UTC
Size:
1.43 KB
patch
obsolete
>diff -urN cndrvcups-common-1.30.orig/cngplp/cngplpmod/cngplpmod.c cndrvcups-common-1.30/cngplp/cngplpmod/cngplpmod.c >--- cndrvcups-common-1.30.orig/cngplp/cngplpmod/cngplpmod.c 2006-09-05 15:30:50.000000000 +0200 >+++ cndrvcups-common-1.30/cngplp/cngplpmod/cngplpmod.c 2006-09-05 15:35:30.000000000 +0200 >@@ -393,7 +393,7 @@ > > int CreatePPDOptions(cngplpData *data) > { >- (const char *)data->ppdfile = cupsGetPPD(data->curr_printer); >+ data->ppdfile = (char * ) cupsGetPPD(data->curr_printer); > > memset(data->ppd_opt, 0, sizeof(PPDOptions)); > >diff -urN cndrvcups-common-1.30.orig/cngplp/cngplpmod/ppdoptions.c cndrvcups-common-1.30/cngplp/cngplpmod/ppdoptions.c >--- cndrvcups-common-1.30.orig/cngplp/cngplpmod/ppdoptions.c 2006-09-05 15:30:50.000000000 +0200 >+++ cndrvcups-common-1.30/cngplp/cngplpmod/ppdoptions.c 2006-09-05 15:39:59.000000000 +0200 >@@ -402,7 +402,7 @@ > for(i = 0; i < list->num_uiconst - 1; i++){ > tmp = (UIConstList *)tmp->next; > } >- (UIConstList *)tmp->next = uiconst; >+ tmp->next = uiconst; > } > list->num_uiconst++; > }else{ >@@ -415,7 +415,7 @@ > for(i = 0; i < items->num_uiconst - 1; i++){ > tmp = (UIConstList *)tmp->next; > } >- (UIConstList *)tmp->next = uiconst; >+ tmp->next = uiconst; > } > items->num_uiconst++; > } >@@ -493,7 +493,7 @@ > for (i = 0; i < num_list - 2; i++){ > tmp = (UIOptionList *)tmp->next; > } >- (UIOptionList *)tmp->next = option; >+ tmp->next = option; > } > return 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 130612
:
88791
|
88792
|
88793
| 96083 |
96084
|
110093
|
110180
|
122133
|
122135
|
132731
|
132733
|
132734
|
132736
|
132738
|
144857
|
144858
|
194919
|
194921
|
195140
|
195141
|
205936
|
205938
|
205943
|
205945
|
206095
|
206444
|
213066
|
248395
|
253537
|
283299
|
283301
|
309177
|
309179
|
404004
|
404052
|
404542