diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-31 08:58:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-31 08:58:47 +0000 |
commit | 63d0d50210da469495daf5097476ef17e50972f5 (patch) | |
tree | 5ce1fddf45a2a81504747e0e12a15a45c87b947f /dev-libs/yaz/files | |
parent | Invalid headers. Invalid entries. (diff) | |
download | gentoo-2-63d0d50210da469495daf5097476ef17e50972f5.tar.gz gentoo-2-63d0d50210da469495daf5097476ef17e50972f5.tar.bz2 gentoo-2-63d0d50210da469495daf5097476ef17e50972f5.zip |
Bug #277853: version bump. Thanks to John Klehm <xixsimplicityxix@gmail.com>.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/yaz/files')
-rw-r--r-- | dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch new file mode 100644 index 000000000000..a0aedfe05105 --- /dev/null +++ b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch @@ -0,0 +1,25 @@ +--- yaz-3.0.47/configure.ac.orig 2009-07-08 04:58:43.000000000 -0700 ++++ yaz-3.0.47/configure.ac 2009-07-31 01:46:21.764545198 -0700 +@@ -367,14 +367,14 @@ + + dnl + dnl +-AC_CHECK_ICU([3.4],[ +- if test "$xml_enabled" = "true"; then +- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" +- else +- ICU_CPPFLAGS="" +- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) +- fi +-]) ++dnl ------ ICU ++AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) ++if test "$enable_icu" = "yes"; then ++ AC_CHECK_ICU([3.4],[ ++ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ ++ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) ++ ]) ++fi + dnl + dnl ------ Memory debugging + AC_ARG_ENABLE([memdebug],[ --enable-memdebug enable memory debugging],[enable_memdebug=$enableval],[enable_memdebug=none]) |