pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/libnbcompat/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jan 12 19:14:19 UTC 2024

Modified Files:
        pkgsrc/pkgtools/libnbcompat/files: strndup.c

Log Message:
libnbcompat: remove sys/cdefs.h include from strndup.c

The file already includes nbcompat/cdefs.h.

Fixes build on Solaris 10, reported and tested by Dan Clough in PR 57838.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/libnbcompat/files/strndup.c

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

Modified files:

Index: pkgsrc/pkgtools/libnbcompat/files/strndup.c
diff -u pkgsrc/pkgtools/libnbcompat/files/strndup.c:1.1 pkgsrc/pkgtools/libnbcompat/files/strndup.c:1.2
--- pkgsrc/pkgtools/libnbcompat/files/strndup.c:1.1     Thu Nov  9 18:55:18 2023
+++ pkgsrc/pkgtools/libnbcompat/files/strndup.c Fri Jan 12 19:14:19 2024
@@ -1,4 +1,4 @@
-/*     $NetBSD: strndup.c,v 1.1 2023/11/09 18:55:18 nia Exp $  */
+/*     $NetBSD: strndup.c,v 1.2 2024/01/12 19:14:19 wiz Exp $  */
 
 /*
  * Copyright (c) 1988, 1993
@@ -36,12 +36,11 @@
 #include <nbcompat.h>
 #include <nbcompat/cdefs.h>
 
-#include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)strdup.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: strndup.c,v 1.1 2023/11/09 18:55:18 nia Exp $");
+__RCSID("$NetBSD: strndup.c,v 1.2 2024/01/12 19:14:19 wiz Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 



Home | Main Index | Thread Index | Old Index