summaryrefslogtreecommitdiff
path: root/app-i18n/kinput2/files/kinput2-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/kinput2/files/kinput2-ppc.patch')
-rw-r--r--app-i18n/kinput2/files/kinput2-ppc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-i18n/kinput2/files/kinput2-ppc.patch b/app-i18n/kinput2/files/kinput2-ppc.patch
new file mode 100644
index 000000000000..897b154eb5ac
--- /dev/null
+++ b/app-i18n/kinput2/files/kinput2-ppc.patch
@@ -0,0 +1,11 @@
+--- a/cmd/kinput2.c
++++ b/cmd/kinput2.c
+@@ -644,3 +644,8 @@
+ return n;
+ }
+ #endif
++
++#if defined(linux) && defined(PPC)
++/* avoid nusty gcc bug */
++void _XtInherit() {}
++#endif