1 |
commit: ce5d6003082948d29a61d08842ff009ff5206232 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 30 14:25:21 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 10:13:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5d6003 |
7 |
|
8 |
media-tv/kodi: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3286 |
11 |
|
12 |
media-tv/kodi/files/kodi-15.1-gcc-5.patch | 172 ------------------------------ |
13 |
1 file changed, 172 deletions(-) |
14 |
|
15 |
diff --git a/media-tv/kodi/files/kodi-15.1-gcc-5.patch b/media-tv/kodi/files/kodi-15.1-gcc-5.patch |
16 |
deleted file mode 100644 |
17 |
index b96cc82..00000000 |
18 |
--- a/media-tv/kodi/files/kodi-15.1-gcc-5.patch |
19 |
+++ /dev/null |
20 |
@@ -1,172 +0,0 @@ |
21 |
-fix from upstream |
22 |
- |
23 |
-From 38693b251f5d80a7414b077e02c1636af65afb3d Mon Sep 17 00:00:00 2001 |
24 |
-From: Craig Andrews <candrews@××××××××××××.com> |
25 |
-Date: Thu, 30 Jul 2015 23:06:41 -0400 |
26 |
-Subject: [PATCH] [rsxs] Use stdbool.h from GCC 5.2.0 |
27 |
- |
28 |
---- |
29 |
- xbmc/screensavers/rsxs-0.9/lib/stdbool_.h | 137 +++++++++--------------------- |
30 |
- 1 file changed, 38 insertions(+), 99 deletions(-) |
31 |
- |
32 |
-diff --git a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h |
33 |
-index efa80ba..a951510 100644 |
34 |
---- a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h |
35 |
-+++ b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h |
36 |
-@@ -1,115 +1,54 @@ |
37 |
--/* Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc. |
38 |
-- Written by Bruno Haible <haible@××××××××××.org>, 2001. |
39 |
-+/* Copyright (C) 1998-2015 Free Software Foundation, Inc. |
40 |
- |
41 |
-- This program is free software; you can redistribute it and/or modify |
42 |
-- it under the terms of the GNU General Public License as published by |
43 |
-- the Free Software Foundation; either version 2, or (at your option) |
44 |
-- any later version. |
45 |
-+This file is part of GCC. |
46 |
- |
47 |
-- This program is distributed in the hope that it will be useful, |
48 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
49 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
50 |
-- GNU General Public License for more details. |
51 |
-+GCC is free software; you can redistribute it and/or modify |
52 |
-+it under the terms of the GNU General Public License as published by |
53 |
-+the Free Software Foundation; either version 3, or (at your option) |
54 |
-+any later version. |
55 |
- |
56 |
-- You should have received a copy of the GNU General Public License |
57 |
-- along with this program; if not, write to the Free Software Foundation, |
58 |
-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
59 |
-+GCC is distributed in the hope that it will be useful, |
60 |
-+but WITHOUT ANY WARRANTY; without even the implied warranty of |
61 |
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
62 |
-+GNU General Public License for more details. |
63 |
- |
64 |
--#ifndef _STDBOOL_H |
65 |
--#define _STDBOOL_H |
66 |
-- |
67 |
--/* ISO C 99 <stdbool.h> for platforms that lack it. */ |
68 |
-- |
69 |
--/* Usage suggestions: |
70 |
-- |
71 |
-- Programs that use <stdbool.h> should be aware of some limitations |
72 |
-- and standards compliance issues. |
73 |
-- |
74 |
-- Standards compliance: |
75 |
-+Under Section 7 of GPL version 3, you are granted additional |
76 |
-+permissions described in the GCC Runtime Library Exception, version |
77 |
-+3.1, as published by the Free Software Foundation. |
78 |
- |
79 |
-- - <stdbool.h> must be #included before 'bool', 'false', 'true' |
80 |
-- can be used. |
81 |
-+You should have received a copy of the GNU General Public License and |
82 |
-+a copy of the GCC Runtime Library Exception along with this program; |
83 |
-+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
84 |
-+<http://www.gnu.org/licenses/>. */ |
85 |
- |
86 |
-- - You cannot assume that sizeof (bool) == 1. |
87 |
-+/* |
88 |
-+ * ISO C Standard: 7.16 Boolean type and values <stdbool.h> |
89 |
-+ */ |
90 |
- |
91 |
-- - Programs should not undefine the macros bool, true, and false, |
92 |
-- as C99 lists that as an "obsolescent feature". |
93 |
-- |
94 |
-- Limitations of this substitute, when used in a C89 environment: |
95 |
-- |
96 |
-- - <stdbool.h> must be #included before the '_Bool' type can be used. |
97 |
-- |
98 |
-- - You cannot assume that _Bool is a typedef; it might be a macro. |
99 |
-+#ifndef _STDBOOL_H |
100 |
-+#define _STDBOOL_H |
101 |
- |
102 |
-- - In C99, casts and automatic conversions to '_Bool' or 'bool' are |
103 |
-- performed in such a way that every nonzero value gets converted |
104 |
-- to 'true', and zero gets converted to 'false'. This doesn't work |
105 |
-- with this substitute. With this substitute, only the values 0 and 1 |
106 |
-- give the expected result when converted to _Bool' or 'bool'. |
107 |
-+#ifndef __cplusplus |
108 |
- |
109 |
-- Also, it is suggested that programs use 'bool' rather than '_Bool'; |
110 |
-- this isn't required, but 'bool' is more common. */ |
111 |
-+#define bool _Bool |
112 |
-+#define true 1 |
113 |
-+#define false 0 |
114 |
- |
115 |
-+#else /* __cplusplus */ |
116 |
- |
117 |
--/* 7.16. Boolean type and values */ |
118 |
-+/* Supporting _Bool in C++ is a GCC extension. */ |
119 |
-+#define _Bool bool |
120 |
- |
121 |
--/* BeOS <sys/socket.h> already #defines false 0, true 1. We use the same |
122 |
-- definitions below, but temporarily we have to #undef them. */ |
123 |
--#ifdef __BEOS__ |
124 |
--# include <OS.h> /* defines bool but not _Bool */ |
125 |
--# undef false |
126 |
--# undef true |
127 |
-+#if __cplusplus < 201103L |
128 |
-+/* Defining these macros in C++98 is a GCC extension. */ |
129 |
-+#define bool bool |
130 |
-+#define false false |
131 |
-+#define true true |
132 |
- #endif |
133 |
- |
134 |
--/* For the sake of symbolic names in gdb, we define true and false as |
135 |
-- enum constants, not only as macros. |
136 |
-- It is tempting to write |
137 |
-- typedef enum { false = 0, true = 1 } _Bool; |
138 |
-- so that gdb prints values of type 'bool' symbolically. But if we do |
139 |
-- this, values of type '_Bool' may promote to 'int' or 'unsigned int' |
140 |
-- (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' |
141 |
-- (see ISO C 99 6.3.1.1.(2)). So we add a negative value to the |
142 |
-- enum; this ensures that '_Bool' promotes to 'int'. */ |
143 |
--#if defined __cplusplus || defined __BEOS__ |
144 |
-- /* A compiler known to have 'bool'. */ |
145 |
-- /* If the compiler already has both 'bool' and '_Bool', we can assume they |
146 |
-- are the same types. */ |
147 |
--# if !@HAVE__BOOL@ |
148 |
--typedef bool _Bool; |
149 |
--# endif |
150 |
--#else |
151 |
--# if !defined __GNUC__ |
152 |
-- /* If @HAVE__BOOL@: |
153 |
-- Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when |
154 |
-- the built-in _Bool type is used. See |
155 |
-- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
156 |
-- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
157 |
-- http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
158 |
-- Similar bugs are likely with other compilers as well; this file |
159 |
-- wouldn't be used if <stdbool.h> was working. |
160 |
-- So we override the _Bool type. |
161 |
-- If !@HAVE__BOOL@: |
162 |
-- Need to define _Bool ourselves. As 'signed char' or as an enum type? |
163 |
-- Use of a typedef, with SunPRO C, leads to a stupid |
164 |
-- "warning: _Bool is a keyword in ISO C99". |
165 |
-- Use of an enum type, with IRIX cc, leads to a stupid |
166 |
-- "warning(1185): enumerated type mixed with another type". |
167 |
-- The only benefit of the enum type, debuggability, is not important |
168 |
-- with these compilers. So use 'signed char' and no typedef. */ |
169 |
--# define _Bool signed char |
170 |
--enum { false = 0, true = 1 }; |
171 |
--# else |
172 |
-- /* With this compiler, trust the _Bool type if the compiler has it. */ |
173 |
--# if !@HAVE__BOOL@ |
174 |
--typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; |
175 |
--# endif |
176 |
--# endif |
177 |
--#endif |
178 |
--#define bool _Bool |
179 |
-+#endif /* __cplusplus */ |
180 |
- |
181 |
--/* The other macros must be usable in preprocessor directives. */ |
182 |
--#define false 0 |
183 |
--#define true 1 |
184 |
--#define __bool_true_false_are_defined 1 |
185 |
-+/* Signal that all the definitions are present. */ |
186 |
-+#define __bool_true_false_are_defined 1 |
187 |
- |
188 |
--#endif /* _STDBOOL_H */ |
189 |
-+#endif /* stdbool.h */ |
190 |
--- |
191 |
-2.4.4 |
192 |
- |