pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/poptop
Module Name: pkgsrc
Committed By: nia
Date: Sat Mar 21 09:45:32 UTC 2026
Modified Files:
pkgsrc/net/poptop: distinfo
Added Files:
pkgsrc/net/poptop/patches: patch-compat.c
Log Message:
poptop: Fixes for recent GCC
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/poptop/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/poptop/patches/patch-compat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/poptop/distinfo
diff -u pkgsrc/net/poptop/distinfo:1.15 pkgsrc/net/poptop/distinfo:1.16
--- pkgsrc/net/poptop/distinfo:1.15 Tue Oct 26 11:06:31 2021
+++ pkgsrc/net/poptop/distinfo Sat Mar 21 09:45:31 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 11:06:31 nia Exp $
+$NetBSD: distinfo,v 1.16 2026/03/21 09:45:31 nia Exp $
BLAKE2s (pptpd-1.3.4.tar.gz) = be0bb4df05ccd539ce64e8982b8d01ef1a0b42269b9b52977c7a13915cdc580b
SHA512 (pptpd-1.3.4.tar.gz) = 382cc7ce9db7f2b6ffe0a075a319267310f736ca1b93e9867e9d5abb3c56edf49d3cf2bba83d6ae778834e0e18a21fddf29444106c8143a3016ca704ac538b1e
@@ -15,3 +15,4 @@ SHA1 (patch-ai) = c03b43e2d3c1df51df8ab0
SHA1 (patch-aj) = 40f9e760f1812d05fa5a641f7da1325d8dbf7072
SHA1 (patch-ak) = 3d3135f3ad0596a5391e660352becd8447ecbf63
SHA1 (patch-al) = 16751276f053b28c2554b79cd12d0a9a1f19667b
+SHA1 (patch-compat.c) = 91804d369e4ee7e23188485035446fe9077eda89
Added files:
Index: pkgsrc/net/poptop/patches/patch-compat.c
diff -u /dev/null pkgsrc/net/poptop/patches/patch-compat.c:1.1
--- /dev/null Sat Mar 21 09:45:32 2026
+++ pkgsrc/net/poptop/patches/patch-compat.c Sat Mar 21 09:45:31 2026
@@ -0,0 +1,21 @@
+$NetBSD: patch-compat.c,v 1.1 2026/03/21 09:45:31 nia Exp $
+
+Need to include <string.h> unconditionally since this uses strcpy(3)
+and memset(3).
+
+Need to include <unistd.h> for close(2).
+
+--- compat.c.orig 2005-08-22 00:48:34.000000000 +0000
++++ compat.c
+@@ -11,9 +11,10 @@
+ #endif
+
+ #include "compat.h"
++#include <string.h>
++#include <unistd.h>
+
+ #ifndef HAVE_STRLCPY
+-#include <string.h>
+ #include <stdio.h>
+
+ void strlcpy(char *dst, const char *src, size_t size)
Home |
Main Index |
Thread Index |
Old Index