diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2008-07-03 16:14:52 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2008-07-03 16:14:52 +0000 |
| commit | ec4dca43010fdcbaa118e5998c3a7ef1d140d323 (patch) | |
| tree | cf93bab8f16c22f4e5b8e29d12c90905a366737f /src | |
| parent | Tests for svg-affine and svg-length (the latter is not much more than a stub)... (diff) | |
| download | inkscape-ec4dca43010fdcbaa118e5998c3a7ef1d140d323.tar.gz inkscape-ec4dca43010fdcbaa118e5998c3a7ef1d140d323.zip | |
Patch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.net/inkscape/+bug/245173
(bzr r6133)
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/isnan.h | 4 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/display/nr-filter.cpp | 2 | ||||
| -rw-r--r-- | src/display/pixblock-transform.cpp | 2 | ||||
| -rw-r--r-- | src/isinf.h | 2 | ||||
| -rw-r--r-- | src/isnormal.h | 2 | ||||
| -rw-r--r-- | src/widgets/desktop-widget.cpp | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h index 6b94daa6e..d95a45f10 100644 --- a/src/2geom/isnan.h +++ b/src/2geom/isnan.h @@ -34,7 +34,7 @@ # define IS_NAN(_a) (_isnan(_a)) /* Win32 definition */ #elif defined(isnan) || defined(__FreeBSD__) || defined(__osf__) # define IS_NAN(_a) (isnan(_a)) /* GNU definition */ -#elif defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2 +#elif defined (SOLARIS) # define IS_NAN(_a) (isnan(_a)) /* GNU definition */ #else # define IS_NAN(_a) (std::isnan(_a)) @@ -55,7 +55,7 @@ # define IS_FINITE(_a) (isfinite(_a)) #elif defined(__osf__) # define IS_FINITE(_a) (finite(_a) && !IS_NAN(_a)) -#elif defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2 +#elif defined (SOLARIS) #include <ieeefp.h> #define IS_FINITE(_a) (finite(_a) && !IS_NAN(_a)) #else diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 23ac82fb6..a84909382 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -305,15 +305,15 @@ FOREACH(dirlistsrc ${libfolders}) ADD_SUBDIRECTORY(${dirlistsrc})
ENDFOREACH(dirlistsrc)
- +message(status "${INKSCAPE_LIBS}") ADD_LIBRARY(sp STATIC ${SP_SRC})
TARGET_LINK_LIBRARIES(sp
- "${INKSCAPE_LIBS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp
+ 2geom avoid cola croco gdl nr nrtype vpsc livarot
)
# make executable for INKSCAPE
ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})
TARGET_LINK_LIBRARIES(inkscape
- "${INKSCAPE_LIBS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp
+ 2geom avoid cola croco gdl nr nrtype vpsc livarot sp
) # make executable for INKVIEW diff --git a/src/display/nr-filter.cpp b/src/display/nr-filter.cpp index 62b3893c2..f7a04fd50 100644 --- a/src/display/nr-filter.cpp +++ b/src/display/nr-filter.cpp @@ -46,7 +46,7 @@ #include "libnr/nr-scale.h" #include "svg/svg-length.h" #include "sp-filter-units.h" -#if defined (SOLARIS_2_8) +#if defined (SOLARIS) && (SOLARIS == 8) #include "round.h" using Inkscape::round; #endif diff --git a/src/display/pixblock-transform.cpp b/src/display/pixblock-transform.cpp index 730f0ad43..74ded2ae0 100644 --- a/src/display/pixblock-transform.cpp +++ b/src/display/pixblock-transform.cpp @@ -13,7 +13,7 @@ #include <glib.h> #include <cmath> -#if defined (SOLARIS_2_8) +#if defined (SOLARIS) && (SOLARIS == 8) #include "round.h" using Inkscape::round; #endif diff --git a/src/isinf.h b/src/isinf.h index 92c885701..7799d2876 100644 --- a/src/isinf.h +++ b/src/isinf.h @@ -5,7 +5,7 @@ * Fix for missing std::isnormal with SOLARIS8/GCC3.2 */ -#if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2 +#if defined (SOLARIS) #include <ieeefp.h> #define isinf(x) ((fpclass(x) == FP_NINF) || (fpclass(x) == FP_PINF)) diff --git a/src/isnormal.h b/src/isnormal.h index 6587331c3..d53105926 100644 --- a/src/isnormal.h +++ b/src/isnormal.h @@ -5,7 +5,7 @@ * Fix for missing std::isnormal with SOLARIS8/GCC3.2 */ -#if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2 +#if defined (SOLARIS) #include <ieeefp.h> #define isnormal(x) (fpclass(x) >= FP_NZERO) diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index c6e36aa8e..8744a4be0 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -62,7 +62,7 @@ #include "box3d-context.h" #include "sp-image.h" -#if defined (SOLARIS_2_8) +#if defined (SOLARIS) && (SOLARIS == 8) #include "round.h" using Inkscape::round; #endif |
