pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/saytime Update to upstream 27jan2015



details:   https://anonhg.NetBSD.org/pkgsrc/rev/441135aa1541
branches:  trunk
changeset: 388447:441135aa1541
user:      is <is%pkgsrc.org@localhost>
date:      Sun Nov 20 18:26:21 2022 +0000

description:
Update to upstream 27jan2015

diffstat:

 time/saytime/Makefile         |   6 +++---
 time/saytime/distinfo         |  12 ++++++------
 time/saytime/patches/patch-aa |  12 +-----------
 time/saytime/patches/patch-ab |  17 ++++++-----------
 4 files changed, 16 insertions(+), 31 deletions(-)

diffs (90 lines):

diff -r 0cf8b8b480e2 -r 441135aa1541 time/saytime/Makefile
--- a/time/saytime/Makefile     Sun Nov 20 17:52:42 2022 +0000
+++ b/time/saytime/Makefile     Sun Nov 20 18:26:21 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2020/01/26 17:32:19 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2022/11/20 18:26:21 is Exp $
 #
 
-DISTNAME=              saytime_11nov1995
-PKGNAME=               saytime-19951111
+DISTNAME=              saytime_27jan2015
+PKGNAME=               saytime-20150127
 CATEGORIES=            time audio
 MASTER_SITES=          http://www.acme.com/software/saytime/
 
diff -r 0cf8b8b480e2 -r 441135aa1541 time/saytime/distinfo
--- a/time/saytime/distinfo     Sun Nov 20 17:52:42 2022 +0000
+++ b/time/saytime/distinfo     Sun Nov 20 18:26:21 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:24:37 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/11/20 18:26:21 is Exp $
 
-BLAKE2s (saytime_11nov1995.tar.gz) = 75c424939d371d4495c986b4d446efc8699623532de0c8f86057d12c2e45b501
-SHA512 (saytime_11nov1995.tar.gz) = deb5eed59dfe39380e4484a5df47def5835d16c1ece3da14c0fc1d11264f3e807a3542d3aabb29a57fe86b46eeec878af1802691ef8ca2470c2e4652d3b80fa9
-Size (saytime_11nov1995.tar.gz) = 104245 bytes
-SHA1 (patch-aa) = 4c6ebab0038db3dc910f9bcde8fd93d76d3c203a
-SHA1 (patch-ab) = cbdc4bf11a5f3a4648f7370f222bebad272e95d5
+BLAKE2s (saytime_27jan2015.tar.gz) = 2f9d2c5681d672663bdb4394b4627157ce7f3bebba89921bce8b68dd68d9cedb
+SHA512 (saytime_27jan2015.tar.gz) = bde4fc67bb18271baa5fb5b9ff0c7027869dbd132805425dbc5e8460196ed46bb9f43df3ffd66b0d4733e707b41caeeef0b90118d0080cd0b837daab00b85c55
+Size (saytime_27jan2015.tar.gz) = 105160 bytes
+SHA1 (patch-aa) = e20301da0f63c238609fe4a163bb3e3445f70183
+SHA1 (patch-ab) = a578185627da19a4274df3d96d2a6c3c3c8f2b0b
diff -r 0cf8b8b480e2 -r 441135aa1541 time/saytime/patches/patch-aa
--- a/time/saytime/patches/patch-aa     Sun Nov 20 17:52:42 2022 +0000
+++ b/time/saytime/patches/patch-aa     Sun Nov 20 18:26:21 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2016/03/30 08:45:32 jperkin Exp $
+$NetBSD: patch-aa,v 1.4 2022/11/20 18:26:21 is Exp $
 
 Use pkgsrc layout/flags.
 
@@ -26,16 +26,6 @@
  #DEFINES =    -DSOUND_DIR=$(SOUND_DIR) -DWRITE_STDOUT -DAUDIO_HEADER
  #DEFINES =    -DSOUND_DIR=$(SOUND_DIR) -DWRITE_STDOUT
  
-@@ -18,8 +15,7 @@ DEFINES =    -DSOUND_DIR=$(SOUND_DIR) -DCGI
- CC =          gcc
- CFLAGS =      -O $(DEFINES)
- 
--#LDFLAGS =    -s
--LDFLAGS =     -s -static
-+LDFLAGS =     -s
- 
- all:          saytime
- 
 @@ -30,10 +26,10 @@ saytime:   saytime.o
        $(CC) $(CFLAGS) -c $<
  
diff -r 0cf8b8b480e2 -r 441135aa1541 time/saytime/patches/patch-ab
--- a/time/saytime/patches/patch-ab     Sun Nov 20 17:52:42 2022 +0000
+++ b/time/saytime/patches/patch-ab     Sun Nov 20 18:26:21 2022 +0000
@@ -1,22 +1,17 @@
-$NetBSD: patch-ab,v 1.3 2016/03/30 08:45:32 jperkin Exp $
+$NetBSD: patch-ab,v 1.4 2022/11/20 18:26:21 is Exp $
 
-Use time_t.
-
---- saytime.c.orig     1995-11-11 01:04:52.000000000 +0000
+--- saytime.c.orig     2015-01-27 20:15:03.000000000 +0000
 +++ saytime.c
-@@ -495,12 +495,12 @@ saynumber( int n, int leadingzero )
-     }
- 
- 
--main( int argc, char* argv )
-+main( int argc, char** argv )
+@@ -502,10 +502,10 @@ saynumber( int n, int leadingzero )
+ int
+ main( int argc, char** argv )
      {
 -    long clock;
 +    time_t clock;
      struct tm* t;
  
 -    clock = time( (long*) 0 );
-+    clock = time( 0 );
++    clock = time( (time_t*) 0 );
      t = localtime( &clock );
  
      sayphrase( PH_THE_TIME_IS );



Home | Main Index | Thread Index | Old Index