Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177267 Details for
Bug 249384
stabilize media-libs/netpbm-10.44.00-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fontdir.patch
fontdir.patch (text/plain), 1.04 KB, created by
Martin Mokrejš
on 2009-01-03 21:42:36 UTC
(
hide
)
Description:
fontdir.patch
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2009-01-03 21:42:36 UTC
Size:
1.04 KB
patch
obsolete
>Index: converter/ppm/picttoppm.c >=================================================================== >--- converter/ppm/picttoppm.c (revision 811) >+++ converter/ppm/picttoppm.c (revision 812) >@@ -4056,6 +4056,23 @@ > > > >+static void >+loadDefaultFontDir(void) { >+/*---------------------------------------------------------------------------- >+ Load the fonts from the font directory file "fontdir" (in the current >+ directory), if it exists. >+-----------------------------------------------------------------------------*/ >+ struct stat statbuf; >+ int rc; >+ >+ rc = stat("fontdir", &statbuf); >+ >+ if (rc == 0) >+ load_fontdir("fontdir"); >+} >+ >+ >+ > int > main(int argc, char * argv[]) { > int argn; >@@ -4092,8 +4109,6 @@ > ++argn; > } > >- load_fontdir("fontdir"); >- > if (argn < argc) { > ifp = pm_openr(argv[argn]); > ++argn; >@@ -4103,6 +4118,8 @@ > if (argn != argc) > pm_usage(usage); > >+ loadDefaultFontDir(); >+ > if (header) { > stage = "Reading 512 byte header"; > skip(512);
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 249384
: 177267