Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 78956 | Differences between
and this patch

Collapse All | Expand All

(-)evince-0.3.0.orig/configure.ac (-1 / +1 lines)
Lines 149-155 Link Here
149
149
150
if test "x$enable_dvi" = "xyes"; then
150
if test "x$enable_dvi" = "xyes"; then
151
    if test "x$enable_type1_fonts" = "xyes"; then
151
    if test "x$enable_type1_fonts" = "xyes"; then
152
	AC_CHECK_LIB([t1lib],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no)
152
	AC_CHECK_LIB([t1],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no,-lm)
153
    fi
153
    fi
154
154
155
    if test "x$enable_type1_fonts" = xyes; then
155
    if test "x$enable_type1_fonts" = xyes; then
(-)evince-0.3.0.orig/dvi/Makefile.am (-1 / +1 lines)
Lines 21-27 Link Here
21
	$(DVI_LIBS) -lkpathsea
21
	$(DVI_LIBS) -lkpathsea
22
22
23
if WITH_TYPE1_FONTS
23
if WITH_TYPE1_FONTS
24
libgtkdvi_la_LIBADD += -lt1lib
24
libgtkdvi_la_LIBADD += -lt1 -lm
25
endif
25
endif
26
26
27
27
(-)evince-0.3.0/dvi/mdvi-lib/t1.c.orig (-1 / +1 lines)
Lines 174-180 Link Here
174
	DEBUG((DBG_TYPE1, "(t1) resetting device resolution (current: (%d,%d))\n",
174
	DEBUG((DBG_TYPE1, "(t1) resetting device resolution (current: (%d,%d))\n",
175
		t1lib_xdpi, t1lib_ydpi));
175
		t1lib_xdpi, t1lib_ydpi));
176
176
177
	nfonts = T1_Get_no_fonts();
177
	nfonts = T1_GetNoFonts();
178
	for(i = 0; i < nfonts; i++)
178
	for(i = 0; i < nfonts; i++)
179
		T1_DeleteAllSizes(i);
179
		T1_DeleteAllSizes(i);
180
	/* reset device resolutions */
180
	/* reset device resolutions */

Return to bug 78956