You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
2.4 KiB

Index: _build/default/lib/eleveldb/c_src/build_deps.sh
--- _build/default/lib/eleveldb/c_src/build_deps.sh.orig 2016-07-20 01:31:35.000000000 +0200
+++ _build/default/lib/eleveldb/c_src/build_deps.sh 2017-12-26 00:55:46.772790000 +0100
@@ -67,7 +67,8 @@
*)
if [ ! -d snappy-$SNAPPY_VSN ]; then
tar -xzf snappy-$SNAPPY_VSN.tar.gz
- (cd snappy-$SNAPPY_VSN && ./configure --prefix=$BASEDIR/system --libdir=$BASEDIR/system/lib --with-pic)
+ patch -d snappy-$SNAPPY_VSN <snappy.patch
+ (cd snappy-$SNAPPY_VSN && ./configure --prefix=$BASEDIR/system --libdir=$BASEDIR/system/lib --with-pic --disable-shared)
fi
if [ ! -f system/lib/libsnappy.a ]; then
Index: _build/default/lib/eleveldb/c_src/snappy.patch
--- _build/default/lib/eleveldb/c_src/snappy.patch.orig 2017-12-26 00:55:46.772938000 +0100
+++ _build/default/lib/eleveldb/c_src/snappy.patch 2017-12-26 00:55:46.772923000 +0100
@@ -0,0 +1,14 @@
+Index: Makefile.in
+--- Makefile.in.orig 2011-03-18 18:15:18.000000000 +0100
++++ Makefile.in 2011-03-23 19:37:27.000000000 +0100
+@@ -37,8 +37,8 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-TESTS = snappy_unittest$(EXEEXT)
+-noinst_PROGRAMS = $(am__EXEEXT_1)
++TESTS =
++noinst_PROGRAMS =
+ subdir = .
+ DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
+ $(include_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
Index: _build/default/lib/mcache/rebar.config
--- _build/default/lib/mcache/rebar.config.orig 2017-08-08 18:05:48.000000000 +0200
+++ _build/default/lib/mcache/rebar.config 2017-12-26 00:55:46.773029000 +0100
@@ -21,7 +21,7 @@
{post, [{compile, {pc, compile}}]}
]}.
-%{port_env, [{"CFLAGS", "$CFLAGS -g3 -std=c99 -Werror"}]}.
+%{port_env, [{"CFLAGS", "$CFLAGS -g3 -std=c99"}]}.
{port_env, [{"CFLAGS", "$CFLAGS -g3 -std=c99"}]}.
{port_specs, [
Index: _build/default/lib/ranch/erlang.mk
--- _build/default/lib/ranch/erlang.mk.orig 2015-07-02 16:06:33.000000000 +0200
+++ _build/default/lib/ranch/erlang.mk 2017-12-26 00:58:30.288875000 +0100
@@ -206,8 +206,7 @@
# Configuration.
-ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
- +warn_shadow_vars +warn_obsolete_guard # +bin_opt_info +warn_missing_spec
+ERLC_OPTS ?= +debug_info
COMPILE_FIRST ?=
COMPILE_FIRST_PATHS = $(addprefix src/,$(addsuffix .erl,$(COMPILE_FIRST)))