Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date:                    2005-10-11
Initial Package Version: 0.4.0
Upstream Status:         Unknown (bug submitted to GNOME Bugzilla)
Origin:                  Randy McMurchy
Description:             Fixes t1lib discovery and implementation


diff -Naur evince-0.4.0-orig/configure evince-0.4.0/configure
--- evince-0.4.0-orig/configure	2005-08-26 04:07:09.000000000 +0000
+++ evince-0.4.0/configure	2005-10-12 03:44:06.000000000 +0000
@@ -27646,13 +27646,13 @@
 
 if test "x$enable_dvi" = "xyes"; then
     if test "x$enable_type1_fonts" = "xyes"; then
-	echo "$as_me:$LINENO: checking for T1_InitLib in -lt1lib" >&5
-echo $ECHO_N "checking for T1_InitLib in -lt1lib... $ECHO_C" >&6
+	echo "$as_me:$LINENO: checking for T1_InitLib in -lt1" >&5
+echo $ECHO_N "checking for T1_InitLib in -lt1... $ECHO_C" >&6
 if test "${ac_cv_lib_t1lib_T1_InitLib+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lt1lib  $LIBS"
+LIBS="-lt1 -lm $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF

diff -Naur evince-0.4.0-orig/dvi/mdvi-lib/Makefile.in evince-0.4.0/dvi/mdvi-lib/Makefile.in
--- evince-0.4.0-orig/dvi/mdvi-lib/Makefile.in	2005-08-26 04:27:57.000000000 +0000
+++ evince-0.4.0/dvi/mdvi-lib/Makefile.in	2005-10-12 03:44:06.000000000 +0000
@@ -36,7 +36,7 @@
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
 host_triplet = @host@
-@WITH_TYPE1_FONTS_TRUE@am__append_1 = -lt1lib
+@WITH_TYPE1_FONTS_TRUE@am__append_1 = -lt1 -lm
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 AMDEP_FALSE = @AMDEP_FALSE@
