Subversion Repositories prayer

Compare Revisions

Ignore whitespace Rev 49 → Rev 50

/trunk/debian/changelog
6,8 → 6,10
welcome_is_template.patch, template_find_bug.patch; all incorporated
upstream.
- Update makefile_install_config.patch after welcome.html gone.
* kfreebsd.patch (new): Try to get Prayer to work on Debian
GNU/kFreeBSD.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 05 Jul 2008 22:14:03 +0200
-- Magnus Holmgren <holmgren@debian.org> Sun, 06 Jul 2008 00:53:37 +0200
 
prayer (1.2.2.1-1) unstable; urgency=low
 
/trunk/debian/patches/kfreebsd.patch
0,0 → 1,24
--- a/lib/os.c
+++ b/lib/os.c
@@ -26,7 +26,7 @@
#include "os_linux.c"
#elif (defined(SOLARIS))
#include "os_solaris.c"
-#elif (defined(BSD) && BSD >= 199306)
+#elif defined(__FreeBSD_kernel__) || (defined(BSD) && BSD >= 199306)
#include "os_bsd.c"
#else
#error "No support for this operating system yet. Sorry!"
--- a/lib/os_bsd.c
+++ b/lib/os_bsd.c
@@ -16,6 +16,10 @@
#include <arpa/inet.h>
#include <signal.h>
#include <netdb.h>
+#ifdef __GLIBC__
+#include <sys/file.h>
+#include <pty.h>
+#endif
#include <libutil.h>
/trunk/debian/patches/series
1,2 → 1,3
makefile_install_config.patch
templates_fallback_to_compiled.patch
kfreebsd.patch