summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/scim/files/patch-src_scim__debug.h13
-rw-r--r--textproc/scim/files/patch-src_scim__pointer.h13
2 files changed, 26 insertions, 0 deletions
diff --git a/textproc/scim/files/patch-src_scim__debug.h b/textproc/scim/files/patch-src_scim__debug.h
new file mode 100644
index 000000000000..f3407c9bbb40
--- /dev/null
+++ b/textproc/scim/files/patch-src_scim__debug.h
@@ -0,0 +1,13 @@
+https://github.com/scim-im/scim/commit/ea2a777b2fab
+
+--- src/scim_debug.h.orig 2008-11-02 06:42:34 UTC
++++ src/scim_debug.h
+@@ -41,7 +41,7 @@ namespace scim {
+ * @name The mask for debug messages filtering.
+ * @{
+ */
+-#define SCIM_DEBUG_AllMask (~0) /**< Show all messages. */
++#define SCIM_DEBUG_AllMask ((uint32)~0) /**< Show all messages. */
+ #define SCIM_DEBUG_MainMask 1 /**< Show messages of main application. */
+ #define SCIM_DEBUG_ConfigMask 2 /**< Show messages of Config objects */
+ #define SCIM_DEBUG_IMEngineMask 4 /**< Show messages of IMEngine objects */
diff --git a/textproc/scim/files/patch-src_scim__pointer.h b/textproc/scim/files/patch-src_scim__pointer.h
new file mode 100644
index 000000000000..c4c53c4be0a5
--- /dev/null
+++ b/textproc/scim/files/patch-src_scim__pointer.h
@@ -0,0 +1,13 @@
+https://github.com/scim-im/scim/commit/bdeff0b45eda
+
+--- src/scim_pointer.h.orig 2008-11-02 06:42:37 UTC
++++ src/scim_pointer.h
+@@ -84,7 +84,7 @@ class Pointer (public)
+ //!<
+ //!< <BR>Initialize a new Pointer with any dumb pointer.
+
+- Pointer(Pointer& src) : t(0)
++ Pointer(const Pointer& src) : t(0)
+ {
+ set(src.get());
+ }