Blame SOURCES/torque-4.2.10-remove-unused-header.patch

e4051c
From fb7c21c16423cecdbd8ac2429118305c26b82bb4 Mon Sep 17 00:00:00 2001
e4051c
From: Justin Bronder <jsbronder@gmail.com>
e4051c
Date: Sat, 1 Jun 2013 11:37:27 -0400
e4051c
Subject: [PATCH] Libnet:  remove unused header
e4051c
e4051c
Do not include <rpc/rpc.h> as it is unused.  While this is normally
e4051c
harmless, glibc is dropping support for rpc as of 2.14 [1] and ipv6 is
e4051c
only supported in ti-rpc.
e4051c
e4051c
This fixes building on distros that have not manually patched rpc
e4051c
support back into glibc.
e4051c
e4051c
1. http://sourceware.org/bugzilla/show_bug.cgi?id=12949
e4051c
---
e4051c
 src/lib/Libnet/net_client.c | 1 -
e4051c
 1 file changed, 1 deletion(-)
e4051c
e4051c
diff --git a/src/lib/Libnet/net_client.c b/src/lib/Libnet/net_client.c
e4051c
index d8e51312f8..04c3ba0d78 100644
e4051c
--- a/src/lib/Libnet/net_client.c
e4051c
+++ b/src/lib/Libnet/net_client.c
e4051c
@@ -80,7 +80,6 @@
e4051c
 
e4051c
 #include <sys/types.h>
e4051c
 #include <sys/socket.h>
e4051c
-#include <rpc/rpc.h>
e4051c
 #include <netinet/in.h>
e4051c
 #include <stdio.h>
e4051c
 #include <errno.h>