From 108f99c81fc65719fc603228e7410eaff2085946 Mon Sep 17 00:00:00 2001 From: salo Date: Mon, 12 Jul 2004 21:40:02 +0000 Subject: Bring patch from SILC cvs, "extern inline" -> "static inline". Fixes build on Solaris with SunPro compiler. --- chat/silc-server/distinfo | 3 ++- chat/silc-server/patches/patch-af | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 chat/silc-server/patches/patch-af (limited to 'chat/silc-server') diff --git a/chat/silc-server/distinfo b/chat/silc-server/distinfo index d1b000b0544..3b6cc064409 100644 --- a/chat/silc-server/distinfo +++ b/chat/silc-server/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2004/06/11 10:05:06 salo Exp $ +$NetBSD: distinfo,v 1.25 2004/07/12 21:40:02 salo Exp $ SHA1 (silc-server-0.9.18.tar.bz2) = 232f10fc0f587b8028346bacf80d11443c4792c8 Size (silc-server-0.9.18.tar.bz2) = 1169331 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 55b3f00076c5b8a443465753ae07b9e812236f18 SHA1 (patch-ac) = a265c4d5f98e0dc10080fbcc29a9c0c43659907d SHA1 (patch-ad) = 9511132935ecc38e6192458e61e2445a381f0ea4 SHA1 (patch-ae) = c4d1e29691dc993a5d27b3b8242e0bb4ae4dc018 +SHA1 (patch-af) = 7ae691611573c355c401863e621435675df9cae3 diff --git a/chat/silc-server/patches/patch-af b/chat/silc-server/patches/patch-af new file mode 100644 index 00000000000..665fb4330db --- /dev/null +++ b/chat/silc-server/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2004/07/12 21:40:02 salo Exp $ + +--- silcd/route.h.orig Mon Mar 3 17:56:04 2003 ++++ silcd/route.h Mon Jul 12 23:27:35 2004 +@@ -54,7 +54,7 @@ + /* Returns route cache hash table entry index. This is IPv4 specific. + `port' argument may be zero (0) if it doesn't exist. This has been + taken from Linux kernel's route cache code. */ +-extern inline ++static inline + SilcUInt32 silc_server_route_hash(unsigned int addr, + SilcUInt16 port) + { -- cgit v1.2.3