Bug 78245 - kpdf needs -lm on IRIX
Summary: kpdf needs -lm on IRIX
Status: RESOLVED INTENTIONAL
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources IRIX
: NOR normal
Target Milestone: ---
Assignee: Christophe Devriese
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 19:10 UTC by The Written Word
Modified: 2004-09-04 14:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch (1.09 KB, patch)
2004-03-22 19:10 UTC, The Written Word
Details

Note You need to log in before you can comment on or make changes to this bug.
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