| 1 |
diff -ur root-5.34.00.orig/build/rmkdepend/main.c root-5.34.00/build/rmkdepend/main.c |
| 2 |
--- root-5.34.00.orig/build/rmkdepend/main.c 2012-06-05 15:31:46.000000000 +0200 |
| 3 |
+++ root-5.34.00/build/rmkdepend/main.c 2012-07-05 20:42:58.938953353 +0200 |
| 4 |
@@ -60,7 +60,7 @@ |
| 5 |
# endif |
| 6 |
# elif defined(__CYGWIN__) |
| 7 |
extern int fchmod(int, mode_t); |
| 8 |
-#else |
| 9 |
+# elif !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16) |
| 10 |
extern int fchmod(int, int); |
| 11 |
# endif |
| 12 |
#endif |
| 13 |
diff -ur root-5.34.00.orig/cint/tool/rmkdepend/main.c root-5.34.00/cint/tool/rmkdepend/main.c |
| 14 |
--- root-5.34.00.orig/cint/tool/rmkdepend/main.c 2012-06-05 15:31:30.000000000 +0200 |
| 15 |
+++ root-5.34.00/cint/tool/rmkdepend/main.c 2012-07-05 20:42:58.492949104 +0200 |
| 16 |
@@ -58,7 +58,7 @@ |
| 17 |
#if !defined(MAC_OS_X_VERSION_10_4) |
| 18 |
extern int fchmod(); |
| 19 |
#endif |
| 20 |
-#else |
| 21 |
+#elif !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16) |
| 22 |
extern int fchmod(); |
| 23 |
#endif |
| 24 |
#endif |
| 25 |
diff -ur root-5.34.00.orig/core/unix/src/TUnixSystem.cxx root-5.34.00/core/unix/src/TUnixSystem.cxx |
| 26 |
--- root-5.34.00.orig/core/unix/src/TUnixSystem.cxx 2012-06-05 15:31:17.000000000 +0200 |
| 27 |
+++ root-5.34.00/core/unix/src/TUnixSystem.cxx 2012-07-05 20:29:29.969242837 +0200 |
| 28 |
@@ -98,6 +98,7 @@ |
| 29 |
#include <pwd.h> |
| 30 |
#include <grp.h> |
| 31 |
#include <errno.h> |
| 32 |
+#include <sys/resource.h> |
| 33 |
#include <sys/wait.h> |
| 34 |
#include <time.h> |
| 35 |
#include <sys/time.h> |