[Python-modules-commits] [python-xmp-toolkit] 06/08: reapplied hardcode-library-name.diff
Daniel Stender
danstender-guest at moszumanska.debian.org
Sat Oct 17 22:38:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository python-xmp-toolkit.
commit 5e099142b1cf347bf82785f3c294376d80a3e3b2
Merge: ee130cd a724f09
Author: Daniel Stender <debian at danielstender.com>
Date: Sun Oct 18 00:35:08 2015 +0200
reapplied hardcode-library-name.diff
debian/.git-dpm | 4 ++--
debian/patches/0001-hardcode-library-name.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
libxmp/exempi.py | 2 +-
4 files changed, 28 insertions(+), 3 deletions(-)
diff --cc debian/.git-dpm
index f71b3ca,0000000..0c1399a
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- 28cc309df51975a6cf86c12618ddb5e4a548e900
- 28cc309df51975a6cf86c12618ddb5e4a548e900
++a724f0910b945f13998c988887dbbe78935f096f
++a724f0910b945f13998c988887dbbe78935f096f
+28cc309df51975a6cf86c12618ddb5e4a548e900
+28cc309df51975a6cf86c12618ddb5e4a548e900
+python-xmp-toolkit_2.0.1+git20140309.5437b0a.orig.tar.gz
+0a3b880dc933710efad3e8fc54f6ae991d6f04d4
+3574819
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-hardcode-library-name.patch
index 0000000,0000000..8ba7d6b
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-hardcode-library-name.patch
@@@ -1,0 -1,0 +1,24 @@@
++From a724f0910b945f13998c988887dbbe78935f096f Mon Sep 17 00:00:00 2001
++From: Jakub Wilk <jwilk at debian.org>
++Date: Sun, 18 Oct 2015 00:34:45 +0200
++Subject: hardcode-library-name
++
++ Hardcode library name (instead of using ctypes.util.find_library).
++ Forwarded: no
++---
++ libxmp/exempi.py | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++diff --git a/libxmp/exempi.py b/libxmp/exempi.py
++index 683e240..5252841 100644
++--- a/libxmp/exempi.py
+++++ b/libxmp/exempi.py
++@@ -49,7 +49,7 @@ def _load_exempi():
++ """
++ Loads exempi library.
++ """
++- path = ctypes.util.find_library('exempi')
+++ path = 'libexempi.so.3'
++ if path is None:
++ if platform.system().startswith('Darwin'):
++ if os.path.exists('/opt/local/lib/libexempi.dylib'):
diff --cc debian/patches/series
index 0000000,0000000..6b5c788
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-hardcode-library-name.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-xmp-toolkit.git
More information about the Python-modules-commits
mailing list