From c78ef8952e6b3ff68fff06e27d6fd7c909d6451f Mon Sep 17 00:00:00 2001 From: gavan Date: Tue, 2 Nov 2004 13:36:50 +0000 Subject: Remove old code which pulls in snprintf from apache if __sun__ is defined. Not required on Solaris for the last decade. --- comms/libmal/distinfo | 3 ++- comms/libmal/patches/patch-ab | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 comms/libmal/patches/patch-ab (limited to 'comms/libmal') diff --git a/comms/libmal/distinfo b/comms/libmal/distinfo index 2e45a2e9d79..f4496feca27 100644 --- a/comms/libmal/distinfo +++ b/comms/libmal/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/04/19 14:01:46 markd Exp $ +$NetBSD: distinfo,v 1.2 2004/11/02 13:36:50 gavan Exp $ SHA1 (libmal-0.40.tar.gz) = fcce27b320215e32de70e0c4a1fc7a553d486611 Size (libmal-0.40.tar.gz) = 329928 bytes SHA1 (patch-aa) = 6a5426aad935fb736044a92da6f56e21e2915824 +SHA1 (patch-ab) = 054e5062519cc982f5e9caee4904a20a8510e1e7 diff --git a/comms/libmal/patches/patch-ab b/comms/libmal/patches/patch-ab new file mode 100644 index 00000000000..1e14cf30268 --- /dev/null +++ b/comms/libmal/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 2004/11/02 13:36:50 gavan Exp $ + +--- malsync/mal/common/AGUtilUnix.h.orig 2000-05-14 22:17:36.000000000 +0100 ++++ malsync/mal/common/AGUtilUnix.h +@@ -41,15 +41,6 @@ extern "C" { + #define min(a,b) ((a) < (b) ? (a) : (b)) + #endif /* !min */ + +-#ifdef __sun__ +-#ifndef MALSYNC +-#include +-#include +-#endif +-#define snprintf ap_snprintf +-#define vsnprintf ap_vsnprintf +-#endif +- + #endif /* __unix__ */ + + #ifdef __cplusplus -- cgit v1.2.3