patches/ktorrent-01-isinf.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 865 3388be4fffa5
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
865
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     1
--- ktorrent-2.2.5/plugins/stats/ChartDrawer.cc.orig	2008-02-02 19:12:00.986073824 +0530
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     2
+++ ktorrent-2.2.5/plugins/stats/ChartDrawer.cc	2008-02-02 19:12:08.911208549 +0530
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     3
@@ -22,7 +22,6 @@
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     4
 
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     5
 #ifdef USE_SOLARIS
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     6
 #include <ieeefp.h>
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     7
-int isinf(double x) { return !finite(x) && x==x; }
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     8
 #endif
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
     9
 
3388be4fffa5 SFEktorrent.spec:
moinakg
parents:
diff changeset
    10