aboutsummaryrefslogtreecommitdiff
path: root/libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch')
-rw-r--r--libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch b/libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch
deleted file mode 100644
index ebbe7000b..000000000
--- a/libs/libaudiofile/patches/010-gcc6-fix-left-shift-negative-number.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Fix FTBFS with GCC 6
-Author: Michael Schwendt <mschwendt@fedoraproject.org>
-Origin: vendor, https://github.com/mpruett/audiofile/pull/27
-Bug-Debian: https://bugs.debian.org/812055
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-
---- a/libaudiofile/modules/SimpleModule.h
-+++ b/libaudiofile/modules/SimpleModule.h
-@@ -123,7 +123,7 @@ struct signConverter
- typedef typename IntTypes<Format>::UnsignedType UnsignedType;
-
- static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
-- static const int kMinSignedValue = -1 << kScaleBits;
-+ static const int kMinSignedValue = 0-(1U<<kScaleBits);
-
- struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
- {