summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/patches/0.30.210-r7/util-vserver-0.30.209-remove-traditional-syscall.patch')
-rw-r--r--util-vserver/patches/0.30.210-r7/util-vserver-0.30.209-remove-traditional-syscall.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/util-vserver/patches/0.30.210-r7/util-vserver-0.30.209-remove-traditional-syscall.patch b/util-vserver/patches/0.30.210-r7/util-vserver-0.30.209-remove-traditional-syscall.patch
new file mode 100644
index 0000000..fdb676a
--- /dev/null
+++ b/util-vserver/patches/0.30.210-r7/util-vserver-0.30.209-remove-traditional-syscall.patch
@@ -0,0 +1,29 @@
+Index: util-vserver-0.30.209/config.h.in
+===================================================================
+--- util-vserver-0.30.209.orig/config.h.in
++++ util-vserver-0.30.209/config.h.in
+@@ -232,10 +232,4 @@
+ /* Use 64bit interface for filesystem operations */
+ #undef _FILE_OFFSET_BITS
+
+-
+-#if defined(__pic__) && defined(__i386) && !defined(ENSC_SYSCALL_TRADITIONAL) && !defined(ENSC_USE_ALTERNATIVE_SYSCALL_MACROS)
+-# define ENSC_SYSCALL_TRADITIONAL 1
+-#endif
+-
+ #include "compat.h"
+-
+Index: util-vserver-0.30.209/m4/ensc_syscall.m4
+===================================================================
+--- util-vserver-0.30.209.orig/m4/ensc_syscall.m4
++++ util-vserver-0.30.209/m4/ensc_syscall.m4
+@@ -101,9 +101,4 @@ int main() {
+ if test x"$with_syscall" = xtraditional; then
+ AC_DEFINE(ENSC_SYSCALL_TRADITIONAL, 1, [Define to 1 when the fast syscall(2) invocation does not work])
+ fi
+-
+- AH_BOTTOM([
+-#if defined(__pic__) && defined(__i386) && !defined(ENSC_SYSCALL_TRADITIONAL) && !defined(ENSC_USE_ALTERNATIVE_SYSCALL_MACROS)
+-# define ENSC_SYSCALL_TRADITIONAL 1
+-#endif])
+ ])