diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-04 11:41:17 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-04 11:41:50 +0000 |
commit | d9ef8ec729115d79f860364e2e29381d96ebcd51 (patch) | |
tree | 714d53b81785e6b4a15099240f9ac77d783e62e5 /community/rawtherapee/c++11.patch | |
parent | 682038d993d371b9cc6f80e61952c3ef125ece41 (diff) | |
download | aports-d9ef8ec729115d79f860364e2e29381d96ebcd51.tar.bz2 aports-d9ef8ec729115d79f860364e2e29381d96ebcd51.tar.xz |
community/rawtherapee: upgrade to 5.0-r1
Disable check()
Diffstat (limited to 'community/rawtherapee/c++11.patch')
-rw-r--r-- | community/rawtherapee/c++11.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/community/rawtherapee/c++11.patch b/community/rawtherapee/c++11.patch deleted file mode 100644 index 86a6ff0717..0000000000 --- a/community/rawtherapee/c++11.patch +++ /dev/null @@ -1,28 +0,0 @@ -From c6620b415db72cbdf8833476a21af5190e15fa22 Mon Sep 17 00:00:00 2001 -From: Marcin Bajor <marcin.bajor@gmail.com> -Date: Wed, 14 Oct 2015 10:51:27 +0200 -Subject: [PATCH] Fix for build with C++11 flags - ---- - rtengine/dcraw.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/rtengine/dcraw.cc b/rtengine/dcraw.cc -index add5b52..8e0a36d 100644 ---- a/rtengine/dcraw.cc -+++ b/rtengine/dcraw.cc -@@ -136,10 +136,10 @@ const float d65_white[3] = { 0.950456, 1, 1.088754 }; - - #define SQR(x) rtengine::SQR(x) - #define ABS(x) (((int)(x) ^ ((int)(x) >> 31)) - ((int)(x) >> 31)) --#define MIN(a,b) rtengine::min(a,static_cast<typeof(a)>(b)) --#define MAX(a,b) rtengine::max(a,static_cast<typeof(a)>(b)) --#define LIM(x,min,max) rtengine::LIM(x,static_cast<typeof(x)>(min),static_cast<typeof(x)>(max)) --#define ULIM(x,y,z) rtengine::ULIM(x,static_cast<typeof(x)>(y),static_cast<typeof(x)>(z)) -+#define MIN(a,b) rtengine::min(a,static_cast<__typeof__(a)>(b)) -+#define MAX(a,b) rtengine::max(a,static_cast<__typeof__(a)>(b)) -+#define LIM(x,min,max) rtengine::LIM(x,static_cast<__typeof__(x)>(min),static_cast<__typeof__(x)>(max)) -+#define ULIM(x,y,z) rtengine::ULIM(x,static_cast<__typeof__(x)>(y),static_cast<__typeof__(x)>(z)) - #define CLIP(x) rtengine::CLIP(x) - #define SWAP(a,b) { a=a+b; b=a-b; a=a-b; } - |