summaryrefslogtreecommitdiff
path: root/games/mame/gcc471.patch
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2013-06-15 13:54:26 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-15 13:54:26 -0300
commit6e8f2dc2b34ab8f29c35f9a1798a73195365b8ab (patch)
treede2d4954a946db72cfe8af4a45b5b3c884edc9ff /games/mame/gcc471.patch
parent9bc3c86bc86e0b7345843f36d46dbccacdd741f0 (diff)
downloadslackbuilds-6e8f2dc2b34ab8f29c35f9a1798a73195365b8ab.tar.gz
games/mame: Updated for version 0.149.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/mame/gcc471.patch')
-rw-r--r--games/mame/gcc471.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/mame/gcc471.patch b/games/mame/gcc471.patch
new file mode 100644
index 0000000000..476336fffa
--- /dev/null
+++ b/games/mame/gcc471.patch
@@ -0,0 +1,11 @@
+--- mame-0.149/src/osd/osdcomm.h 2013-01-11 09:32:48.000000000 -0200
++++ mame-0.149_patched/src/osd/osdcomm.h 2013-06-13 23:42:19.963506085 -0300
+@@ -66,7 +66,7 @@
+ #define ATTR_MALLOC __attribute__((malloc))
+ #define ATTR_PURE __attribute__((pure))
+ #define ATTR_CONST __attribute__((const))
+-#define ATTR_FORCE_INLINE __attribute__((always_inline))
++#define ATTR_FORCE_INLINE
+ #define ATTR_NONNULL(...) __attribute__((nonnull(__VA_ARGS__)))
+ /* not supported in GCC prior to 4.4.x */
+ #if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)