Bug 78245

Summary: kpdf needs -lm on IRIX
Product: [Applications] kpdf Reporter: The Written Word <bugzilla-kde>
Component: generalAssignee: Christophe Devriese <oelewapperke>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: IRIX   
Latest Commit: Version Fixed In:
Attachments: Patch

Description The Written Word 2004-03-22 19:10:39 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
Compiler:          6.4.1 
OS:          Irix

kpdf needs -lm on IRIX as it uses some match functions.
Comment 1 The Written Word 2004-03-22 19:10:56 UTC
Created attachment 5346 [details]
Patch
Comment 2 Stephan Kulow 2004-04-27 09:35:02 UTC
we don't support plattforms without libm, so just add the -lm to the Makefile.am and be done
Comment 3 Albert Astals Cid 2004-09-04 12:11:29 UTC
The boss spoke, closing the bug
Comment 4 Stephan Kulow 2004-09-04 14:07:18 UTC
CVS commit by coolo: 

little misunderstanding it seems
CCMAIL: 78245@bugs.kde.org


  M +1 -1      Makefile.am   1.30


--- kdegraphics/kpdf/kpdf/Makefile.am  #1.29:1.30
@@ -45,5 +45,5 @@
 libkpdfpart_la_SOURCES = QOutputDev.cpp QOutputDevPixmap.cpp QOutputDevKPrinter.cpp kpdf_part.cpp kpdf_pagewidget.cc part.cpp thumbnail.cpp thumbnaillist.cpp kpdf_error.cpp xpdf_errors.cpp
 libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
-libkpdfpart_la_LIBADD  = ../xpdf/libxpdf.la $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS)
+libkpdfpart_la_LIBADD  = ../xpdf/libxpdf.la $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) -lm
 
 # this is where the desktop file will go