mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
* add two patches from Debian Bug: https://bugs.gentoo.org/472230 Bug: https://bugs.gentoo.org/627330 Bug: https://bugs.gentoo.org/689598 Bug: https://bugs.gentoo.org/706378 Bug: https://bugs.gentoo.org/765712 Bug: https://bugs.gentoo.org/791451 Bug: https://bugs.gentoo.org/834911 Signed-off-by: David Seifert <soap@gentoo.org>
21 lines
375 B
Diff
21 lines
375 B
Diff
https://salsa.debian.org/lua-team/lua5.1/-/blob/master/debian/patches/0003-extern_C.patch
|
|
|
|
From: "John V. Belmonte" <jbelmonte@debian.org>
|
|
Date: Tue, 26 Aug 2014 16:20:49 +0200
|
|
Subject: extern_C
|
|
|
|
--- a/src/luaconf.h.in
|
|
+++ b/src/luaconf.h.in
|
|
@@ -168,7 +168,11 @@
|
|
|
|
#else
|
|
|
|
+#ifdef __cplusplus
|
|
+#define LUA_API extern "C"
|
|
+#else
|
|
#define LUA_API extern
|
|
+#endif
|
|
|
|
#endif
|
|
|