aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2016-10-23 09:17:51 -0500
committerDavid Barksdale <amatus@amatus.name>2016-10-23 09:17:51 -0500
commit9fd1aa95fdee64695538700a483c588a3ef55d0b (patch)
tree2123d03aee9d7de771f03dc35ac58c1f171253a9
parent04e78540c28a8368e9242392b8e91f7776fd4b84 (diff)
Update gnunet to rev 38181
The build has been broken since 720dba has been hiding build errors.
-rw-r--r--gnunet-build/packages/gnunet/gnunet/Buildrules3
-rw-r--r--gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38181-all.patch (renamed from gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38026-all.patch)115
2 files changed, 60 insertions, 58 deletions
diff --git a/gnunet-build/packages/gnunet/gnunet/Buildrules b/gnunet-build/packages/gnunet/gnunet/Buildrules
index e553d01..53976c8 100644
--- a/gnunet-build/packages/gnunet/gnunet/Buildrules
+++ b/gnunet-build/packages/gnunet/gnunet/Buildrules
@@ -1,4 +1,4 @@
-REVISION="38026"
+REVISION="38181"
VERSION="svn-${REVISION}"
RELEASE="0"
DESCRIPTION="GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services."
@@ -33,6 +33,7 @@ pkg_compile() {
ac_cv_lib_idn_stringprep_check_version=yes \
ac_cv_func_srandom=no \
ac_cv_func_getifaddrs=no \
+ ac_cv_lib_socket_socket=no \
CPPFLAGS="-I${SYSROOT}/usr/include" \
LDFLAGS="-L${SYSROOT}/usr/lib"
emmake make LDFLAGS="${LDFLAGS} -Wc,--ignore-dynamic-linking"
diff --git a/gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38026-all.patch b/gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38181-all.patch
index 7eb2d47..9039d4f 100644
--- a/gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38026-all.patch
+++ b/gnunet-build/packages/gnunet/gnunet/files/gnunet-svn-38181-all.patch
@@ -1,8 +1,8 @@
-Index: gnunet-svn-38026/configure.ac
+Index: gnunet-svn-38181/configure.ac
===================================================================
---- gnunet-svn-38026/configure.ac (revision 38026)
-+++ gnunet-svn-38026/configure.ac (working copy)
-@@ -641,7 +641,7 @@
+--- gnunet-svn-38181/configure.ac (revision 38181)
++++ gnunet-svn-38181/configure.ac (working copy)
+@@ -648,7 +648,7 @@
AC_CHECK_HEADERS(ltdl.h,
AC_CHECK_LIB([ltdl], [lt_dlopenext],
ltdl=1))])
@@ -11,10 +11,10 @@ Index: gnunet-svn-38026/configure.ac
then
AC_MSG_RESULT([libltdl found])
else
-Index: gnunet-svn-38026/src/Makefile.am
+Index: gnunet-svn-38181/src/Makefile.am
===================================================================
---- gnunet-svn-38026/src/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/Makefile.am (working copy)
+--- gnunet-svn-38181/src/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/Makefile.am (working copy)
@@ -91,10 +91,8 @@
peerinfo-tool \
core \
@@ -45,10 +45,10 @@ Index: gnunet-svn-38026/src/Makefile.am
$(EXP_DIR) \
$(PROVIDER_DIR)
-Index: gnunet-svn-38026/src/datastore/Makefile.am
+Index: gnunet-svn-38181/src/datastore/Makefile.am
===================================================================
---- gnunet-svn-38026/src/datastore/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/datastore/Makefile.am (working copy)
+--- gnunet-svn-38181/src/datastore/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/datastore/Makefile.am (working copy)
@@ -104,7 +104,8 @@
$(SQLITE_PLUGIN) \
$(MYSQL_PLUGIN) \
@@ -73,10 +73,10 @@ Index: gnunet-svn-38026/src/datastore/Makefile.am
libgnunet_plugin_datastore_mysql_la_SOURCES = \
plugin_datastore_mysql.c
-Index: gnunet-svn-38026/src/dht/Makefile.am
+Index: gnunet-svn-38181/src/dht/Makefile.am
===================================================================
---- gnunet-svn-38026/src/dht/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/dht/Makefile.am (working copy)
+--- gnunet-svn-38181/src/dht/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/dht/Makefile.am (working copy)
@@ -55,12 +55,6 @@
gnunet-service-dht-whanau
endif
@@ -90,10 +90,10 @@ Index: gnunet-svn-38026/src/dht/Makefile.am
gnunet_service_dht_SOURCES = \
gnunet-service-dht.c gnunet-service-dht.h \
gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
-Index: gnunet-svn-38026/src/dns/Makefile.am
+Index: gnunet-svn-38181/src/dns/Makefile.am
===================================================================
---- gnunet-svn-38026/src/dns/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/dns/Makefile.am (working copy)
+--- gnunet-svn-38181/src/dns/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/dns/Makefile.am (working copy)
@@ -18,14 +18,6 @@
pkgcfg_DATA = \
dns.conf
@@ -109,10 +109,10 @@ Index: gnunet-svn-38026/src/dns/Makefile.am
lib_LTLIBRARIES = \
libgnunetdnsparser.la \
libgnunetdnsstub.la \
-Index: gnunet-svn-38026/src/fs/fs_api.c
+Index: gnunet-svn-38181/src/fs/fs_api.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_api.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_api.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_api.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_api.c (working copy)
@@ -456,19 +456,22 @@
* to provide less data unless there is an error;
* a value of "0" will be used at the end to allow
@@ -291,10 +291,10 @@ Index: gnunet-svn-38026/src/fs/fs_api.c
{
GNUNET_break (0);
goto cleanup;
-Index: gnunet-svn-38026/src/fs/fs_api.h
+Index: gnunet-svn-38181/src/fs/fs_api.h
===================================================================
---- gnunet-svn-38026/src/fs/fs_api.h (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_api.h (working copy)
+--- gnunet-svn-38181/src/fs/fs_api.h (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_api.h (working copy)
@@ -670,16 +670,17 @@
* to provide less data unless there is an error;
* a value of "0" will be used at the end to allow
@@ -343,10 +343,10 @@ Index: gnunet-svn-38026/src/fs/fs_api.h
/**
-Index: gnunet-svn-38026/src/fs/fs_download.c
+Index: gnunet-svn-38181/src/fs/fs_download.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_download.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_download.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_download.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_download.c (working copy)
@@ -1715,33 +1715,36 @@
* @param offset identifies which block to get
* @param max (maximum) number of bytes to get; returning
@@ -398,10 +398,10 @@ Index: gnunet-svn-38026/src/fs/fs_download.c
}
-Index: gnunet-svn-38026/src/fs/fs_publish.c
+Index: gnunet-svn-38181/src/fs/fs_publish.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_publish.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_publish.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_publish.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_publish.c (working copy)
@@ -363,24 +363,24 @@
* @param emsg location to store an error message (on error)
* @return number of bytes copied to buf, 0 on error
@@ -486,10 +486,10 @@ Index: gnunet-svn-38026/src/fs/fs_publish.c
}
GNUNET_FS_directory_builder_add (db, dirpos->chk_uri, dirpos->meta,
raw_data);
-Index: gnunet-svn-38026/src/fs/fs_test_lib.c
+Index: gnunet-svn-38181/src/fs/fs_test_lib.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_test_lib.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_test_lib.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_test_lib.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_test_lib.c (working copy)
@@ -273,26 +273,23 @@
* @param cls pointer to uint32_t with publishing seed
* @param offset offset to generate data for
@@ -585,10 +585,10 @@ Index: gnunet-svn-38026/src/fs/fs_test_lib.c
off += bsize;
}
GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_close (fh));
-Index: gnunet-svn-38026/src/fs/fs_tree.c
+Index: gnunet-svn-38181/src/fs/fs_tree.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_tree.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_tree.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_tree.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_tree.c (working copy)
@@ -322,59 +322,27 @@
@@ -726,10 +726,10 @@ Index: gnunet-svn-38026/src/fs/fs_tree.c
te->reader = NULL;
}
GNUNET_assert (GNUNET_NO == te->in_next);
-Index: gnunet-svn-38026/src/fs/fs_unindex.c
+Index: gnunet-svn-38181/src/fs/fs_unindex.c
===================================================================
---- gnunet-svn-38026/src/fs/fs_unindex.c (revision 38026)
-+++ gnunet-svn-38026/src/fs/fs_unindex.c (working copy)
+--- gnunet-svn-38181/src/fs/fs_unindex.c (revision 38181)
++++ gnunet-svn-38181/src/fs/fs_unindex.c (working copy)
@@ -43,32 +43,37 @@
* @param offset identifies which block to get
* @param max (maximum) number of bytes to get; returning
@@ -782,10 +782,10 @@ Index: gnunet-svn-38026/src/fs/fs_unindex.c
}
-Index: gnunet-svn-38026/src/include/gnunet_fs_service.h
+Index: gnunet-svn-38181/src/include/gnunet_fs_service.h
===================================================================
---- gnunet-svn-38026/src/include/gnunet_fs_service.h (revision 38026)
-+++ gnunet-svn-38026/src/include/gnunet_fs_service.h (working copy)
+--- gnunet-svn-38181/src/include/gnunet_fs_service.h (revision 38181)
++++ gnunet-svn-38181/src/include/gnunet_fs_service.h (working copy)
@@ -1846,6 +1846,20 @@
@@ -835,10 +835,10 @@ Index: gnunet-svn-38026/src/include/gnunet_fs_service.h
/**
-Index: gnunet-svn-38026/src/nat/Makefile.am
+Index: gnunet-svn-38181/src/nat/Makefile.am
===================================================================
---- gnunet-svn-38026/src/nat/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/nat/Makefile.am (working copy)
+--- gnunet-svn-38181/src/nat/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/nat/Makefile.am (working copy)
@@ -15,24 +15,6 @@
dist_pkgcfg_DATA = \
nat.conf
@@ -864,10 +864,10 @@ Index: gnunet-svn-38026/src/nat/Makefile.am
bin_PROGRAMS = \
gnunet-nat-server \
gnunet-nat
-Index: gnunet-svn-38026/src/peerstore/Makefile.am
+Index: gnunet-svn-38181/src/peerstore/Makefile.am
===================================================================
---- gnunet-svn-38026/src/peerstore/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/peerstore/Makefile.am (working copy)
+--- gnunet-svn-38181/src/peerstore/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/peerstore/Makefile.am (working copy)
@@ -79,7 +79,20 @@
$(GN_PLUGIN_LDFLAGS)
endif
@@ -889,10 +889,10 @@ Index: gnunet-svn-38026/src/peerstore/Makefile.am
$(SQLITE_PLUGIN) \
$(FLAT_PLUGIN)
-Index: gnunet-svn-38026/src/set/Makefile.am
+Index: gnunet-svn-38181/src/set/Makefile.am
===================================================================
---- gnunet-svn-38026/src/set/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/set/Makefile.am (working copy)
+--- gnunet-svn-38181/src/set/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/set/Makefile.am (working copy)
@@ -16,12 +16,6 @@
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
@@ -906,10 +906,10 @@ Index: gnunet-svn-38026/src/set/Makefile.am
libexec_PROGRAMS = \
gnunet-service-set
-Index: gnunet-svn-38026/src/transport/Makefile.am
+Index: gnunet-svn-38181/src/transport/Makefile.am
===================================================================
---- gnunet-svn-38026/src/transport/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/transport/Makefile.am (working copy)
+--- gnunet-svn-38181/src/transport/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/transport/Makefile.am (working copy)
@@ -80,20 +80,6 @@
endif
@@ -964,15 +964,16 @@ Index: gnunet-svn-38026/src/transport/Makefile.am
libgnunet_plugin_transport_http_client_la_LIBADD = \
$(top_builddir)/src/hello/libgnunethello.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
-Index: gnunet-svn-38026/src/util/Makefile.am
+Index: gnunet-svn-38181/src/util/Makefile.am
===================================================================
---- gnunet-svn-38026/src/util/Makefile.am (revision 38026)
-+++ gnunet-svn-38026/src/util/Makefile.am (working copy)
-@@ -59,13 +59,9 @@
+--- gnunet-svn-38181/src/util/Makefile.am (revision 38181)
++++ gnunet-svn-38181/src/util/Makefile.am (working copy)
+@@ -59,14 +59,10 @@
libgnunetutil_la_SOURCES = \
bandwidth.c \
bio.c \
- client.c \
+ client_new.c \
common_allocation.c \
common_endian.c \
common_logging.c \
@@ -982,7 +983,7 @@ Index: gnunet-svn-38026/src/util/Makefile.am
container_bloomfilter.c \
container_heap.c \
container_meta_data.c \
-@@ -100,15 +96,11 @@
+@@ -101,15 +97,11 @@
os_network.c \
os_priority.c \
peer.c \