diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
commit | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (patch) | |
tree | da76713365257a445f3ae3b95470917f59d46728 /media-libs/libraw/files | |
parent | 4935506e9a5cbfabd37c64093eac5f36c2ff0017 (diff) |
gentoo resync : 24.02.2018
Diffstat (limited to 'media-libs/libraw/files')
-rw-r--r-- | media-libs/libraw/files/libraw-0.18.4-glibc-2.27.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/libraw/files/libraw-0.18.4-glibc-2.27.patch b/media-libs/libraw/files/libraw-0.18.4-glibc-2.27.patch new file mode 100644 index 000000000000..3e33cc62acc2 --- /dev/null +++ b/media-libs/libraw/files/libraw-0.18.4-glibc-2.27.patch @@ -0,0 +1,14 @@ +Fix build failure on glibc-2.27 caused by pow64 symbol collision. + +https://github.com/LibRaw/LibRaw/pull/115 +https://bugs.gentoo.org/647556 +diff --git a/internal/dcraw_common.cpp b/internal/dcraw_common.cpp +index 18bcdbc..8cec744 100644 +--- a/internal/dcraw_common.cpp ++++ b/internal/dcraw_common.cpp +@@ -5770,4 +5770,5 @@ static float powf_lim(float a, float b, float limup) + return (b>limup || b < -limup)?0.f:powf(a,b); + } ++#define powf64 powf_lim64 /* workaround symbol collision */ + static float powf64(float a, float b) + { |