From 871f9b82531c34430f0e9f5211da1c563ce62239 Mon Sep 17 00:00:00 2001 From: Jorge Gallegos Date: Thu, 2 Jul 2015 14:00:17 -0700 Subject: [PATCH] uwsgi_fix_glibc_compatibility merged upstream --- uwsgi.spec | 4 ---- uwsgi_fix_glibc_compatibility.patch | 11 ----------- 2 files changed, 15 deletions(-) delete mode 100644 uwsgi_fix_glibc_compatibility.patch diff --git a/uwsgi.spec b/uwsgi.spec index 5a1cf4b..17130cd 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -111,9 +111,6 @@ Patch0: uwsgi_trick_chroot_rpmbuild.patch Patch1: uwsgi_fix_rpath.patch Patch2: uwsgi_ruby20_compatibility.patch Patch3: uwsgi_fix_lua.patch -# https://github.com/unbit/uwsgi/issues/883 -# https://sourceware.org/bugzilla/show_bug.cgi?id=17523 -Patch4: uwsgi_fix_glibc_compatibility.patch # https://github.com/unbit/uwsgi/issues/882 Patch5: uwsgi_fix_mongodb.patch # Fix java/jvm include path on ppc64le @@ -1048,7 +1045,6 @@ echo "plugin_dir = %{_libdir}/%{name}" >> buildconf/$(basename %{SOURCE1}) %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 %if 0%{?fedora} >= 22 %patch5 -p1 %endif diff --git a/uwsgi_fix_glibc_compatibility.patch b/uwsgi_fix_glibc_compatibility.patch deleted file mode 100644 index c8d27ff..0000000 --- a/uwsgi_fix_glibc_compatibility.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/core/utils.c -+++ b/core/utils.c -@@ -3514,7 +3514,7 @@ - tmpdir = "/tmp"; - } - #ifdef O_TMPFILE -- fd = open(tmpdir, O_TMPFILE | O_RDWR); -+ fd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); - if (fd >= 0) { - return fd; - }