summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorgavan <gavan>2004-11-02 13:36:50 +0000
committergavan <gavan>2004-11-02 13:36:50 +0000
commit2c14e7478d07ae69124df454e8e443175773afdd (patch)
tree3f9db966e22b07863c94ddd5135493a787334f7c /comms
parent6cb27bb22bd35482aeb3eae131748a51e2a85a17 (diff)
downloadpkgsrc-2c14e7478d07ae69124df454e8e443175773afdd.tar.gz
Remove old code which pulls in snprintf from apache if __sun__ is defined.
Not required on Solaris for the last decade.
Diffstat (limited to 'comms')
-rw-r--r--comms/libmal/distinfo3
-rw-r--r--comms/libmal/patches/patch-ab20
2 files changed, 22 insertions, 1 deletions
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 <httpd.h>
+-#include <ap.h>
+-#endif
+-#define snprintf ap_snprintf
+-#define vsnprintf ap_vsnprintf
+-#endif
+-
+ #endif /* __unix__ */
+
+ #ifdef __cplusplus