OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Matthias Kurz
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Sep-2005 08:11:53
Branch: HEAD Handle: 2005091507115200
Added files:
openpkg-src/citadel citadel.patch
Log:
added patch to cvs
Summary:
Revision Changes Path
1.3 +28 -0 openpkg-src/citadel/citadel.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/citadel/citadel.patch
============================================================================
$ cvs diff -u -r0 -r1.3 citadel.patch
--- /dev/null 2005-09-15 08:11:44 +0200
+++ citadel.patch 2005-09-15 08:11:53 +0200
@@ -0,0 +1,28 @@
+Index: server_main.c
+--- server_main.c.orig 2005-09-13 16:00:14.000000000 +0200
++++ server_main.c 2005-09-15 07:07:33.070467000 +0200
+@@ -145,6 +145,9 @@
+ openlog("citadel", LOG_NDELAY, syslog_facility);
+ }
+ else {
++#ifndef LOG_PERROR
++#define LOG_PERROR 0
++#endif
+ openlog("citadel", LOG_PERROR|LOG_NDELAY,
+ syslog_facility);
+ }
+Index: sysdep.c
+--- sysdep.c.orig 2005-09-13 16:00:14.000000000 +0200
++++ sysdep.c 2005-09-15 07:07:48.206598000 +0200
+@@ -290,7 +290,10 @@
+ else {
+ sin.sin_addr.s_addr = inet_addr(ip_addr);
+ }
+-
++
++#ifndef INADDR_NONE
++#define INADDR_NONE 0xffffffff
++#endif
+ if (sin.sin_addr.s_addr == INADDR_NONE) {
+ sin.sin_addr.s_addr = INADDR_ANY;
+ }
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]