Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
0bea37d
Merge #8342: Consensus: Trivial transform BOOST_FOREACH into for loop
laanwj Jul 21, 2016
9a91ddb
Merge #8347: Trivial: Make CBlockIndex param const in ContextualCheck…
laanwj Jul 21, 2016
47c726e
Merge #8396: remove outdated legacy code from key.h
laanwj Jul 25, 2016
04525b4
Merge #8358: [doc] gbuild: Set memory explicitly (default is too low)
laanwj Jul 26, 2016
150d63f
Merge #8414: prepend license statement to indirectmap.h
laanwj Jul 28, 2016
e7da254
Merge #8407: [Qt] Add dbcache migration path
laanwj Jul 28, 2016
b673b7b
Merge #8321: [trivial] Switched constants to sizeof()
laanwj Jul 28, 2016
2e4e12f
Merge #8412: libconsensus: Expose a flag for BIP112
sipa Jul 28, 2016
c03c421
Merge #8421: httpserver: drop boost (#8023 dependency)
laanwj Jul 29, 2016
13b4e65
Merge #8274: util: Update tinyformat
laanwj Jul 29, 2016
7c1c9d0
Merge #8427: net: Ignore `notfound` P2P messages
sipa Jul 30, 2016
eb54680
Merge #8238: [WIP][depends] ZeroMQ 4.1.5 && ZMQ on Windows
laanwj Jul 30, 2016
8c76eb7
Merge #8400: [qa]: enable rpcbind_test
Jul 31, 2016
60668fb
Merge #8346: Mempool: Use Consensus::CheckTxInputs direclty over main…
sipa Jul 31, 2016
aa6c379
Merge #8413: Trivial: pass Consensus::Params& instead of CChainParams…
sipa Jul 31, 2016
9589e24
Merge #8152: [Wallet] Remove CWalletDB* parameter from CWallet::AddTo…
sipa Jul 31, 2016
e34e2bb
Merge #8432: Make CWallet::fFileBacked private.
sipa Aug 1, 2016
7c62457
Merge #8428: Update README.md inside of src/test/
laanwj Aug 3, 2016
2c3a218
Merge #8189: rename mapAddrCount to mapNetGroupNodes
laanwj Aug 3, 2016
3520292
Merge #8439: [doc] Increase recommended memory in gitian build guide
laanwj Aug 3, 2016
5e54cf9
Merge #8392: Fix several node initialization issues
laanwj Aug 4, 2016
549894b
Merge #8444: Fix p2p-feefilter.py for changed tx relay behavior
laanwj Aug 4, 2016
d5b5aee
Merge #8481: Qt: Fix minimize and close bugs
laanwj Aug 11, 2016
82336d8
Merge #8503: [doc] typos, text errors
laanwj Aug 13, 2016
7dafb53
Merge #8492: configure: Allow building bench_bitcoin by itself
laanwj Aug 13, 2016
cca0569
Merge #8293: Bugfix: Allow building libbitcoinconsensus without any u…
laanwj Aug 13, 2016
6ba688b
Merge #8353: Trivial: tiny c++11 refactors
laanwj Aug 13, 2016
256b9b7
Merge #7946: Reduce cs_main locks during ConnectTip/SyncWithWallets
sipa Aug 15, 2016
f4af446
Add SYNC_TRANSACTION_NOT_IN_BLOCK constant and fix callers of SyncTra…
codablock Sep 18, 2017
a377499
Merge #8192: [trivial] Remove URLs from About dialog translations
jonasschnelli Aug 15, 2016
bc659c3
Merge #8270: Tests: Use portable #! in python scripts (/usr/bin/env)
Aug 15, 2016
a953997
Merge #8058: [Doc] Add issue template
laanwj Aug 16, 2016
599df51
Merge #8516: [trivial] remove no-longer-used InitError logic
laanwj Aug 16, 2016
9ecef83
Merge #8520: build: Remove check for `openssl/ec.h`
laanwj Aug 17, 2016
bdddabb
Merge #8521: qa: Remove duplicate `hash160` implementation
laanwj Aug 17, 2016
5c928f0
Merge #8512: Trivial: Corrected JSON typo on setban of net.cpp
laanwj Aug 17, 2016
7bba737
Merge #8482: [qa] Use single cache dir for chains
laanwj Aug 17, 2016
6b8160b
Merge #8513: Fix a type error that would not compile on OSX.
laanwj Aug 17, 2016
10aaf04
Merge #8505: Trivial: Fix typos in various files
laanwj Aug 17, 2016
e6dca36
Merge #8504: test: Remove java comparison tool
laanwj Aug 17, 2016
6ac01da
Merge #8531: [qa] abandonconflict: Use assert_equal
laanwj Aug 18, 2016
7231c66
Revert "[qa] Adjust timeouts for micro-optimization of run time"
laanwj Aug 18, 2016
55ccc56
Merge #8453: Bring secp256k1 subtree up to date with master
sipa Aug 18, 2016
80573f2
Merge #8540: qt: Fix random segfault when closing "Choose data direct…
laanwj Aug 19, 2016
5bf3dad
Merge #8461: document return value of networkhashps for getmininginfo…
laanwj Aug 19, 2016
ae90d0f
Align HD wallet status icon code with Bitcoin code
codablock Sep 18, 2017
b47cc13
Merge #8548: [wallet] Use __func__ to get function name for output p…
laanwj Aug 22, 2016
5b62ad3
Merge #8551: [qa] Remove unused code
Aug 22, 2016
8460a9b
Dashify translation_process.md
codablock Dec 29, 2017
f8ffc55
Partially cherry-pick tests refactorings found in Bitcoin SegWit PRs
codablock Dec 29, 2017
ebc466d
Revert test_bitcoin.info to test_dash.info in Makefile.am
codablock Jan 8, 2018
e3da73e
Update Dash related code to use new SyncTransaction notifications int…
codablock Jan 8, 2018
e2a795f
Return EXIT_SUCCESS instead of 0 in main()
codablock Jan 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--- Remove sections that do not apply -->
### Describe the issue

### Is the issue reproducible?
#### List steps to reproduce below:
1.
2.
3.

### Expected behavior
Tell us what should happen

### Actual behavior
Tell us what happens instead

### Any information in the debug.log file related to this issue?

### Screenshots (if available)

### What binary version was used (official or self compiled)

### Machine specs: CPU, RAM, Disk space & OS (Windows, OS X, Linux)

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,9 @@ linux-build
win32-build
qa/pull-tester/run-bitcoind-for-test.sh
qa/pull-tester/tests_config.py
qa/pull-tester/cache/*
qa/pull-tester/test.*/*
qa/tmp
cache/
qa/cache/*
share/BitcoindComparisonTool.jar

!src/leveldb*/Makefile
Expand Down
26 changes: 4 additions & 22 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ OSX_PACKAGING = $(OSX_DEPLOY_SCRIPT) $(OSX_FANCY_PLIST) $(OSX_INSTALLER_ICONS) \
$(top_srcdir)/contrib/macdeploy/detached-sig-apply.sh \
$(top_srcdir)/contrib/macdeploy/detached-sig-create.sh

COVERAGE_INFO = baseline_filtered_combined.info baseline.info block_test.info \
COVERAGE_INFO = baseline_filtered_combined.info baseline.info \
leveldb_baseline.info test_dash_filtered.info total_coverage.info \
baseline_filtered.info block_test_filtered.info rpc_test.info rpc_test_filtered.info \
baseline_filtered.info rpc_test.info rpc_test_filtered.info \
leveldb_baseline_filtered.info test_dash_coverage.info test_dash.info

dist-hook:
Expand Down Expand Up @@ -175,16 +175,6 @@ test_dash.info: baseline_filtered_combined.info
test_dash_filtered.info: test_dash.info
$(LCOV) -r $< "/usr/include/*" -o $@

block_test.info: test_dash_filtered.info
$(MKDIR_P) qa/tmp
-@TIMEOUT=15 qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS)
$(LCOV) -c -d $(abs_builddir)/src --t BitcoinJBlockTest -o $@
$(LCOV) -z -d $(abs_builddir)/src
$(LCOV) -z -d $(abs_builddir)/src/leveldb

block_test_filtered.info: block_test.info
$(LCOV) -r $< "/usr/include/*" -o $@

rpc_test.info: test_dash_filtered.info
-@TIMEOUT=15 python qa/pull-tester/rpc-tests.py $(EXTENDED_RPC_TESTS)
$(LCOV) -c -d $(abs_builddir)/src --t rpc-tests -o $@
Expand All @@ -197,8 +187,8 @@ rpc_test_filtered.info: rpc_test.info
test_dash_coverage.info: baseline_filtered_combined.info test_dash_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -o $@

total_coverage.info: baseline_filtered_combined.info test_dash_filtered.info block_test_filtered.info rpc_test_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -a block_test_filtered.info -a rpc_test_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt
total_coverage.info: baseline_filtered_combined.info test_dash_filtered.info rpc_test_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -a rpc_test_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt

test_dash.coverage/.dirstamp: test_dash_coverage.info
$(GENHTML) -s $< -o $(@D)
Expand All @@ -212,14 +202,6 @@ cov: test_dash.coverage/.dirstamp total.coverage/.dirstamp

endif

# Dash: disable the test until upstream switches from convoluted comparison tool
# Ref https://github.com/bitcoin/bitcoin/issues/4545
if USE_COMPARISON_TOOL
check-local:
## $(MKDIR_P) qa/tmp
## @qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS) 2>&1
endif

dist_noinst_SCRIPTS = autogen.sh

EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)
Expand Down
69 changes: 24 additions & 45 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ AC_PATH_TOOL(RANLIB, ranlib)
AC_PATH_TOOL(STRIP, strip)
AC_PATH_TOOL(GCOV, gcov)
AC_PATH_PROG(LCOV, lcov)
AC_PATH_PROG(JAVA, java)
AC_PATH_PROGS([PYTHON], [python3 python2.7 python2 python])
AC_PATH_PROG(GENHTML, genhtml)
AC_PATH_PROG([GIT], [git])
Expand Down Expand Up @@ -122,16 +121,6 @@ AC_ARG_ENABLE(bench,
[use_bench=$enableval],
[use_bench=yes])

AC_ARG_WITH([comparison-tool],
AS_HELP_STRING([--with-comparison-tool],[path to java comparison tool (requires --enable-tests)]),
[use_comparison_tool=$withval],
[use_comparison_tool=no])

AC_ARG_ENABLE([comparison-tool-reorg-tests],
AS_HELP_STRING([--enable-comparison-tool-reorg-tests],[enable expensive reorg tests in the comparison tool (default no)]),
[use_comparison_tool_reorg_tests=$enableval],
[use_comparison_tool_reorg_tests=no])

AC_ARG_ENABLE([extended-rpc-tests],
AS_HELP_STRING([--enable-extended-rpc-tests],[enable expensive RPC tests when using lcov (default no)]),
[use_extended_rpc_tests=$enableval],
Expand Down Expand Up @@ -392,19 +381,6 @@ if test x$use_pkgconfig = xyes; then
])
fi

if test x$use_comparison_tool != xno; then
AC_SUBST(JAVA_COMPARISON_TOOL, $use_comparison_tool)
fi

if test x$use_comparison_tool_reorg_tests != xno; then
if test x$use_comparison_tool = x; then
AC_MSG_ERROR("comparison tool reorg tests but comparison tool was not specified")
fi
AC_SUBST(COMPARISON_TOOL_REORG_TESTS, 1)
else
AC_SUBST(COMPARISON_TOOL_REORG_TESTS, 0)
fi

if test x$use_extended_rpc_tests != xno; then
AC_SUBST(EXTENDED_RPC_TESTS, -extended)
fi
Expand All @@ -416,18 +392,12 @@ if test x$use_lcov = xyes; then
if test x$GCOV = x; then
AC_MSG_ERROR("lcov testing requested but gcov not found")
fi
if test x$JAVA = x; then
AC_MSG_ERROR("lcov testing requested but java not found")
fi
if test x$PYTHON = x; then
AC_MSG_ERROR("lcov testing requested but python not found")
fi
if test x$GENHTML = x; then
AC_MSG_ERROR("lcov testing requested but genhtml not found")
fi
if test x$use_comparison_tool = x; then
AC_MSG_ERROR("lcov testing requested but comparison tool was not specified")
fi
LCOV="$LCOV --gcov-tool=$GCOV"
AX_CHECK_COMPILE_FLAG([--coverage],[CXXFLAGS="$CXXFLAGS --coverage"],
[AC_MSG_ERROR("lcov testing requested but --coverage flag does not work")])
Expand Down Expand Up @@ -826,6 +796,15 @@ else
AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions])
fi

if test "x$use_zmq" = "xyes"; then
dnl Assume libzmq was built for static linking
case $host in
*mingw*)
ZMQ_CFLAGS="$ZMQ_CFLAGS -DZMQ_STATIC"
;;
esac
fi

BITCOIN_QT_CHECK(AC_CHECK_LIB([protobuf] ,[main],[PROTOBUF_LIBS=-lprotobuf], BITCOIN_QT_FAIL(libprotobuf not found)))
if test x$use_qr != xno; then
BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
Expand All @@ -835,6 +814,12 @@ fi

dnl univalue check

need_bundled_univalue=yes

if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnonononono; then
need_bundled_univalue=no
else

if test x$system_univalue != xno ; then
found_univalue=no
if test x$use_pkgconfig = xyes; then
Expand All @@ -856,29 +841,25 @@ if test x$system_univalue != xno ; then

if test x$found_univalue = xyes ; then
system_univalue=yes
need_bundled_univalue=no
elif test x$system_univalue = xyes ; then
AC_MSG_ERROR([univalue not found])
else
system_univalue=no
fi
fi

if test x$system_univalue = xno ; then
if test x$need_bundled_univalue = xyes ; then
UNIVALUE_CFLAGS='-I$(srcdir)/univalue/include'
UNIVALUE_LIBS='univalue/libunivalue.la'
fi
AM_CONDITIONAL([EMBEDDED_UNIVALUE],[test x$system_univalue = xno])

fi

AM_CONDITIONAL([EMBEDDED_UNIVALUE],[test x$need_bundled_univalue = xyes])
AC_SUBST(UNIVALUE_CFLAGS)
AC_SUBST(UNIVALUE_LIBS)

CXXFLAGS_TEMP="$CXXFLAGS"
LIBS_TEMP="$LIBS"
CXXFLAGS="$CXXFLAGS $SSL_CFLAGS $CRYPTO_CFLAGS"
LIBS="$LIBS $SSL_LIBS $CRYPTO_LIBS"
AC_CHECK_HEADER([openssl/ec.h],, AC_MSG_ERROR(OpenSSL ec header missing),)
CXXFLAGS="$CXXFLAGS_TEMP"
LIBS="$LIBS_TEMP"

BITCOIN_QT_PATH_PROGS([PROTOC], [protoc],$protoc_bin_path)

AC_MSG_CHECKING([whether to build dashd])
Expand Down Expand Up @@ -1013,8 +994,8 @@ else
AC_MSG_RESULT([no])
fi

if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_tests = xnonononono; then
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui or --enable-tests])
if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_bench$use_tests = xnononononono; then
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui --enable-bench or --enable-tests])
fi

AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
Expand All @@ -1027,8 +1008,6 @@ AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes])
AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes])
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes])
AM_CONDITIONAL([USE_COMPARISON_TOOL],[test x$use_comparison_tool != xno])
AM_CONDITIONAL([USE_COMPARISON_TOOL_REORG_TESTS],[test x$use_comparison_tool_reorg_test != xno])
AM_CONDITIONAL([GLIBC_BACK_COMPAT],[test x$use_glibc_compat = xyes])
AM_CONDITIONAL([HARDEN],[test x$use_hardening = xyes])

Expand Down Expand Up @@ -1106,7 +1085,7 @@ PKGCONFIG_LIBDIR_TEMP="$PKG_CONFIG_LIBDIR"
unset PKG_CONFIG_LIBDIR
PKG_CONFIG_LIBDIR="$PKGCONFIG_LIBDIR_TEMP"

if test x$system_univalue = xno; then
if test x$need_bundled_univalue = xyes; then
AC_CONFIG_SUBDIRS([src/univalue])
fi

Expand Down
4 changes: 4 additions & 0 deletions contrib/debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ Files: src/qt/res/icons/tx_mined.png
src/qt/res/src/mine.svg
src/qt/res/icons/fontbigger.png
src/qt/res/icons/fontsmaller.png
src/qt/res/icons/*/hd_disabled.png
src/qt/res/src/hd_disabled.svg
src/qt/res/icons/*/hd_enabled.png
src/qt/res/src/hd_enabled.svg
Copyright: Jonas Schnelli
License: Expat
Comment:
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/security-check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/env python
'''
Perform basic ELF security checks on a series of executables.
Exit status will be 0 if successful, and the program will be silent.
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/symbol-check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/test-security-check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/env python2
'''
Test script for security-check.py
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/update-translations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# linearize-data.py: Construct a linear, no-fork version of the chain.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-hashes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# linearize-hashes.py: List blocks in a linear, no-fork version of the chain.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/seeds/generate-seeds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
Expand Down
3 changes: 0 additions & 3 deletions depends/config.site.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ fi
if test -z $with_protoc_bindir; then
with_protoc_bindir=$depends_prefix/native/bin
fi
if test -z $with_comparison_tool; then
with_comparison_tool=$depends_prefix/native/share/BitcoindComparisonTool_jar/BitcoindComparisonTool.jar
fi


if test -z $enable_wallet && test -n "@no_wallet@"; then
Expand Down
21 changes: 0 additions & 21 deletions depends/packages/native_comparisontool.mk

This file was deleted.

7 changes: 2 additions & 5 deletions depends/packages/packages.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
packages:=boost openssl libevent
darwin_packages:=zeromq
linux_packages:=zeromq
native_packages := native_ccache native_comparisontool
packages:=boost openssl libevent zeromq
native_packages := native_ccache

qt_native_packages = native_protobuf
qt_packages = qrencode protobuf
Expand All @@ -12,7 +10,6 @@ qt_i686_linux_packages:=$(qt_x86_64_linux_packages)
qt_darwin_packages=qt
qt_mingw32_packages=qt


wallet_packages=bdb

upnp_packages=miniupnpc
Expand Down
15 changes: 11 additions & 4 deletions depends/packages/zeromq.mk
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
package=zeromq
$(package)_version=4.1.4
$(package)_download_path=http://download.zeromq.org
$(package)_version=4.1.5
$(package)_download_path=https://github.com/zeromq/zeromq4-1/releases/download/v$($(package)_version)/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378
$(package)_sha256_hash=04aac57f081ffa3a2ee5ed04887be9e205df3a7ddade0027460b8042432bdbcf
$(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch

define $(package)_set_vars
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
$(package)_config_opts_linux=--with-pic
$(package)_cxxflags=-std=c++11
endef

define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/9114d3957725acd34aa8b8d011585812f3369411.patch && \
patch -p1 < $($(package)_patch_dir)/9e6745c12e0b100cd38acecc16ce7db02905e27c.patch && \
./autogen.sh
endef

define $(package)_config_cmds
$($(package)_autoconf)
endef
Expand Down
Loading