diff options
Diffstat (limited to 'app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch')
-rw-r--r-- | app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch b/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch new file mode 100644 index 000000000000..979735a45a2c --- /dev/null +++ b/app-text/evince/files/evince-0.3.1-t1lib_is_t1.patch @@ -0,0 +1,33 @@ +--- evince-0.3.0.orig/configure.ac 2005-05-08 20:44:46.000000000 +0200 ++++ evince-0.3.0/configure.ac 2005-05-08 20:45:21.000000000 +0200 +@@ -149,7 +149,7 @@ + + if test "x$enable_dvi" = "xyes"; then + if test "x$enable_type1_fonts" = "xyes"; then +- AC_CHECK_LIB([t1lib],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no) ++ AC_CHECK_LIB([t1],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no,-lm) + fi + + if test "x$enable_type1_fonts" = xyes; then +--- evince-0.3.0.orig/dvi/Makefile.am 2005-05-08 20:39:09.000000000 +0200 ++++ evince-0.3.0/dvi/Makefile.am 2005-05-08 20:46:03.000000000 +0200 +@@ -21,7 +21,7 @@ + $(DVI_LIBS) -lkpathsea + + if WITH_TYPE1_FONTS +-libgtkdvi_la_LIBADD += -lt1lib ++libgtkdvi_la_LIBADD += -lt1 -lm + endif + + +--- evince-0.3.0/dvi/mdvi-lib/t1.c.orig 2005-05-09 12:31:20.000000000 +0200 ++++ evince-0.3.0/dvi/mdvi-lib/t1.c 2005-05-09 12:31:46.000000000 +0200 +@@ -174,7 +174,7 @@ + DEBUG((DBG_TYPE1, "(t1) resetting device resolution (current: (%d,%d))\n", + t1lib_xdpi, t1lib_ydpi)); + +- nfonts = T1_Get_no_fonts(); ++ nfonts = T1_GetNoFonts(); + for(i = 0; i < nfonts; i++) + T1_DeleteAllSizes(i); + /* reset device resolutions */ |