diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-09 18:18:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-09 18:18:58 +0000 |
commit | f20de2df8b579205c90f4970c3ad9cbb641c1a0e (patch) | |
tree | 10c37b24fe2dd78a00004e38cbafc4a9cadf69a5 /media-video/vdr/files | |
parent | 83c424cc446967ca87809e13c2ef264eebce79f8 (diff) |
gentoo auto-resync : 09:01:2023 - 18:18:58
Diffstat (limited to 'media-video/vdr/files')
-rw-r--r-- | media-video/vdr/files/vdr-2.4.7_gcc11.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/media-video/vdr/files/vdr-2.4.7_gcc11.patch b/media-video/vdr/files/vdr-2.4.7_gcc11.patch deleted file mode 100644 index 1e37b2f0010c..000000000000 --- a/media-video/vdr/files/vdr-2.4.7_gcc11.patch +++ /dev/null @@ -1,26 +0,0 @@ -Fix compile with gcc-11, officially from kls - -Signed-off-by: Martin Dummer <martin.dummer@gmx.net> - ---- a/tools.h 2021/01/19 20:38:28 5.3 -+++ b/tools.h 2021/05/05 15:16:45 -@@ -53,17 +53,15 @@ - - // In case some plugin needs to use the STL and gets an error message regarding one - // of these functions, you can #define DISABLE_TEMPLATES_COLLIDING_WITH_STL before --// including tools.h. --#if !defined(__STL_CONFIG_H) // for old versions of the STL --#if !defined(DISABLE_TEMPLATES_COLLIDING_WITH_STL) && !defined(_STL_ALGOBASE_H) -+// including any VDR header files. -+#if !defined(DISABLE_TEMPLATES_COLLIDING_WITH_STL) - template<class T> inline T min(T a, T b) { return a <= b ? a : b; } - template<class T> inline T max(T a, T b) { return a >= b ? a : b; } - #endif - template<class T> inline int sgn(T a) { return a < 0 ? -1 : a > 0 ? 1 : 0; } --#if !defined(DISABLE_TEMPLATES_COLLIDING_WITH_STL) && !defined(_MOVE_H) -+#if !defined(DISABLE_TEMPLATES_COLLIDING_WITH_STL) - template<class T> inline void swap(T &a, T &b) { T t = a; a = b; b = t; } - #endif --#endif - - template<class T> inline T constrain(T v, T l, T h) { return v < l ? l : v > h ? h : v; } |