pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/libmal Remove old code which pulls in snprintf f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9662bd1a71a3
branches:  trunk
changeset: 482739:9662bd1a71a3
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Tue Nov 02 13:36:50 2004 +0000

description:
Remove old code which pulls in snprintf from apache if __sun__ is defined.
Not required on Solaris for the last decade.

diffstat:

 comms/libmal/distinfo         |   3 ++-
 comms/libmal/patches/patch-ab |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 8709a5cde94c -r 9662bd1a71a3 comms/libmal/distinfo
--- a/comms/libmal/distinfo     Tue Nov 02 13:31:16 2004 +0000
+++ b/comms/libmal/distinfo     Tue Nov 02 13:36:50 2004 +0000
@@ -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 -r 8709a5cde94c -r 9662bd1a71a3 comms/libmal/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/libmal/patches/patch-ab     Tue Nov 02 13:36:50 2004 +0000
@@ -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 <httpd.h>
+-#include <ap.h>
+-#endif
+-#define snprintf ap_snprintf
+-#define vsnprintf ap_vsnprintf
+-#endif
+-
+ #endif /* __unix__ */
+ 
+ #ifdef __cplusplus



Home | Main Index | Thread Index | Old Index