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

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