ports/77632: mail/prayer: update to 1.12 and unbreak

johans at stack.nl johans at stack.nl
Thu Feb 17 22:20:26 UTC 2005


The following reply was made to PR ports/77632; it has been noted by GNATS.

From: johans at stack.nl
To: freebsd-gnats-submit at FreeBSD.org, johans at stack.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>



More information about the freebsd-ports-bugs mailing list