blob: 17d89903755d88e2516045a5486844b883084bd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Description: Build grconvert against TI-RPC
Mainline glibc no longer builds SunRPC, which grconvert (somewhat inexplicably)
depends upon; replace it with TI-RPC.
Author: Nicholas Breen <nbreen@debian.org>
Origin: vendor
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994003
Forwarded: no
Last-Update: 2021-09-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: grace/ac-tools/configure.in
===================================================================
--- grace.orig/ac-tools/configure.in
+++ grace/ac-tools/configure.in
@@ -515,7 +515,7 @@ else
fi
dnl **** Check for XDR
-AC_SEARCH_LIBS(xdrstdio_create, nsl rpc xdr rpclib, XDR_LIB=$mdw_cv_lib_xdrstdio_create, XDR_LIB="NONE")
+AC_SEARCH_LIBS(xdrstdio_create, tirpc nsl rpc xdr rpclib, XDR_LIB=$mdw_cv_lib_xdrstdio_create, XDR_LIB="NONE")
if test "${XDR_LIB}" = "NONE"; then
XDR_LIB=
Index: grace/grconvert/Makefile
===================================================================
--- grace.orig/grconvert/Makefile
+++ grace/grconvert/Makefile
@@ -16,7 +16,7 @@ SRCS = grconvert.c defaults.c readbin.c
OBJS = grconvert$(O) defaults$(O) readbin$(O) writeasc$(O) util$(O)
-CFLAGS = $(CFLAGS0) -I$(TOP) -I. $(CPPFLAGS)
+CFLAGS = $(CFLAGS0) -I$(TOP) -I. $(CPPFLAGS) -I/usr/include/tirpc
LIBS = $(XDR_LIB) $(NOGUI_LIBS)
Index: grace/configure
===================================================================
--- grace.orig/configure
+++ grace/configure
@@ -7996,7 +7996,7 @@ return xdrstdio_create ();
return 0;
}
_ACEOF
-for ac_lib in '' nsl rpc xdr rpclib; do
+for ac_lib in '' tirpc nsl rpc xdr rpclib; do
if test -z "$ac_lib"; then
ac_res="none required"
else
|