summaryrefslogtreecommitdiff
path: root/external/vigra
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-12-18 18:07:51 +0100
committerMichael Stahl <mstahl@redhat.com>2013-12-18 18:08:24 +0100
commitbcafcd39794041e68ed4ea1c578d143ef58dd664 (patch)
tree662e6754340c42c02c0797683958b254e9f71c6b /external/vigra
parentcc54c08a66046c00af3713fbe5e69995ccb7f73b (diff)
vigra: remove SunStudio workarounds
Change-Id: Ib92cfca77dea62a7eb5ad29c7b129ef855be82b8
Diffstat (limited to 'external/vigra')
-rw-r--r--external/vigra/vigra1.6.0.patch32
1 files changed, 1 insertions, 31 deletions
diff --git a/external/vigra/vigra1.6.0.patch b/external/vigra/vigra1.6.0.patch
index 560fd4434599..18eeb5680826 100644
--- a/external/vigra/vigra1.6.0.patch
+++ b/external/vigra/vigra1.6.0.patch
@@ -1296,14 +1296,7 @@ diff -uprN misc/vigra1.6.0/include/vigra/separableconvolution.hxx misc/build/vig
diff -uprN misc/vigra1.6.0/include/vigra/sized_int.hxx misc/build/vigra1.6.0/include/vigra/sized_int.hxx
--- misc/vigra1.6.0/include/vigra/sized_int.hxx 2008-08-13 08:15:41.000000000 -0500
+++ misc/build/vigra1.6.0/include/vigra/sized_int.hxx 2012-09-19 17:30:24.000000000 -0500
-@@ -73,11 +73,15 @@ struct SelectIntegerType<SIZE, Int_type_
- typedef Int_type_not_supported_on_this_platform type;
- };
-
-+#if defined __SUNPRO_CC
-+#pragma disable_warn
-+#endif
-+
+@@ -73,8 +73,8 @@ struct SelectIntegerType<SIZE, Int_type_
template<class LIST>
struct SelectBiggestIntegerType
{
@@ -1314,17 +1307,6 @@ diff -uprN misc/vigra1.6.0/include/vigra/sized_int.hxx misc/build/vigra1.6.0/inc
size = (cursize < nextsize) ? nextsize : cursize };
typedef typename
IfBool<(cursize < nextsize),
-@@ -86,6 +90,10 @@ struct SelectBiggestIntegerType
- type;
- };
-
-+#if defined __SUNPRO_CC
-+#pragma enable_warn
-+#endif
-+
- template<>
- struct SelectBiggestIntegerType<Int_type_not_supported_on_this_platform>
- {
diff -uprN misc/vigra1.6.0/include/vigra/splines.hxx misc/build/vigra1.6.0/include/vigra/splines.hxx
--- misc/vigra1.6.0/include/vigra/splines.hxx 2008-08-13 08:15:41.000000000 -0500
+++ misc/build/vigra1.6.0/include/vigra/splines.hxx 2012-09-19 17:30:24.000000000 -0500
@@ -1394,18 +1376,6 @@ diff -uprN misc/vigra1.6.0/include/vigra/splines.hxx misc/build/vigra1.6.0/inclu
{}
result_type operator()(argument_type x) const
-diff -uprN misc/vigra1.6.0/include/vigra/static_assert.hxx misc/build/vigra1.6.0/include/vigra/static_assert.hxx
---- misc/vigra1.6.0/include/vigra/static_assert.hxx 2008-08-13 08:15:41.000000000 -0500
-+++ misc/build/vigra1.6.0/include/vigra/static_assert.hxx 2012-09-19 17:30:24.000000000 -0500
-@@ -115,7 +115,7 @@ assertImpl( void (*)(Predicate), typenam
-
- TODO: provide more assertion base classes for other (non boolean) types of tests
- */
--#if !defined(__GNUC__) || __GNUC__ > 2
-+#if (!defined(__GNUC__) || __GNUC__ > 2) && (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x550)
- #define VIGRA_STATIC_ASSERT(Predicate) \
- enum { \
- VIGRA_PREPROCESSOR_CONCATENATE(vigra_assertion_in_line_, __LINE__) = sizeof( \
diff -uprN misc/vigra1.6.0/include/vigra/tinyvector.hxx misc/build/vigra1.6.0/include/vigra/tinyvector.hxx
--- misc/vigra1.6.0/include/vigra/tinyvector.hxx 2008-08-13 08:15:42.000000000 -0500
+++ misc/build/vigra1.6.0/include/vigra/tinyvector.hxx 2012-09-19 17:30:24.000000000 -0500