pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/freeze Fix a compiler warning: main() should...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17da93b3dd71
branches:  trunk
changeset: 476270:17da93b3dd71
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Jun 05 23:31:38 2004 +0000

description:
Fix a compiler warning: main() should return int
patch provided by Richard Rauch in PR 25786

bump PKGREVISION to 2

diffstat:

 archivers/freeze/Makefile         |   4 ++--
 archivers/freeze/distinfo         |   3 ++-
 archivers/freeze/patches/patch-af |  21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 2f5de0a348be -r 17da93b3dd71 archivers/freeze/Makefile
--- a/archivers/freeze/Makefile Sat Jun 05 23:10:20 2004 +0000
+++ b/archivers/freeze/Makefile Sat Jun 05 23:31:38 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2004/05/30 03:16:09 minskim Exp $
+# $NetBSD: Makefile,v 1.15 2004/06/05 23:31:38 recht Exp $
 
 DISTNAME=       freeze-2.5
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    archivers
 MASTER_SITES=  ftp://ftp.cdrom.com/pub/unixfreeware/archive/
 
diff -r 2f5de0a348be -r 17da93b3dd71 archivers/freeze/distinfo
--- a/archivers/freeze/distinfo Sat Jun 05 23:10:20 2004 +0000
+++ b/archivers/freeze/distinfo Sat Jun 05 23:31:38 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2004/05/02 22:24:48 danw Exp $
+$NetBSD: distinfo,v 1.7 2004/06/05 23:31:38 recht Exp $
 
 SHA1 (freeze-2.5.tar.gz) = 07b94508fcd95d35236a4090257aa402fd623812
 Size (freeze-2.5.tar.gz) = 36402 bytes
@@ -7,3 +7,4 @@
 SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40
 SHA1 (patch-ad) = 9f1c797bb45dd76935eed777bd599d6fba87774e
 SHA1 (patch-ae) = 9e2ef755e1ed0b72848f7450f9c8f63b467c7a8e
+SHA1 (patch-af) = 7b8ddb04214a027ed4a991e0730ca0ff5478b481
diff -r 2f5de0a348be -r 17da93b3dd71 archivers/freeze/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/freeze/patches/patch-af Sat Jun 05 23:31:38 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-af,v 1.1 2004/06/05 23:31:38 recht Exp $
+
+--- freeze.c.orig      2004-06-06 01:26:11.000000000 +0200
++++ freeze.c   2004-06-06 01:27:05.000000000 +0200
+@@ -176,7 +176,7 @@
+ 
+ /* From compress.c. Replace .Z --> .F etc */
+ 
+-void 
++int 
+ main(argc, argv)
+ register int argc;
+ char  **argv;
+@@ -688,6 +688,7 @@
+   }
+   exit(exit_stat);
+  /* NOTREACHED */
++  return exit_stat;
+ }
+ 
+ long    in_count = 1;         /* length of input */



Home | Main Index | Thread Index | Old Index