OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 15-Jul-2004 09:46:15 Branch: HEAD Handle: 2004071508461400 Modified files: openpkg-src/hexer hexer.patch hexer.spec Log: modifying package: hexer-0.1.4c 20040207 -> 20040715 Summary: Revision Changes Path 1.2 +71 -15 openpkg-src/hexer/hexer.patch 1.31 +1 -1 openpkg-src/hexer/hexer.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/hexer/hexer.patch ============================================================================ $ cvs diff -u -r1.1 -r1.2 hexer.patch --- openpkg-src/hexer/hexer.patch 5 Apr 2002 11:30:15 -0000 1.1 +++ openpkg-src/hexer/hexer.patch 15 Jul 2004 07:46:14 -0000 1.2 @@ -1,5 +1,63 @@ ---- hexer.c.orig Tue Apr 23 19:40:08 1996 -+++ hexer.c Fri Apr 5 13:26:10 2002 +Index: calc.c +--- calc.c.orig 1996-04-23 19:40:09 +0200 ++++ calc.c 2004-07-15 09:44:08 +0200 +@@ -67,8 +67,6 @@ + #if NEED_ALLOCA_H + #include <alloca.h> + #endif +-#else +-char *alloca(); + #endif + + #include "tio.h" +Index: commands.c +--- commands.c.orig 1996-04-23 19:40:09 +0200 ++++ commands.c 2004-07-15 09:44:37 +0200 +@@ -57,8 +57,6 @@ + #if NEED_ALLOCA_H + #include <alloca.h> + #endif +-#else +-char *alloca(); + #endif + + #include "hexer.h" +@@ -1246,8 +1244,10 @@ + int cant_write_f = 0; + long k; + char *errormsg; ++#if !defined(BSD) + extern int sys_nerr; +-#ifndef BSD ++#endif ++#if !defined(BSD) && !defined(__linux__) + extern char *sys_errlist[]; + #endif + extern int errno; +@@ -1267,7 +1267,7 @@ + if (!errno || errno >= sys_nerr) + errormsg = "unknown error"; + else +- errormsg = sys_errlist[errno]; ++ errormsg = (char *)sys_errlist[errno]; + he_message(0, "@Aberror writing [EMAIL PROTECTED] `%s': %s", i->path, errormsg); + cant_write_f = 1; + } else { +Index: exh.c +--- exh.c.orig 1996-04-23 19:40:08 +0200 ++++ exh.c 2004-07-15 09:43:42 +0200 +@@ -61,8 +61,6 @@ + #if NEED_ALLOCA_H + #include <alloca.h> + #endif +-#else +-char *alloca(); + #endif + + #include "hexer.h" +Index: hexer.c +--- hexer.c.orig 1996-04-23 19:40:08 +0200 ++++ hexer.c 2004-07-15 09:42:51 +0200 @@ -67,10 +67,12 @@ extern int errno; @@ -14,17 +72,15 @@ extern mkstemp(); const struct buffer_s NO_BUFFER = { 0, 0, 0, 0, 0, 0 }; ---- commands.c.orig Tue Apr 23 19:40:09 1996 -+++ commands.c Fri Apr 5 13:28:08 2002 -@@ -1246,8 +1246,10 @@ - int cant_write_f = 0; - long k; - char *errormsg; -+#if !defined(BSD) - extern int sys_nerr; --#ifndef BSD -+#endif -+#if !defined(BSD) && !defined(__linux__) - extern char *sys_errlist[]; +Index: map.c +--- map.c.orig 1996-04-23 19:40:09 +0200 ++++ map.c 2004-07-15 09:43:51 +0200 +@@ -53,8 +53,6 @@ + #if NEED_ALLOCA_H + #include <alloca.h> #endif - extern int errno; +-#else +-char *alloca(); + #endif + + #include "defs.h" @@ . patch -p0 <<'@@ .' Index: openpkg-src/hexer/hexer.spec ============================================================================ $ cvs diff -u -r1.30 -r1.31 hexer.spec --- openpkg-src/hexer/hexer.spec 7 Feb 2004 17:55:29 -0000 1.30 +++ openpkg-src/hexer/hexer.spec 15 Jul 2004 07:46:14 -0000 1.31 @@ -34,7 +34,7 @@ Group: Editor License: BSD Version: 0.1.4c -Release: 20040207 +Release: 20040715 # list of sources Source0: ftp://ftp.netsw.org/system/tools/fileutils/edit/hexer-%{version}.tar.gz @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]