Hi, The attached file is the diff for my scim-pinyin 0.5.0-4.1 NMU. The associated changelog entry is:
scim-pinyin (0.5.0-4.1) unstable; urgency=medium * Non-maintainer upload. * Add '20_gcc_4.3.dpatch' to fix FTBFS with GCC 4.3 (Closes: #441594) Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
diff -Nru scim-pinyin-0.5.0/debian/changelog scim-pinyin-0.5.0/debian/changelog --- scim-pinyin-0.5.0/debian/changelog 2008-04-12 02:09:27.000000000 +0100 +++ scim-pinyin-0.5.0/debian/changelog 2008-04-12 02:09:27.000000000 +0100 @@ -1,3 +1,10 @@ +scim-pinyin (0.5.0-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add '20_gcc_4.3.dpatch' to fix FTBFS with GCC 4.3 (Closes: #441594) + + -- Chris Lamb <[EMAIL PROTECTED]> Sat, 12 Apr 2008 02:07:04 +0100 + scim-pinyin (0.5.0-4) unstable; urgency=low * Rewrite debian/rules, using debian/rules from scim-tables as template. diff -Nru /tmp/DxHQKfFrXE/scim-pinyin-0.5.0/debian/patches/00list /tmp/gH99RIsgQQ/scim-pinyin-0.5.0/debian/patches/00list --- scim-pinyin-0.5.0/debian/patches/00list 2008-04-12 02:09:27.000000000 +0100 +++ scim-pinyin-0.5.0/debian/patches/00list 2008-04-12 02:09:27.000000000 +0100 @@ -1,2 +1,3 @@ 01gcc-4.0.dpatch 10_missing-header.dpatch +20_gcc_4.3.dpatch diff -Nru /tmp/DxHQKfFrXE/scim-pinyin-0.5.0/debian/patches/20_gcc_4.3.dpatch /tmp/gH99RIsgQQ/scim-pinyin-0.5.0/debian/patches/20_gcc_4.3.dpatch --- scim-pinyin-0.5.0/debian/patches/20_gcc_4.3.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ scim-pinyin-0.5.0/debian/patches/20_gcc_4.3.dpatch 2008-04-12 02:09:27.000000000 +0100 @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_gcc_4.3.dpatch by Chris Lamb <[EMAIL PROTECTED]> + +## DP: Fix FTBFS with GCC 4.3 + [EMAIL PROTECTED]@ +diff -urNad scim-pinyin-0.5.0.orig/src/scim_pinyin.h scim-pinyin-0.5.0/src/scim_pinyin.h +--- scim-pinyin-0.5.0.orig/src/scim_pinyin.h 2008-04-10 17:41:41.000000000 +0100 ++++ scim-pinyin-0.5.0/src/scim_pinyin.h 2008-04-10 17:42:08.000000000 +0100 +@@ -983,6 +983,7 @@ + */ + class PinyinTable + { ++#undef HAVE_HASH_MAP + #if defined (HAVE_HASH_MAP) + typedef std::hash_multimap<ucs4_t,PinyinKey, std::hash <unsigned long> > ReversePinyinMap; + #elif defined (HAVE_EXT_HASH_MAP)
signature.asc
Description: PGP signature