Description: Upstream changes introduced in version 0.6.0+svn20100107-2ubuntu4
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 fontmatrix (0.6.0+svn20100107-2ubuntu4) lucid; urgency=low
 .
   * Add cmake/modules/FindICUUC.cmake and adjust CMakeLists.txt so the linker
     can find libicuuc
 .
 The person named in the Author field signed this changelog entry.
Author: Scott Kitterman <scott@kitterman.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: Ubuntu
Bug-Debian: http://bugs.debian.org/607148
Forwarded: no
Last-Update: <2010-12-18>

--- fontmatrix-0.6.0+svn20100107.orig/CMakeLists.txt
+++ fontmatrix-0.6.0+svn20100107/CMakeLists.txt
@@ -64,6 +64,14 @@ IF(WANT_ICU)
 	ELSE(ICU_FOUND)
 		MESSAGE(FATAL_ERROR "ICU Not Found ARGH")
 	ENDIF(ICU_FOUND)
+	#       Need to link more than what CMake finds on it's own.
+	FIND_PACKAGE(ICUUC)
+	if(ICUU_FOUND)
+		MESSAGE(STATUS "ICUUC Found OK")
+		LINK_LIBRARIES(${ICUU_LIBRARIES})
+	ELSE(ICUU_FOUND)
+		MESSAGE(FATAL_ERROR "ICUUC Not Found ARGH")
+	ENDIF(ICUU_FOUND)
 ENDIF(WANT_ICU)
 
 #>> ICU
--- /dev/null
+++ fontmatrix-0.6.0+svn20100107/cmake/modules/FindICUUC.cmake
@@ -0,0 +1,23 @@
+# Finds additional components for Unicode (ICU) Library
+#
+#  ICUU_FOUND         - True if ICUUUC found.
+#  ICUU_LIBRARIES     - Additional libraries to link against for the common ICU
+
+# Look for the additional library.
+find_library(
+  ICUU_LIBRARY
+  NAMES icuuc
+  PATHS /usr/lib /usr/local/lib /lib
+  MESSAGE(STATUS "Found ICUUC library: ${ICUU_LIBRARY}"))
+mark_as_advanced(ICUU_LIBRARY)
+
+# Copy the results to the output variables.
+if(ICUU_LIBRARY)
+  MESSAGE(STATUS "Found ICUUC: ${ICUU_LIBRARY}")
+  set(ICUU_FOUND 1)
+  set(ICUU_LIBRARIES ${ICUU_LIBRARY})
+else(ICUU_LIBRARY)
+  set(ICUU_FOUND 0)
+  set(ICUU_LIBRARIES)
+endif(ICUU_LIBRARY)
+
