summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-05-28 12:23:25 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-05-28 12:35:04 +0200
commit8c23a6fb32bc9bdfbecee3a11f272863412e4122 (patch)
tree815f36b36cc22ee2fd367fb9da2f97d5ce7e29ea /net-fs/nfs-utils/files
parentnet-libs/grpc: fix libdir in pkgconfig files (diff)
downloadgentoo-8c23a6fb32bc9bdfbecee3a11f272863412e4122.tar.gz
gentoo-8c23a6fb32bc9bdfbecee3a11f272863412e4122.tar.bz2
gentoo-8c23a6fb32bc9bdfbecee3a11f272863412e4122.zip
net-fs/nfs-utils: Bump to version 2.3.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-2.3.2-junction_libs.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-2.3.2-junction_libs.patch b/net-fs/nfs-utils/files/nfs-utils-2.3.2-junction_libs.patch
new file mode 100644
index 000000000000..f13f07a4c81f
--- /dev/null
+++ b/net-fs/nfs-utils/files/nfs-utils-2.3.2-junction_libs.patch
@@ -0,0 +1,45 @@
+From 8f3e4f4d6df9f813572051e12e974b35c26a1743 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Mon, 28 May 2018 12:13:10 +0200
+Subject: [PATCH] Fix undefined references and bad include when build with
+ junction support
+
+---
+ support/junction/Makefile.am | 2 +-
+ utils/nfsref/Makefile.am | 6 +++---
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/support/junction/Makefile.am b/support/junction/Makefile.am
+index 97e7426..89cb532 100644
+--- a/support/junction/Makefile.am
++++ b/support/junction/Makefile.am
+@@ -31,4 +31,4 @@ libjunction_la_SOURCES = display.c export-cache.c junction.c \
+
+ MAINTAINERCLEANFILES = Makefile.in
+
+-AM_CPPFLAGS = -I. -I../include -I/usr/include/libxml2
++AM_CPPFLAGS = -I. -I../include -I/usr/include/libxml2 @TIRPC_CFLAGS@
+diff --git a/utils/nfsref/Makefile.am b/utils/nfsref/Makefile.am
+index 2b2bb53..a652b03 100644
+--- a/utils/nfsref/Makefile.am
++++ b/utils/nfsref/Makefile.am
+@@ -27,13 +27,13 @@ noinst_HEADERS = nfsref.h
+
+ sbin_PROGRAMS = nfsref
+ nfsref_SOURCES = add.c lookup.c nfsref.c remove.c
+-LDADD = $(LIBXML2) $(LIBCAP) \
+- ../../support/nfs/libnfs.la \
++LIBS += $(LIBXML2) $(LIBCAP)
++LDADD = ../../support/nfs/libnfs.la \
+ ../../support/junction/libjunction.la
+
+ man8_MANS = nfsref.man
+
+ MAINTAINERCLEANFILES = Makefile.in
+
+-AM_CPPFLAGS = -I. -I../../support/include
++AM_CPPFLAGS = -I. -I../../support/include @TIRPC_CFLAGS@
+ ##AM_LDFLAGS = -Wl,--as-needed
+--
+2.17.0
+