diff --git a/uwsgi-2.0.16-glfs.patch b/uwsgi-2.0.16-glfs.patch new file mode 100644 index 0000000..fc41c38 --- /dev/null +++ b/uwsgi-2.0.16-glfs.patch @@ -0,0 +1,10 @@ +diff -up uwsgi-2.0.16/plugins/glusterfs/glusterfs.c.glfs uwsgi-2.0.16/plugins/glusterfs/glusterfs.c +--- uwsgi-2.0.16/plugins/glusterfs/glusterfs.c.glfs 2018-04-03 14:35:48.099323330 +0200 ++++ uwsgi-2.0.16/plugins/glusterfs/glusterfs.c 2018-04-03 14:35:07.573068567 +0200 +@@ -1,5 +1,5 @@ + #include +-#include ++#include + + extern struct uwsgi_server uwsgi; + diff --git a/uwsgi.spec b/uwsgi.spec index 77be7de..0cd69bd 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -146,6 +146,8 @@ Patch6: uwsgi_v8-314_compatibility.patch Patch7: uwsgi_fix_mono.patch # https://github.com/unbit/uwsgi/pull/1768 Patch8: uwsgi-2.0.16-strict.patch +# https://github.com/unbit/uwsgi/pull/1772 +Patch9: uwsgi-2.0.16-glfs.patch BuildRequires: curl, python2-devel, libxml2-devel, libuuid-devel, jansson-devel BuildRequires: libyaml-devel, ruby-devel %if %{with tcp_wrappers} @@ -1146,6 +1148,7 @@ echo "plugin_dir = %{_libdir}/%{name}" >> buildconf/$(basename %{SOURCE1}) %patch7 -p1 %endif %patch8 -p1 -b .strict +%patch9 -p1 -b .glfs #disable plug-ins %if %{without mongodblibs}