diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-20 13:56:47 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-20 13:56:47 +0000 |
commit | e9062ae8e195c5622415f95af81b6dd62a918742 (patch) | |
tree | 74b688ffa29069fb895f704c9ac900a172eec3d2 /net-p2p/gnunet/files | |
parent | fix my name in ChangeLog (diff) | |
download | gentoo-2-e9062ae8e195c5622415f95af81b6dd62a918742.tar.gz gentoo-2-e9062ae8e195c5622415f95af81b6dd62a918742.tar.bz2 gentoo-2-e9062ae8e195c5622415f95af81b6dd62a918742.zip |
Fixing parallel build and --as-needed issues wrt bug 313165. Thanks Diego for reporting.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/gnunet/files')
-rw-r--r-- | net-p2p/gnunet/files/0.8.1-asneeded.patch | 47 | ||||
-rw-r--r-- | net-p2p/gnunet/files/0.8.1-parallel-build.patch | 242 |
2 files changed, 289 insertions, 0 deletions
diff --git a/net-p2p/gnunet/files/0.8.1-asneeded.patch b/net-p2p/gnunet/files/0.8.1-asneeded.patch new file mode 100644 index 000000000000..ad7f98b12cff --- /dev/null +++ b/net-p2p/gnunet/files/0.8.1-asneeded.patch @@ -0,0 +1,47 @@ +Fixing as-needed issues + +http://bugs.gentoo.org/313165 + +--- configure.ac ++++ configure.ac +@@ -39,8 +39,8 @@ + AC_PROG_MAKE_SET + LT_CONFIG_LTDL_DIR([libltdl]) + LT_INIT([disable-static dlopen win32-dll]) +-AM_PATH_LIBLTDL([lt_dlopenext lt_dlsym], ,AC_MSG_ERROR([GNUnet needs libltdl])) + LT_LIB_DLLOAD ++AM_PATH_LIBLTDL([lt_dlopenext lt_dlsym], ,AC_MSG_ERROR([GNUnet needs libltdl])) + AC_SUBST(MKDIR_P) + + # large file support +--- m4/libltdl-external.m4 ++++ m4/libltdl-external.m4 +@@ -19,15 +19,17 @@ + libltdl_prefix="$withval", libltdl_prefix="") + ltdl_save_CPPFLAGS="$CPPFLAGS" + ltdl_save_LDFLAGS="$LDFLAGS" ++ ltdl_save_LIBS="$LIBS" + if test x$libltdl_prefix != x ; then +- CPPFLAGS="-I$libltdl_prefix/include $CPPFLAGS" +- LDFLAGS="-L$libltdl_prefix/lib -lltdl $LDFLAGS" ++ CPPFLAGS="$CPPFLAGS -I$libltdl_prefix/include" ++ LDFLAGS="$LDFLAGS -L$libltdl_prefix/lib" ++ LIBS="-lltdl $LIBS" + else + if test x"$LIBLTDL" = x ; then + LIBLTDL="-lltdl" + fi + CPPFLAGS="$LTDLINCL $CPPFLAGS" +- LDFLAGS="$LIBLTDL $LDFLAGS" ++ LIBS="$LIBLTDL $LIBS" + fi + + symbols_to_check=ifelse([$1], ,"ltdl_dlopen","$1") +@@ -59,6 +61,7 @@ + fi + CPPFLAGS="$ltdl_save_CPPFLAGS" + LDFLAGS="$ltdl_save_LDFLAGS" ++ LIBS="$ltdl_save_LIBS" + + AC_MSG_CHECKING(for libltdl with symbols $symbols_to_check) + if test $ltdl_found = yes; then diff --git a/net-p2p/gnunet/files/0.8.1-parallel-build.patch b/net-p2p/gnunet/files/0.8.1-parallel-build.patch new file mode 100644 index 000000000000..697451c84c05 --- /dev/null +++ b/net-p2p/gnunet/files/0.8.1-parallel-build.patch @@ -0,0 +1,242 @@ +Fixing parallel build issues + +--- src/server/Makefile.am ++++ src/server/Makefile.am +@@ -30,26 +30,25 @@ + gnunetd_SOURCES = \ + gnunetd.c + gnunetd_LDADD = \ +- $(top_builddir)/src/server/libgnunetcore.la \ ++ libgnunetcore.la \ + $(GN_LIBINTL) + + + gnunet_update_SOURCES = \ + gnunet-update.c + gnunet_update_LDADD = \ +- $(top_builddir)/src/server/libgnunetcore.la \ ++ libgnunetcore.la \ + $(GN_LIBINTL) + + gnunet_peer_info_SOURCES = \ + gnunet-peer-info.c + gnunet_peer_info_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ +- $(top_builddir)/src/server/libgnunetcore.la \ ++ libgnunetcore.la \ + $(GN_LIBINTL) + + gnunet_transport_check_SOURCES = \ + gnunet-transport-check.c + gnunet_transport_check_LDADD = \ +- $(top_builddir)/src/server/libgnunetcore.la \ ++ libgnunetcore.la \ + $(GN_LIBINTL) +- +--- src/applications/stats/Makefile.am ++++ src/applications/stats/Makefile.am +@@ -21,7 +21,7 @@ + gnunet_stats_SOURCES = \ + gnunet-stats.c + gnunet_stats_LDADD = \ +- $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ ++ libgnunetstatsapi.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + +--- src/applications/rpc/Makefile.am ++++ src/applications/rpc/Makefile.am +@@ -16,7 +16,7 @@ + libgnunetmodule_rpc_la_LDFLAGS = \ + $(GN_PLUGIN_LDFLAGS) + libgnunetmodule_rpc_la_LIBADD = \ +- $(top_builddir)/src/applications/rpc/libgnunetrpcutil.la \ ++ libgnunetrpcutil.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + +--- src/applications/tracekit/Makefile.am ++++ src/applications/tracekit/Makefile.am +@@ -18,7 +18,7 @@ + gnunet-tracekit.c \ + tracekit.h + gnunet_tracekit_LDADD = \ +- $(top_builddir)/src/applications/tracekit/libgnunettracekitapi.la \ ++ libgnunettracekitapi.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + +@@ -53,5 +53,5 @@ + tracekittest_LDADD = \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ +- $(top_builddir)/src/applications/tracekit/libgnunettracekitapi.la \ ++ libgnunettracekitapi.la \ + $(top_builddir)/src/util/libgnunetutil.la +--- src/applications/testing/Makefile.am ++++ src/applications/testing/Makefile.am +@@ -40,20 +40,20 @@ + testingtest.c + testingtest_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ +- $(top_builddir)/src/applications/testing/libgnunettestingapi.la ++ libgnunettestingapi.la + + remotetest_SOURCES = \ + remotetest.c + remotetest_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ +- $(top_builddir)/src/applications/testing/libgnunetremoteapi.la ++ libgnunetremoteapi.la + + + testingtest_loop_SOURCES = \ + testingtest_loop.c + testingtest_loop_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ +- $(top_builddir)/src/applications/testing/libgnunettestingapi.la ++ libgnunettestingapi.la + + + pkgdata_DATA = \ +--- src/applications/fs/fsui/Makefile.am.orig 2010-04-06 15:02:21.375530243 +0000 ++++ src/applications/fs/fsui/Makefile.am 2010-04-06 15:03:26.424279707 +0000 +@@ -37,7 +37,7 @@ + fsui_loader_SOURCES = \ + fsui-loader.c + fsui_loader_LDADD = \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ + $(top_builddir)/src/util/libgnunetutil.la + +@@ -59,14 +59,14 @@ + basic_fsui_test.c + basic_fsui_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + fsui_start_stop_test_SOURCES = \ + fsui_start_stop_test.c + fsui_start_stop_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + search_pause_resume_persistence_test_SOURCES = \ +@@ -80,42 +80,42 @@ + search_ranking_test.c + search_ranking_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + download_persistence_test_SOURCES = \ + download_persistence_test.c + download_persistence_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + recursive_download_test_SOURCES = \ + recursive_download_test.c + recursive_download_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + upload_unindex_persistence_test_SOURCES = \ + upload_unindex_persistence_test.c + upload_unindex_persistence_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + search_linked_download_persistence_test_SOURCES = \ + search_linked_download_persistence_test.c + search_linked_download_persistence_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + search_persistence_test_SOURCES = \ + search_persistence_test.c + search_persistence_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + + +@@ -123,6 +123,6 @@ + recursive_download_persistence_test.c + recursive_download_persistence_test_LDADD = \ + $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la \ +- $(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \ ++ libgnunetfsui.la \ + $(top_builddir)/src/util/libgnunetutil.la + +--- src/applications/dv_dht/tools/Makefile.am.orig 2010-04-06 15:04:16.738530159 +0000 ++++ src/applications/dv_dht/tools/Makefile.am 2010-04-06 15:04:40.525280090 +0000 +@@ -24,7 +24,7 @@ + gnunet_dvdht_query_SOURCES = \ + dht-query.c + gnunet_dvdht_query_LDADD = \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + +@@ -34,7 +34,7 @@ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ + $(top_builddir)/src/applications/testing/libgnunetremoteapi.la \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la + + check_PROGRAMS = \ +@@ -49,7 +49,7 @@ + dv_dht_loopback_test_LDADD = \ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la + + dv_dht_twopeer_test_SOURCES = \ +@@ -57,7 +57,7 @@ + dv_dht_twopeer_test_LDADD = \ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la + + dv_dht_multipeer_test_SOURCES = \ +@@ -65,7 +65,7 @@ + dv_dht_multipeer_test_LDADD = \ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la + + dv_dht_multi_topology_test_SOURCES = \ +@@ -74,7 +74,7 @@ + $(top_builddir)/src/applications/stats/libgnunetstatsapi.la \ + $(top_builddir)/src/applications/testing/libgnunettestingapi.la \ + $(top_builddir)/src/applications/testing/libgnunetremoteapi.la \ +- $(top_builddir)/src/applications/dv_dht/tools/libgnunetdvdhtapi.la \ ++ libgnunetdvdhtapi.la \ + $(top_builddir)/src/util/libgnunetutil.la + + EXTRA_DIST = \ |