This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE BangPatterns, OverloadedStrings, ScopedTypeVariables #-} | |
import Control.Applicative ((<$>)) | |
import Control.Exception (catch, SomeException) | |
import Control.Monad (mapM) | |
import Data.Char (isDigit) | |
import Data.List (sortBy) | |
import qualified Data.Text as T | |
import qualified Data.Text.IO as T | |
import qualified Data.Text.Format as T | |
import Data.Text.Lazy(toStrict) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Sample Code, (C) PrZhu 2012 | |
Redistribution this sample code and/or modified version is permitted provided that | |
this notice is preserved. | |
*/ | |
/* | |
mach_make_memory_entry, vm_map | |
can be used to set up shared memory, which is shared virtual memory | |
the memory_entry is represented in mach_port_t, you know. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -u calligra-2.4.3.orig/filters/karbon/wpg/CMakeLists.txt calligra-2.4.3/filters/karbon/wpg/CMakeLists.txt | |
--- calligra-2.4.3.orig/filters/karbon/wpg/CMakeLists.txt 2012-06-26 12:18:00.000000000 +0800 | |
+++ calligra-2.4.3/filters/karbon/wpg/CMakeLists.txt 2012-07-16 18:51:31.000000000 +0800 | |
@@ -5,7 +5,7 @@ | |
kde4_add_plugin(wpgimport ${wpgimport_PART_SRCS}) | |
-target_link_libraries(wpgimport komain ${LIBWPG_LIBRARIES} ${LIBWPG_STREAM_LIBRARIES} ${WPD_LIBRARIES}) | |
+target_link_libraries(wpgimport komain ${LIBWPG_LIBRARIES} ${LIBWPG_STREAM_LIBRARY} ${WPD_LIBRARIES}) | |