* [gentoo-commits] gentoo-x86 commit in net-libs/libtirpc/files: libtirpc-0.2.2-rpc-des-prot.patch
@ 2011-06-11 19:52 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-06-11 19:52 UTC (permalink / raw
To: gentoo-commits
vapier 11/06/11 19:52:16
Added: libtirpc-0.2.2-rpc-des-prot.patch
Log:
Stub out des_crypt for now #370713 by Nicolas Schlumberger, fix building with glibc-2.14 #370663 by Diego Elio Pettenò, restore static lib support, and start installing into / for glibc replacement.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Revision Changes Path
1.1 net-libs/libtirpc/files/libtirpc-0.2.2-rpc-des-prot.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/files/libtirpc-0.2.2-rpc-des-prot.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/files/libtirpc-0.2.2-rpc-des-prot.patch?rev=1.1&content-type=text/plain
Index: libtirpc-0.2.2-rpc-des-prot.patch
===================================================================
From f2f43212b33dea42635061c82645287454a70107 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 11 Jun 2011 15:21:55 -0400
Subject: [PATCH] add multiple inclusion protection to rpc/des.h
If you try to include this file multiple times, you get a build failure
due to redefinitions of enums and such.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
tirpc/rpc/des.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h
index e3d6897..d2881ad 100644
--- a/tirpc/rpc/des.h
+++ b/tirpc/rpc/des.h
@@ -33,6 +33,9 @@
* Copyright (c) 1986 by Sun Microsystems, Inc.
*/
+#ifndef _RPC_DES_H_
+#define _RPC_DES_H_
+
#define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */
#define DES_QUICKLEN 16 /* maximum # of bytes to encrypt quickly */
@@ -80,3 +83,5 @@ struct desparams {
* Software DES.
*/
extern int _des_crypt( char *, int, struct desparams * );
+
+#endif
--
1.7.5.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-11 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11 19:52 [gentoo-commits] gentoo-x86 commit in net-libs/libtirpc/files: libtirpc-0.2.2-rpc-des-prot.patch Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox