[Pkg-erlang-commits] r1711 - yaws/trunk/debian/patches
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Sun Jul 5 14:21:47 UTC 2015
Author: sgolovan
Date: 2015-07-05 14:21:47 +0000 (Sun, 05 Jul 2015)
New Revision: 1711
Modified:
yaws/trunk/debian/patches/r18.diff
Log:
* Fixed FTBFS with Erlang 18 caused by deprecating erlang:now/0
(closes: #790625).
Modified: yaws/trunk/debian/patches/r18.diff
===================================================================
--- yaws/trunk/debian/patches/r18.diff 2015-07-05 14:14:24 UTC (rev 1710)
+++ yaws/trunk/debian/patches/r18.diff 2015-07-05 14:21:47 UTC (rev 1711)
@@ -1,12 +1,17 @@
+Author: Sergei Golovan
+Description: Patch removes treating warnings as errors during the build
+ process. This fixes FTBFS with Erlang 18.
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790625
+Last-Modified: Sun, 05 Jul 2015 17:21:29 +0300
---- a/include.mk
-+++ b/include.mk
-@@ -3,7 +3,7 @@
- am__v_ERLC_0 = @echo " ERLC " $@;
- am__v_ERLC_1 =
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -63,7 +63,7 @@
--ERLC_GENERIC_FLAGS = -Werror +debug_info $(DEBUG_ERLC_FLAGS) \
-+ERLC_GENERIC_FLAGS = +debug_info $(DEBUG_ERLC_FLAGS) \
- -pa $(top_srcdir) -pa $(top_builddir) -pa $(top_builddir)/ebin \
- -I $(top_srcdir)/include -I $(srcdir)/../include \
- -I $(top_builddir)/include -I $(builddir)/../include
+
+ 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
More information about the Pkg-erlang-commits
mailing list