pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/tint2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Apr 12 13:45:58 UTC 2022

Modified Files:
        pkgsrc/x11/tint2: distinfo
Added Files:
        pkgsrc/x11/tint2/patches: patch-src_util_bt.c patch-src_util_common.c
            patch-src_util_gradient.c patch-src_util_timer.c

Log Message:
tint2: add missing includes


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/x11/tint2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/tint2/patches/patch-src_util_bt.c \
    pkgsrc/x11/tint2/patches/patch-src_util_common.c \
    pkgsrc/x11/tint2/patches/patch-src_util_gradient.c \
    pkgsrc/x11/tint2/patches/patch-src_util_timer.c

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

Modified files:

Index: pkgsrc/x11/tint2/distinfo
diff -u pkgsrc/x11/tint2/distinfo:1.13 pkgsrc/x11/tint2/distinfo:1.14
--- pkgsrc/x11/tint2/distinfo:1.13      Fri Mar 11 21:33:34 2022
+++ pkgsrc/x11/tint2/distinfo   Tue Apr 12 13:45:58 2022
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.13 2022/03/11 21:33:34 tnn Exp $
+$NetBSD: distinfo,v 1.14 2022/04/12 13:45:58 tnn Exp $
 
 BLAKE2s (tint2-v17.0.2.tar.bz2) = dac47c5d25014eec0854b22a28ce3417c0dbf15f031c26bcde312401e1708693
 SHA512 (tint2-v17.0.2.tar.bz2) = 2b309fd1ab01e5176cc95e0651f28224b158c2bafd58cfff19840b0f8e880e9f4dcefeff32bc66d5fac11d932d4ee668ea7ddd7bab860f9edcfcdb7074e0e0ed
 Size (tint2-v17.0.2.tar.bz2) = 405654 bytes
 SHA1 (patch-aa) = fdf0fe697ceb576068b0873532ac406b59752370
+SHA1 (patch-src_util_bt.c) = 7b4007a67f20a5fa42b7667ace28f1bf0dc241be
+SHA1 (patch-src_util_common.c) = 66808606e9ab5f138107ac41cfd4f8bd6340baa4
+SHA1 (patch-src_util_gradient.c) = aa245b1c2cff66a34ef70edcc9648d37fb9a72e5
+SHA1 (patch-src_util_timer.c) = 9e6d47957428d1420b9574bf82f8e1ad1f57b11f

Added files:

Index: pkgsrc/x11/tint2/patches/patch-src_util_bt.c
diff -u /dev/null pkgsrc/x11/tint2/patches/patch-src_util_bt.c:1.1
--- /dev/null   Tue Apr 12 13:45:58 2022
+++ pkgsrc/x11/tint2/patches/patch-src_util_bt.c        Tue Apr 12 13:45:58 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_util_bt.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
+
+for bzero(3) on SunOS
+
+--- src/util/bt.c.orig 2021-12-04 09:46:45.000000000 +0000
++++ src/util/bt.c
+@@ -21,6 +21,7 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <stdio.h>
Index: pkgsrc/x11/tint2/patches/patch-src_util_common.c
diff -u /dev/null pkgsrc/x11/tint2/patches/patch-src_util_common.c:1.1
--- /dev/null   Tue Apr 12 13:45:58 2022
+++ pkgsrc/x11/tint2/patches/patch-src_util_common.c    Tue Apr 12 13:45:58 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_util_common.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
+
+for bzero(3) on SunOS
+
+--- src/util/common.c.orig     2021-12-04 09:46:45.000000000 +0000
++++ src/util/common.c
+@@ -26,6 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <math.h>
+ #include <unistd.h>
+ #include <glib.h>
Index: pkgsrc/x11/tint2/patches/patch-src_util_gradient.c
diff -u /dev/null pkgsrc/x11/tint2/patches/patch-src_util_gradient.c:1.1
--- /dev/null   Tue Apr 12 13:45:58 2022
+++ pkgsrc/x11/tint2/patches/patch-src_util_gradient.c  Tue Apr 12 13:45:58 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_util_gradient.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
+
+for bzero(3) on SunOS
+
+--- src/util/gradient.c.orig   2021-12-04 09:46:45.000000000 +0000
++++ src/util/gradient.c
+@@ -3,6 +3,7 @@
+ #include <glib.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ 
+ #include "common.h"
+ 
Index: pkgsrc/x11/tint2/patches/patch-src_util_timer.c
diff -u /dev/null pkgsrc/x11/tint2/patches/patch-src_util_timer.c:1.1
--- /dev/null   Tue Apr 12 13:45:58 2022
+++ pkgsrc/x11/tint2/patches/patch-src_util_timer.c     Tue Apr 12 13:45:58 2022
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_util_timer.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
+
+for bzero(3) on SunOS
+
+--- src/util/timer.c.orig      2021-12-04 09:46:45.000000000 +0000
++++ src/util/timer.c
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <strings.h>
+ 
+ #include "colors.h"
+ #include "timer.h"
+@@ -52,7 +53,7 @@ void init_timer(Timer *timer, const char
+     if (debug_timers)
+         fprintf(stderr, "tint2: timers: %s: %s, %p\n", __FUNCTION__, name, (void *)timer);
+     bzero(timer, sizeof(*timer));
+-    strncpy(timer->name_, name, sizeof(timer->name_));
++    strncpy(timer->name_, name, sizeof(timer->name_) - 1);
+     if (!g_list_find(timers, timer)) {
+         timers = g_list_append(timers, timer);
+     }



Home | Main Index | Thread Index | Old Index