diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-08-09 08:35:16 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-08-09 08:35:16 +0000 |
commit | adc80ed7ef8b59e2312a72a5e0df09341696ba2a (patch) | |
tree | aa55c9d80c42ba929951c3700648fe23a7aa7e94 /media-gfx/grace/files | |
parent | install in the right place. (diff) | |
download | historical-adc80ed7ef8b59e2312a72a5e0df09341696ba2a.tar.gz historical-adc80ed7ef8b59e2312a72a5e0df09341696ba2a.tar.bz2 historical-adc80ed7ef8b59e2312a72a5e0df09341696ba2a.zip |
fixed compilation with t1lib-5.0.0, closing #25798
Diffstat (limited to 'media-gfx/grace/files')
-rw-r--r-- | media-gfx/grace/files/grace-5.1.10-t1lib-fix-gentoo.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/grace/files/grace-5.1.10-t1lib-fix-gentoo.patch b/media-gfx/grace/files/grace-5.1.10-t1lib-fix-gentoo.patch new file mode 100644 index 000000000000..1f651a2b5334 --- /dev/null +++ b/media-gfx/grace/files/grace-5.1.10-t1lib-fix-gentoo.patch @@ -0,0 +1,24 @@ +diff -urN grace-5.1.10.ORIG/src/fontwin.c grace-5.1.10/src/fontwin.c +--- grace-5.1.10.ORIG/src/fontwin.c 2002-08-22 05:19:51.000000000 +0900 ++++ grace-5.1.10/src/fontwin.c 2003-08-09 17:00:22.000000000 +0900 +@@ -320,7 +320,7 @@ + Widget font_table = (Widget) data; + + FontID = value; +- switch (CheckForFontID(FontID)) { ++ switch (T1_CheckForFontID(FontID)) { + case 0: + T1_LoadFont(FontID); + break; +diff -urN grace-5.1.10.ORIG/src/t1fonts.c grace-5.1.10/src/t1fonts.c +--- grace-5.1.10.ORIG/src/t1fonts.c 2002-08-14 05:31:25.000000000 +0900 ++++ grace-5.1.10/src/t1fonts.c 2003-08-09 17:01:24.000000000 +0900 +@@ -89,7 +89,7 @@ + return (RETURN_FAILURE); + } + +- nfonts = T1_Get_no_fonts(); ++ nfonts = T1_GetNoFonts(); + if (nfonts < 1) { + return (RETURN_FAILURE); + } |