Bug 77632 - mail/prayer: update to 1.12 and unbreak
Summary: mail/prayer: update to 1.12 and unbreak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 12:30 UTC by Johan van Selst
Modified: 2005-02-17 23:21 UTC (History)
0 users

See Also:


Attachments
file.diff (3.81 KB, patch)
2005-02-17 12:30 UTC, Johan van Selst
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!