Files
yaws/no-werror.patch

38 lines
1.7 KiB
Diff

diff -U 3 -H -d -r -N -x .git -x .svn -- yaws-1.96/yaws-1.96/examples/src/Makefile yaws-1.96.no-werror/yaws-1.96/examples/src/Makefile
--- yaws-1.96/yaws-1.96/examples/src/Makefile 2013-03-19 18:02:01.000000000 +0100
+++ yaws-1.96.no-werror/yaws-1.96/examples/src/Makefile 2013-06-26 10:10:29.045610337 +0200
@@ -16,7 +16,7 @@
server_sent_events
EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
-ERLC_FLAGS+=-Werror $(DEBUG_FLAGS)
+ERLC_FLAGS+=$(DEBUG_FLAGS)
all: $(EBIN_FILES)
diff -U 3 -H -d -r -N -x .git -x .svn -- yaws-1.96/yaws-1.96/rebar.config yaws-1.96.no-werror/yaws-1.96/rebar.config
--- yaws-1.96/yaws-1.96/rebar.config 2013-03-19 18:02:01.000000000 +0100
+++ yaws-1.96.no-werror/yaws-1.96/rebar.config 2013-06-26 10:05:40.269606004 +0200
@@ -7,8 +7,7 @@
"R1([1-4]|5[AB]-).*(linux|freebsd|darwin)", 'HAVE_YAWS_SENDFILE'},
{platform_define, "R1([1-4]|5[AB]-)", 'NO_FILE_SENDFILE'},
no_debug_info,
- {src_dirs, ["src", "examples/src"]},
- warnings_as_errors]}.
+ {src_dirs, ["src", "examples/src"]}]}.
{port_env, [{"CFLAGS", "$CFLAGS -g -O3 -Wall -I/usr/include/security"},
{"R1([1-4]|5[AB]-).*(linux|freebsd|darwin)",
diff -U 3 -H -d -r -N -x .git -x .svn -- yaws-1.96/yaws-1.96/src/Makefile yaws-1.96.no-werror/yaws-1.96/src/Makefile
--- yaws-1.96/yaws-1.96/src/Makefile 2013-03-19 18:02:01.000000000 +0100
+++ yaws-1.96.no-werror/yaws-1.96/src/Makefile 2013-06-26 10:10:24.513610269 +0200
@@ -64,7 +64,7 @@
EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR)) ../ebin/yaws.app ../ebin/yaws.appup
-ERLC_FLAGS+=-Werror $(DEBUG_FLAGS) -pa ../../yaws -I ../include
+ERLC_FLAGS+=$(DEBUG_FLAGS) -pa ../../yaws -I ../include
#
# Targets