commit 572b47616d6a5f65088ae31a46404862203893e1
Author: Jan RÄ™korajski <[email protected]>
Date:   Sun Oct 14 20:33:17 2012 +0200

    - disable -Werror

 nginx-no-Werror.patch | 12 ++++++++++++
 nginx.spec            |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/nginx.spec b/nginx.spec
index 7681095..ece52c6 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -47,6 +47,7 @@ Source14:     %{name}-standard.conf
 Source15:      %{name}-standard.monitrc
 Source16:      %{name}-standard.init
 Source17:      %{name}-mime.types.sh
+Patch0:                nginx-no-Werror.patch
 URL:           http://nginx.net/
 BuildRequires: mailcap
 BuildRequires: openssl-devel
@@ -209,6 +210,7 @@ Plik monitrc do monitorowania serwera WWW nginx.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # build mime.types.conf
 #sh %{SOURCE17} /etc/mime.types
diff --git a/nginx-no-Werror.patch b/nginx-no-Werror.patch
new file mode 100644
index 0000000..aa530d9
--- /dev/null
+++ b/nginx-no-Werror.patch
@@ -0,0 +1,12 @@
+--- auto/cc/gcc.orig   2007-03-22 08:34:53.000000000 -0600
++++ auto/cc/gcc        2007-03-22 08:58:47.000000000 -0600
+@@ -172,7 +172,8 @@
+ 
+ 
+ # stop on warning
+-CFLAGS="$CFLAGS -Werror"
++# This combined with FORTIFY_SOURCE=2 option causes nginx to not compile.
++#CFLAGS="$CFLAGS -Werror"
+ 
+ # debug
+ CFLAGS="$CFLAGS -g"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nginx.git/commitdiff/717159c44382c0fb8bd38b838c76139bd63e2c8f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to