[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/77632: mail/prayer: update to 1.12 and unbreak
- Subject: ports/77632: mail/prayer: update to 1.12 and unbreak
- From: johans at stack.nl (johans_(_at_)_stack_(_dot_)_nl)
- Date: Thu Feb 17 14:20:28 2005
The following reply was made to PR ports/77632; it has been noted by GNATS.
From: johans_(_at_)_stack_(_dot_)_nl
To: freebsd-gnats-submit_(_at_)_FreeBSD_(_dot_)_org, johans_(_at_)_stack_(_dot_)_nl
Cc:
Subject: Re: ports/77632: mail/prayer: update to 1.12 and unbreak
Date: Thu, 17 Feb 2005 23:15:22 +0100 (CET)
Oops in my haste forgot to test on a 4.11 machine:
Additional files/patch-prayer_mydb.c to please FreeBSD 4.x where
<sys/socket.h> breaks compilation when included before <sys/types.h>
--- prayer/mydb.c.orig Thu Feb 17 23:09:40 2005
+++ prayer/mydb.c Thu Feb 17 23:06:11 2005
@@ -49,12 +49,12 @@
#include <string.h>
#include <stdio.h>
#include <netdb.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <syslog.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
Visit your host, monkey.org