Bug 77632

Summary: mail/prayer: update to 1.12 and unbreak
Product: Ports & Packages Reporter: Johan van Selst <johans>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Johan van Selst 2005-02-17 12:30:22 UTC
	
	Update to new version 1.12 (which is fetchable)

	Also updated the used BDB to version 4.2

	Makefile and supplied patches were not in sync, causing
	the program to be compiled without session caching even if
	PRAYER_WITHOUT_SESSION_CACHE was not defined. Fixed this as well
Comment 1 Johan van Selst 2005-02-17 22:15:22 UTC
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>
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-17 23:21:24 UTC
State Changed
From-To: open->closed

Committed, thanks!