summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-23 11:43:23 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-23 11:43:23 +0100
commitd6fe9356fe9e158a11a40b4206d38447ef0a16ad (patch)
treea6563fcfb877ebc367417fa78b7c369dfd5b2ad7 /app-backup/amanda/files
parentgnustep-apps/pikopixel: 1.0 beta10 bump (diff)
downloadgentoo-d6fe9356fe9e158a11a40b4206d38447ef0a16ad.tar.gz
gentoo-d6fe9356fe9e158a11a40b4206d38447ef0a16ad.tar.bz2
gentoo-d6fe9356fe9e158a11a40b4206d38447ef0a16ad.zip
app-backup/amanda: depend on libtirpc for USE=ndmp
Closes: https://github.com/gentoo/gentoo/pull/19155 Closes: https://bugs.gentoo.org/656340 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-backup/amanda/files')
-rw-r--r--app-backup/amanda/files/amanda-3.5.1-tirpc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-backup/amanda/files/amanda-3.5.1-tirpc.patch b/app-backup/amanda/files/amanda-3.5.1-tirpc.patch
new file mode 100644
index 000000000000..42472b59af3a
--- /dev/null
+++ b/app-backup/amanda/files/amanda-3.5.1-tirpc.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/656340
+--- a/config/amanda/amanda_configure.m4
++++ b/config/amanda/amanda_configure.m4
+@@ -257,6 +257,12 @@ AMANDA_CHECK_READLINE
+ AC_CHECK_LIB(m,modf)
+ AMANDA_CHECK_LIBDL
+ AMANDA_GLIBC_BACKTRACE
++PKG_CHECK_MODULES([TIRPC],[libtirpc],[
++ CPPFLAGS="${CPPFLAGS} ${TIRPC_CFLAGS} -DHAVE_RPC_RPC_H"
++ LIBS="${LIBS} ${TIRPC_LIBS}"
++], [
++ AC_MSG_ERROR([libtirpc requested but library not found])
++])
+ AC_SEARCH_LIBS([shm_open], [rt], [], [
+ AC_MSG_ERROR([unable to find the shm_open() function])
+ ])