Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7a8e080a4d5efaadc1969781d7bd45e802068115)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7a8e080a4d5efaadc1969781d7bd45e802068115)
  • Date: Tue, 9 Jun 2009 17:30:28 -0500

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

python-pypi/pyinotify/DETAILS | 1 +
python-pypi/pyinotify/HISTORY | 4 ++++
python-pypi/pyinotify/PRE_BUILD | 3 +++
python-pypi/pyinotify/pyinotify.patch | 17 +++++++++++++++++
4 files changed, 25 insertions(+)

New commits:
commit 7a8e080a4d5efaadc1969781d7bd45e802068115
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

pyinotify: patch to fix glibc 2.10.1 problem

diff --git a/python-pypi/pyinotify/DETAILS b/python-pypi/pyinotify/DETAILS
index 1383d42..cd78746 100755
--- a/python-pypi/pyinotify/DETAILS
+++ b/python-pypi/pyinotify/DETAILS
@@ -1,5 +1,6 @@
SPELL=pyinotify
VERSION=0.8.6
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://seb.dbzteam.org/pub/pyinotify/releases/$SOURCE

SOURCE_HASH=sha512:0316fb16d4dec80f064599cb4a88293317e281ca16114f1328a8cfbeaa7640ba00aea169f60f99af90e105381a888d5a3f7c6f333d4578d620a442fbaef06243
diff --git a/python-pypi/pyinotify/HISTORY b/python-pypi/pyinotify/HISTORY
index 2aa8226..e6bd140 100644
--- a/python-pypi/pyinotify/HISTORY
+++ b/python-pypi/pyinotify/HISTORY
@@ -1,3 +1,7 @@
+2009-06-09 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD, pyinotify.patch: added patch to fix glibc 2.10.1 problem
+
2009-05-13 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS, DEPENDS: spell created, version 0.8.6

diff --git a/python-pypi/pyinotify/PRE_BUILD b/python-pypi/pyinotify/PRE_BUILD
new file mode 100755
index 0000000..3c64b10
--- /dev/null
+++ b/python-pypi/pyinotify/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/pyinotify.patch
diff --git a/python-pypi/pyinotify/pyinotify.patch
b/python-pypi/pyinotify/pyinotify.patch
new file mode 100644
index 0000000..5c9b021
--- /dev/null
+++ b/python-pypi/pyinotify/pyinotify.patch
@@ -0,0 +1,17 @@
+--- a/pyinotify.py
++++ b/pyinotify.py
+@@ -95,12 +95,14 @@ __metaclass__ = type # Use new-style classes by default
+ # load libc
+ LIBC = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
+
+-# the libc version check.
++# the libc version > 2.4 check.
+ # XXX: Maybe it is better to check if the libc has the needed functions
inside?
+ # Because there are inotify patches for libc 2.3.6.
+ LIBC.gnu_get_libc_version.restype = ctypes.c_char_p
+ LIBC_VERSION = LIBC.gnu_get_libc_version()
+-if LIBC_VERSION < '2.4':
++if (int(LIBC_VERSION.split('.')[0]) < 2 or
++ (int(LIBC_VERSION.split('.')[0]) == 2 and
++ int(LIBC_VERSION.split('.')[1]) < 4)):
+ raise UnsupportedLibcVersionError(LIBC_VERSION)



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7a8e080a4d5efaadc1969781d7bd45e802068115), Ladislav Hagara, 06/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page