[-]
[+]
|
Changed |
mercurial.spec
|
|
[-]
[+]
|
Added |
mercurial-glibc-24-older.patch
^
|
@@ -0,0 +1,14 @@
+--- setup.py.orig 2008-09-19 16:44:32.000000000 +0200
++++ setup.py 2008-09-19 16:50:51.000000000 +0200
+@@ -98,9 +98,10 @@
+
+ try:
+ import posix
++ import platform
+ ext_modules.append(Extension('mercurial.osutil', ['mercurial/osutil.c']))
+
+- if sys.platform == 'linux2' and os.uname()[2] > '2.6':
++ if sys.platform == 'linux2' and os.uname()[2] > '2.6' and platform.libc_ver > '2.4':
+ # The inotify extension is only usable with Linux 2.6 kernels.
+ # You also need a reasonably recent C library.
+ cc = new_compiler()
|