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

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