]> git.pld-linux.org Git - packages/dietlibc.git/commitdiff
- rel 5; seems that disabling vsyscall is possible, so try it after all auto/th/dietlibc-0.33-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 8 Feb 2018 17:23:24 +0000 (18:23 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 8 Feb 2018 17:23:24 +0000 (18:23 +0100)
dietlibc-no-vsyscall.patch [new file with mode: 0644]
dietlibc.spec

diff --git a/dietlibc-no-vsyscall.patch b/dietlibc-no-vsyscall.patch
new file mode 100644 (file)
index 0000000..1b80f26
--- /dev/null
@@ -0,0 +1,14 @@
+--- dietlibc-0.33/dietfeatures.h~      2018-02-08 18:18:17.000000000 +0100
++++ dietlibc-0.33/dietfeatures.h       2018-02-08 18:21:02.388516769 +0100
+@@ -41,11 +41,6 @@
+  * string */
+ /* #define WANT_FULL_POSIX_COMPAT */
+-/* on i386, Linux has an alternate syscall method since 2002/12/16 */
+-/* on my Athlon XP, it is twice as fast, but it's only in kernel 2.5 */
+-/* 20040118: enabling this breaks User Mode Linux!  It's their fault. */
+-#define WANT_SYSENTER
+-
+ #define WANT_LINKER_WARNINGS
+ /* you need to define this if you want to run your programs with large
index 0f26b954f3e1fad8388d9912956ebc6412cbbd9d..56d6509929397e2a5ded59db5fe252f0beadc579 100644 (file)
@@ -1,8 +1,3 @@
-# NOTE: recent PLD kernels no longer support vsyscalls and dietlibc
-# uses vsyscall heavily, so your apps can stop working segfaulting with:
-# "vsyscall attempted with vsyscall=none ...."
-# in dmesg.
-
 # Conditional build:
 %bcond_without ssp     # stack-smashing protector
 %bcond_with    dynamic # dynamic lib support
@@ -16,7 +11,7 @@ Summary(pl.UTF-8):    Biblioteka standardowa C zoptymalizowana na rozmiar
 Summary(pt_BR.UTF-8):  libc pequena otimizada para tamanho
 Name:          dietlibc
 Version:       0.33
-Release:       4
+Release:       5
 Epoch:         2
 License:       GPL v2
 Group:         Development/Libraries
@@ -36,6 +31,7 @@ Patch10:      %{name}-getsubopt.patch
 Patch11:       %{name}-devmacros.patch
 Patch12:       %{name}-notify.patch
 Patch13:       x32-fixes.patch
+Patch14:       %{name}-no-vsyscall.patch
 Patch100:      git.patch
 URL:           http://www.fefe.de/dietlibc/
 BuildRequires: rpmbuild(macros) >= 1.566
@@ -120,6 +116,7 @@ statyczne.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %if "%{cc_version}" < "3.4"
 %{__sed} -i -e '/CFLAGS/ s/-Wextra//' Makefile
This page took 0.103267 seconds and 4 git commands to generate.