1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 */
|