freebsd-ports/mail/qmail/files/extra-patch-amd64
Renato Botelho e1ab2d0519 - Fix a segfault on amd64 (except on qmail-spamcontrol and qmail-ldap) [1]
- Add an rcNG startup example file to QMAIL_PREFIX/boot [2]
- Bump PORTREVISION due to rcNG add (except for qmail-ldap)
- Fix make certificate to add ciphers file to QMAIL_PREFIX/control [3]

PR:		ports/118117 [1], ports/117422 [2], ports/118198 [3]
Submitted by:	Andrew Reilly <areilly@bigpond.net.au> [1] [3]
		Nick@van-laarhoven.org [2]
2007-12-26 16:43:55 +00:00

20 lines
597 B
Text

--- alloc.c.orig 2007-12-26 14:24:10.000000000 -0200
+++ alloc.c 2007-12-26 14:25:40.000000000 -0200
@@ -1,7 +1,6 @@
+#include <stdlib.h>
#include "alloc.h"
#include "error.h"
-extern char *malloc();
-extern void free();
#define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */
#define SPACE 4096 /* must be multiple of ALIGNMENT */
--- spawn.c.orig 2007-12-26 14:24:53.000000000 -0200
+++ spawn.c 2007-12-26 14:25:09.000000000 -0200
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include "alloc.h"
#include "sig.h"
#include "wait.h"
#include "substdio.h"