OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 30-Oct-2006 19:38:42 Branch: HEAD Handle: 2006103018384200 Modified files: openpkg-src/cvstrac cvstrac.patch Log: <string.h> is required under all Unix flavors, too; <crypt.h> is required under at least Linux and Solaris Summary: Revision Changes Path 1.20 +43 -19 openpkg-src/cvstrac/cvstrac.patch ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/cvstrac/cvstrac.patch ============================================================================ $ cvs diff -u -r1.19 -r1.20 cvstrac.patch --- openpkg-src/cvstrac/cvstrac.patch 30 Oct 2006 18:28:38 -0000 1.19 +++ openpkg-src/cvstrac/cvstrac.patch 30 Oct 2006 18:38:42 -0000 1.20 @@ -1,6 +1,6 @@ Index: attach.c --- attach.c.orig 2006-05-26 16:20:28 +0200 -+++ attach.c 2006-10-30 19:23:34 +0100 ++++ attach.c 2006-10-30 19:37:02 +0100 @@ -210,17 +210,20 @@ } @@ -35,7 +35,7 @@ if( !got ){ Index: browse.c --- browse.c.orig 2006-05-26 16:20:28 +0200 -+++ browse.c 2006-10-30 19:23:34 +0100 ++++ browse.c 2006-10-30 19:37:02 +0100 @@ -503,6 +503,13 @@ ){ int set = (zFld==zField[0]); @@ -180,7 +180,7 @@ } Index: cgi.c --- cgi.c.orig 2006-05-26 16:20:28 +0200 -+++ cgi.c 2006-10-30 19:23:34 +0100 ++++ cgi.c 2006-10-30 19:37:02 +0100 @@ -187,7 +187,7 @@ char zETag[64]; @@ -219,7 +219,7 @@ if( zData==0 ) return 0; Index: common.c --- common.c.orig 2006-05-26 16:20:28 +0200 -+++ common.c 2006-10-30 19:23:34 +0100 ++++ common.c 2006-10-30 19:37:02 +0100 @@ -394,7 +394,10 @@ } @ </small> @@ -232,9 +232,22 @@ @ <a href="honeypot"><small><notatag arg="meaningless"></small></a> @ <small><a href="login?nxp=%T(zUri)" title="Log in">Not logged in</a></small> } +Index: config.h +--- config.h.orig 2006-05-26 16:20:28 +0200 ++++ config.h 2006-10-30 19:37:02 +0100 +@@ -9,6 +9,9 @@ + #include <stdarg.h> + #include <sqlite3.h> + #include <assert.h> ++#if defined(__linux__) || defined(__sun__) ++#include <crypt.h> ++#endif + + /* + ** Standard colors. These colors can also be changed using a stylesheet. Index: cvs.c --- cvs.c.orig 2006-05-26 16:20:28 +0200 -+++ cvs.c 2006-10-30 19:26:08 +0100 ++++ cvs.c 2006-10-30 19:37:02 +0100 @@ -234,6 +234,7 @@ char **azFileList; FILE *in; @@ -255,7 +268,7 @@ Index: db.c --- db.c.orig 2006-05-26 16:20:28 +0200 -+++ db.c 2006-10-30 19:23:34 +0100 ++++ db.c 2006-10-30 19:37:02 +0100 @@ -107,6 +107,10 @@ extern int sqlite3StrICmp(const char*, const char*); if( type==SQLITE_SELECT ){ @@ -311,7 +324,7 @@ db_err( strerror(errno), 0, Index: format.c --- format.c.orig 2006-05-26 16:20:28 +0200 -+++ format.c 2006-10-30 19:23:34 +0100 ++++ format.c 2006-10-30 19:37:02 +0100 @@ -760,7 +760,7 @@ if( az && az[0] && az[1] ){ cgi_printf("<a href=\"%z\" title=\"%h\">",zLink,az[0]); @@ -323,7 +336,7 @@ cgi_printf("<strike>#%d</strike>",tn); Index: login.c --- login.c.orig 2006-05-26 16:20:28 +0200 -+++ login.c 2006-10-30 19:23:34 +0100 ++++ login.c 2006-10-30 19:37:02 +0100 @@ -55,8 +55,8 @@ zGoto = P("g"); if( P("out")!=0 ){ @@ -356,8 +369,19 @@ zAgent = getenv("HTTP_USER_AGENT"); Index: makeheaders.c --- makeheaders.c.orig 2006-05-26 16:20:28 +0200 -+++ makeheaders.c 2006-10-30 19:23:34 +0100 -@@ -2137,7 +2137,7 @@ ++++ makeheaders.c 2006-10-30 19:37:02 +0100 +@@ -11,9 +11,8 @@ + #include <assert.h> + #ifndef WIN32 + # include <unistd.h> +-#else +-# include <string.h> + #endif ++#include <string.h> + + /* + ** Macros for debugging. +@@ -2137,7 +2136,7 @@ zArg++; } if( *zArg==0 || *zArg=='\n' ){ return 0; } @@ -366,7 +390,7 @@ if( nArg==9 && strncmp(zArg,"INTERFACE",9)==0 ){ PushIfMacro(0,0,0,pToken->nLine,PS_Interface); }else if( nArg==16 && strncmp(zArg,"EXPORT_INTERFACE",16)==0 ){ -@@ -2156,7 +2156,7 @@ +@@ -2156,7 +2155,7 @@ zArg++; } if( *zArg==0 || *zArg=='\n' ){ return 0; } @@ -375,7 +399,7 @@ PushIfMacro("defined",zArg,nArg,pToken->nLine,0); }else if( nCmd==6 && strncmp(zCmd,"ifndef",6)==0 ){ /* -@@ -2167,7 +2167,7 @@ +@@ -2167,7 +2166,7 @@ zArg++; } if( *zArg==0 || *zArg=='\n' ){ return 0; } @@ -384,7 +408,7 @@ PushIfMacro("!defined",zArg,nArg,pToken->nLine,0); }else if( nCmd==4 && strncmp(zCmd,"else",4)==0 ){ /* -@@ -2793,7 +2793,7 @@ +@@ -2793,7 +2792,7 @@ fprintf(stderr, "%s: Can't overwrite this file because it wasn't previously\n" "%*s generated by 'makeheaders'.\n", @@ -393,7 +417,7 @@ nErr++; }else if( strcmp(zOldVersion,zNewVersion)!=0 ){ if( report ) fprintf(report,"updated\n"); -@@ -2952,10 +2952,10 @@ +@@ -2952,10 +2951,10 @@ pDecl->zName, zLabel, pDecl->zFile, @@ -409,7 +433,7 @@ ); Index: search.c --- search.c.orig 2006-05-26 16:20:28 +0200 -+++ search.c 2006-10-30 19:23:34 +0100 ++++ search.c 2006-10-30 19:37:02 +0100 @@ -88,7 +88,7 @@ const char *zPattern; @@ -439,7 +463,7 @@ /* Index: setup.c --- setup.c.orig 2006-05-26 16:20:28 +0200 -+++ setup.c 2006-10-30 19:23:34 +0100 ++++ setup.c 2006-10-30 19:37:02 +0100 @@ -499,7 +499,7 @@ @ <form action="%s(g.zPath)" method="POST"> @ Select a user to whom new tickets will be assigned by default:</p><p> @@ -451,7 +475,7 @@ @ Index: throttle.c --- throttle.c.orig 2006-05-26 16:20:28 +0200 -+++ throttle.c 2006-10-30 19:23:34 +0100 ++++ throttle.c 2006-10-30 19:37:02 +0100 @@ -165,7 +165,7 @@ } @@ -463,7 +487,7 @@ lockout(); Index: ticket.c --- ticket.c.orig 2006-05-26 16:20:28 +0200 -+++ ticket.c 2006-10-30 19:23:34 +0100 ++++ ticket.c 2006-10-30 19:37:02 +0100 @@ -388,7 +388,7 @@ @ <tr> @ <td align="right"><nobr> @@ -513,7 +537,7 @@ doSubmit = P("submit")!=0; Index: timeline.c --- timeline.c.orig 2006-05-26 16:20:28 +0200 -+++ timeline.c 2006-10-30 19:23:34 +0100 ++++ timeline.c 2006-10-30 19:37:02 +0100 @@ -1105,6 +1105,9 @@ z = db_short_query("SELECT date FROM chng WHERE cn=%d",cn); if( z ) cgi_modified_since(atoi(z)); @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org