[scim-python] improves scim-python-fixes-dlopen.patch
Peng Wu
pwu at fedoraproject.org
Wed Mar 7 07:13:12 UTC 2012
commit 0861eb41372134c4ce36f3e92f9ece877af79fde
Author: Peng Wu <alexepico at gmail.com>
Date: Wed Mar 7 15:06:37 2012 +0800
improves scim-python-fixes-dlopen.patch
scim-python-fixes-dlopen.patch | 8 ++++----
scim-python.spec | 5 ++++-
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/scim-python-fixes-dlopen.patch b/scim-python-fixes-dlopen.patch
index 64e22f2..2f7e482 100644
--- a/scim-python-fixes-dlopen.patch
+++ b/scim-python-fixes-dlopen.patch
@@ -10,11 +10,11 @@ Index: scim-python-0.1.13rc1/src/scim-python.cpp
#include <assert.h>
using namespace scim;
-@@ -175,6 +176,7 @@ scim_module_init (void)
+@@ -173,6 +174,7 @@ scim_module_init (void)
+ add_path = 1;
+ }
++ dlopen("libpython2.7.so.1.0", RTLD_LAZY |RTLD_GLOBAL);
Py_Initialize ();
PySys_SetArgv (1, argv);
-+ dlopen("libpython2.7.so.1.0", RTLD_LAZY |RTLD_GLOBAL);
- out:
- _use_count ++;
diff --git a/scim-python.spec b/scim-python.spec
index ac34118..2a6d1c6 100644
--- a/scim-python.spec
+++ b/scim-python.spec
@@ -3,7 +3,7 @@
%define mod_path scim-0.1
Name: scim-python
Version: 0.1.13rc1
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Python language binding for Smart Common Input Method platform
License: LGPLv2+
@@ -213,6 +213,9 @@ XMCreateDB -i -n %{_datadir}/scim-python/engine/XingMa/tables/zhengma.db > /dev/
%changelog
+* Wed Mar 07 2012 Peng Wu <pwu at redhat.com> - 0.1.13rc1-12
+- Improves scim-python-fixes-dlopen.patch
+
* Wed Mar 07 2012 Peng Wu <pwu at redhat.com> - 0.1.13rc1-11
- Fixes libpython2.7.so.1.0 load
More information about the scm-commits
mailing list