pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/asclock



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Dec 20 14:58:47 UTC 2025

Modified Files:
        pkgsrc/time/asclock: distinfo
        pkgsrc/time/asclock/patches: patch-ab

Log Message:
asclock: More fixes for recent gcc versions.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/time/asclock/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/asclock/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/asclock/distinfo
diff -u pkgsrc/time/asclock/distinfo:1.8 pkgsrc/time/asclock/distinfo:1.9
--- pkgsrc/time/asclock/distinfo:1.8    Fri Dec 19 12:24:42 2025
+++ pkgsrc/time/asclock/distinfo        Sat Dec 20 14:58:47 2025
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2025/12/19 12:24:42 nia Exp $
+$NetBSD: distinfo,v 1.9 2025/12/20 14:58:47 nia Exp $
 
 BLAKE2s (asclock-classic-1.0.tar.gz) = 9b7ccaee15ade73d9ca193defd7914151edac24021a58311860ce8c4aea08260
 SHA512 (asclock-classic-1.0.tar.gz) = 726ffd64383b8e98b281a4512222cf594637b732400fbf45f7f491c306b85b992b753bb2758d18e558646292452908ffeda8ac7d0762bf22bf48a6248dae7e3f
 Size (asclock-classic-1.0.tar.gz) = 33949 bytes
 SHA1 (patch-aa) = 8d9f1cc5b3c035d5e06102b8464aaf9cf757e8cd
-SHA1 (patch-ab) = 9cb6b2ef3c0ff6599d5c7847a9131faa03a9570c
+SHA1 (patch-ab) = 28f0c3fded9083a536636a5a67f7f44cce2a5ec9
 SHA1 (patch-ac) = c86fe29211da8d4a884ce94a63eb13a83af7e030

Index: pkgsrc/time/asclock/patches/patch-ab
diff -u pkgsrc/time/asclock/patches/patch-ab:1.2 pkgsrc/time/asclock/patches/patch-ab:1.3
--- pkgsrc/time/asclock/patches/patch-ab:1.2    Fri Dec 19 12:24:42 2025
+++ pkgsrc/time/asclock/patches/patch-ab        Sat Dec 20 14:58:47 2025
@@ -1,14 +1,15 @@
-$NetBSD: patch-ab,v 1.2 2025/12/19 12:24:42 nia Exp $
+$NetBSD: patch-ab,v 1.3 2025/12/20 14:58:47 nia Exp $
 
 --- asclock.c.orig     1998-09-26 21:05:03.000000000 +0000
 +++ asclock.c
-@@ -1,4 +1,5 @@
+@@ -1,4 +1,6 @@
  #include <stdio.h>
 +#include <stdlib.h>
++#include <string.h>
  #include <X11/Xlib.h>
  #include <X11/xpm.h>
  #include <X11/extensions/shape.h>
-@@ -19,6 +20,7 @@ int ICONIFIED=0; /* default is not iconified */
+@@ -19,6 +21,7 @@ int ICONIFIED=0; /* default is not iconified */
  int ONLYSHAPE=0; /* default value is noshape */
  int ITBLINKS=1;  /* default is blinking */
  int ICONIFIED=0; /* default is not iconified */
@@ -16,7 +17,15 @@ $NetBSD: patch-ab,v 1.2 2025/12/19 12:24
  int YEAR=0;      /* default is to show time, not year */
  /* led positions *************************************************************/
  int twelve[5]  = {5, 14, 24, 28, 37};
-@@ -85,14 +87,15 @@ static char *help_message[] = {
+@@ -77,6 +80,7 @@ void InsertTime();
+ Pixel GetColor(char *name);
+ void RedrawWindow( XpmIcon *v);
+ void InsertTime();
++int mytime();
+ /*****************************************************************************/
+ /*****************************************************************************/
+ static char *help_message[] = {
+@@ -85,14 +89,15 @@ static char *help_message[] = {
  "    -24                     24 hour format",
  "    -exe <program>          program to start on click",
  "    -led <color>            color of the led",
@@ -34,7 +43,7 @@ $NetBSD: patch-ab,v 1.2 2025/12/19 12:24
  NULL
  };
  
-@@ -173,6 +176,9 @@ int main(int argc,char *argv[])
+@@ -173,6 +178,9 @@ int main(int argc,char *argv[])
        case 'n':
          ITBLINKS = 0;
          continue;
@@ -44,7 +53,7 @@ $NetBSD: patch-ab,v 1.2 2025/12/19 12:24
        case 'y':
        YEAR = 1;
        continue;
-@@ -256,13 +262,17 @@ int main(int argc,char *argv[])
+@@ -256,13 +264,17 @@ int main(int argc,char *argv[])
      XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet);
    }
    



Home | Main Index | Thread Index | Old Index