Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/x-unikey/files: x-unikey-1.0.4-gcc43.patch x-unikey-1.0.4-gentoo.patch
Date: Wed, 31 Dec 2008 14:28:44
Message-Id: E1LI23u-0008VP-SE@stork.gentoo.org
matsuu      08/12/31 14:28:42

  Added:                x-unikey-1.0.4-gcc43.patch
                        x-unikey-1.0.4-gentoo.patch
  Log:
  Added ~amd64. Fixed gcc-4.3 issue, bug #250682. Clean up.
  (Portage version: 2.1.6.4/cvs/Linux 2.6.28-gentoo x86_64)

Revision  Changes    Path
1.1                  app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch?rev=1.1&content-type=text/plain

Index: x-unikey-1.0.4-gcc43.patch
===================================================================
diff -Naur x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp x-unikey-1.0.4/src/ukengine/usrkeymap.cpp
--- x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp	2008-12-18 00:39:38.000000000 +0900
+++ x-unikey-1.0.4/src/ukengine/usrkeymap.cpp	2008-12-18 00:38:56.000000000 +0900
@@ -23,6 +23,8 @@
 
 #include "stdafx.h"
 #include <iostream>
+#include <cstring>
+
 using namespace std;
 
 #include <ctype.h>



1.1                  app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch?rev=1.1&content-type=text/plain

Index: x-unikey-1.0.4-gentoo.patch
===================================================================
--- x-unikey-1.0.4.orig/src/unikey-gtk/Makefile.am	2005-10-16 12:39:15.000000000 +0900
+++ x-unikey-1.0.4/src/unikey-gtk/Makefile.am	2008-12-18 00:48:37.000000000 +0900
@@ -34,7 +34,7 @@
 
 install-data-hook:
 	gtk-query-immodules-2.0 \
-	> @gtk_sysconfdir@/gtk.immodules
+	> $(DESTDIR)@gtk_sysconfdir@/gtk.immodules
 
 ##	$(moduledir)/im-vn.la \
 ##	@GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \
@@ -42,7 +42,7 @@
 
 uninstall-hook:
 	gtk-query-immodules-2.0 > \
-	@gtk_sysconfdir@/gtk.immodules
+	$(DESTDIR)@gtk_sysconfdir@/gtk.immodules
 ##	@GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \