summaryrefslogtreecommitdiff
path: root/libre/kipi-plugins/digikam-5.1-fix-build.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-18 06:14:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-18 14:49:58 -0300
commit653940393ad240099299cfa90a4e110c62fc0a3d (patch)
tree4bd41c5787639150392c27d6dc0b0d31e332f718 /libre/kipi-plugins/digikam-5.1-fix-build.patch
parent4d906c43682f616c7e8afe375686556469214653 (diff)
kipi-plugins-5.1.0-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'libre/kipi-plugins/digikam-5.1-fix-build.patch')
-rw-r--r--libre/kipi-plugins/digikam-5.1-fix-build.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/kipi-plugins/digikam-5.1-fix-build.patch b/libre/kipi-plugins/digikam-5.1-fix-build.patch
new file mode 100644
index 000000000..29f282079
--- /dev/null
+++ b/libre/kipi-plugins/digikam-5.1-fix-build.patch
@@ -0,0 +1,15 @@
+--- digikam-5.1.0/core/libs/rawengine/libraw/libraw/libraw_types.h.orig 2016-08-09 15:05:10.449224741 +0000
++++ digikam-5.1.0/core/libs/rawengine/libraw/libraw/libraw_types.h 2016-08-09 15:05:50.725789944 +0000
+@@ -618,10 +618,10 @@
+ #elif defined(_M_X64) || defined(__amd64__)
+ #define LibRawBigEndian 0
+
+-#elif defined(__LITTLE_ENDIAN__)
++#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ #define LibRawBigEndian 0
+
+-#elif defined(__BIG_ENDIAN__)
++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+ #define LibRawBigEndian 1
+ #elif defined(_ARM_)
+ #define LibRawBigEndian 0