Blame SOURCES/dyninst-9.3.2-glibc-rpc.patch

e4b5cb
diff -up dyninst-9.3.2/dyninst-9.3.2/CMakeLists.txt.me dyninst-9.3.2/dyninst-9.3.2/CMakeLists.txt
e4b5cb
--- dyninst-9.3.2/dyninst-9.3.2/CMakeLists.txt.me	2018-02-07 15:25:38.925763122 +0100
e4b5cb
+++ dyninst-9.3.2/dyninst-9.3.2/CMakeLists.txt	2018-02-07 15:30:42.242099198 +0100
e4b5cb
@@ -19,6 +19,7 @@ include (${DYNINST_ROOT}/cmake/shared.cm
e4b5cb
 configure_file(cmake/version.h.in common/h/version.h)
e4b5cb
 include_directories(${PROJECT_BINARY_DIR})
e4b5cb
 include_directories(${PROJECT_BINARY_DIR}/common/h)
e4b5cb
+include_directories("/usr/include/tirpc/")
e4b5cb
 set (HEADER_DIRS common
e4b5cb
     dataflowAPI
e4b5cb
     dyninstAPI
e4b5cb
diff -up dyninst-9.3.2/dyninst-9.3.2/common/src/linuxHeaders.h.me dyninst-9.3.2/dyninst-9.3.2/common/src/linuxHeaders.h
e4b5cb
--- dyninst-9.3.2/dyninst-9.3.2/common/src/linuxHeaders.h.me	2018-02-07 15:06:45.961780668 +0100
e4b5cb
+++ dyninst-9.3.2/dyninst-9.3.2/common/src/linuxHeaders.h	2018-02-07 15:38:56.832278338 +0100
e4b5cb
@@ -281,7 +281,7 @@ inline bool_t P_xdr_string(XDR *x, char
e4b5cb
 inline void P_xdrrec_create(XDR *x, const u_int send_sz, const u_int rec_sz,
e4b5cb
 			    const caddr_t handle, 
e4b5cb
 			    xdr_rd_func read_r, xdr_wr_func write_f) {
e4b5cb
-  xdrrec_create(x, send_sz, rec_sz, handle, (int(*)(char*, char*, int))read_r, (int(*)(char*, char*, int))write_f);}
e4b5cb
+  xdrrec_create(x, send_sz, rec_sz, handle, (int(*)(void*, void*, int))read_r, (int(*)(void*, void*, int))write_f);}
e4b5cb
 inline bool_t P_xdrrec_endofrecord(XDR *x, int now) { 
e4b5cb
   return (xdrrec_endofrecord(x, now));}
e4b5cb
 inline bool_t P_xdrrec_skiprecord(XDR *x) { return (xdrrec_skiprecord(x));}