From 0704956f7256f1f618cc5e03af2c1dbd0e83dbc5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 16 Jan 2020 16:18:18 +0000 Subject: gentoo resync : 16.01.2020 --- media-sound/din/files/fix-random-constants.patch | 30 ------------------------ 1 file changed, 30 deletions(-) delete mode 100644 media-sound/din/files/fix-random-constants.patch (limited to 'media-sound/din/files/fix-random-constants.patch') diff --git a/media-sound/din/files/fix-random-constants.patch b/media-sound/din/files/fix-random-constants.patch deleted file mode 100644 index f055b10140d6..000000000000 --- a/media-sound/din/files/fix-random-constants.patch +++ /dev/null @@ -1,30 +0,0 @@ -Description: Redefine some constants in include/random.h as unsigned - These constants are used with unsigned variables, so redefine them - for consistency. - . - This also fixes compilation errors under C++11: In C++11, array initialization - is considered list initialization and so prohibits narrowing conversions - (from negative signed values to unsigned). -Author: Philip Chung -Bug-Debian: https://bugs.debian.org/811778 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- - include/random.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- din-5.2.1.orig/include/random.h -+++ din-5.2.1/include/random.h -@@ -28,9 +28,9 @@ - - const int N = 624; - const int M = 397; --const int MATRIX_A = 0x9908b0df; /* constant vector a */ --const int UPPER_MASK = 0x80000000; /* most significant w-r bits */ --const int LOWER_MASK = 0x7fffffff; /* least significant r bits */ -+const unsigned int MATRIX_A = 0x9908b0df; /* constant vector a */ -+const unsigned int UPPER_MASK = 0x80000000; /* most significant w-r bits */ -+const unsigned int LOWER_MASK = 0x7fffffff; /* least significant r bits */ - - static unsigned int mt[N]; /* the array for the state vector */ - static int mti=N+1; /* mti==N+1 means mt[N] is not initialized */ -- cgit v1.2.3