summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-27 11:58:44 +0100
committerDavid Seifert <soap@gentoo.org>2016-11-27 13:23:26 +0100
commitdf2460aa832676540ed57acf37794250809c77c8 (patch)
treeb292b3e2d00b9cf64d577d0ddb7b772dd3b15197 /dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch
parentgnome-base/libgnomeui: adwaita-icon-theme can be used instead of dead gnome-i... (diff)
downloadgentoo-df2460aa832676540ed57acf37794250809c77c8.tar.gz
gentoo-df2460aa832676540ed57acf37794250809c77c8.tar.bz2
gentoo-df2460aa832676540ed57acf37794250809c77c8.zip
dev-libs/libmoe: EAPI 6, build with GCC-5
Gentoo-bug: 570144 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2931
Diffstat (limited to 'dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch')
-rw-r--r--dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch b/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch
new file mode 100644
index 000000000000..a990a37fe240
--- /dev/null
+++ b/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch
@@ -0,0 +1,61 @@
+diff -urN b/iso2mb.c c/iso2mb.c
+--- b/iso2mb.c 2015-07-06 21:38:49.129658661 +0000
++++ c/iso2mb.c 2015-07-07 18:50:17.211540572 +0000
+@@ -513,11 +513,11 @@
+ return wc;
+ }
+
+-mb_wchar_t
++__attribute__ ((gnu_inline)) __inline__ mb_wchar_t
+ mb_encode_to_wchar(mb_info_t *info)
+ MB_ENCODE_TO_WCHAR
+
+-mb_wchar_t
++__attribute__ ((gnu_inline)) __inline__ mb_wchar_t
+ mb_fetch_wchar(mb_info_t *info)
+ MB_FETCH_WCHAR
+
+diff -urN b/mb2iso.c c/mb2iso.c
+--- b/mb2iso.c 2015-07-06 21:38:49.133658683 +0000
++++ c/mb2iso.c 2015-07-07 19:07:47.583244156 +0000
+@@ -900,7 +900,7 @@
+ return n;
+ }
+
+-size_t
++__attribute__ ((gnu_inline)) __inline__ size_t
+ mb_store_wchar(mb_wchar_t enc, mb_info_t *info)
+ MB_STORE_WCHAR
+
+diff -urN b/mb.h c/mb.h
+--- b/mb.h 2015-07-06 21:38:49.133658683 +0000
++++ c/mb.h 2015-07-07 18:50:17.211540572 +0000
+@@ -434,7 +434,7 @@
+ }
+
+ #ifdef __GNUC__
+-extern __inline__ mb_wchar_t mb_encode_to_wchar(mb_info_t *info) MB_ENCODE_TO_WCHAR
++extern __attribute__ ((gnu_inline)) __inline__ mb_wchar_t mb_encode_to_wchar(mb_info_t *info);
+ #else
+ extern mb_wchar_t mb_encode_to_wchar(mb_info_t *info);
+ #endif
+@@ -449,7 +449,7 @@
+ }
+
+ #ifdef __GNUC__
+-extern __inline__ mb_wchar_t mb_fetch_wchar(mb_info_t *info) MB_FETCH_WCHAR
++extern __attribute__ ((gnu_inline)) __inline__ mb_wchar_t mb_fetch_wchar(mb_info_t *info);
+ #else
+ extern mb_wchar_t mb_fetch_wchar(mb_info_t *info);
+ #endif
+@@ -552,7 +552,7 @@
+ }
+
+ #ifdef __GNUC__
+-extern __inline__ size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info) MB_STORE_WCHAR
++extern __attribute__ ((gnu_inline)) __inline__ size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info);
+ #else
+ extern size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info);
+ #endif
+
+