wok rev 19714

fix gnet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 22:43:34 2017 +0100 (2017-02-15)
parents 37c8a99e2b2c
children 02aaddf86888
files gnet/receipt
line diff
     1.1 --- a/gnet/receipt	Wed Feb 15 20:21:32 2017 +0100
     1.2 +++ b/gnet/receipt	Wed Feb 15 22:43:34 2017 +0100
     1.3 @@ -16,6 +16,8 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i '/define _tcase_add_test/d' tests/check/gnetcheck.h
     1.8 +	sed -i 's/boolean.*_gnet_check_run_test_func.*/&\n#define _tcase_add_test __gnet_tcase_add_test/' tests/check/gnetcheck.h
     1.9  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.10  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
    1.11  	./configure \