pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/lighttpd
Module Name: pkgsrc
Committed By: schmonz
Date: Sun Oct 25 14:59:14 UTC 2020
Modified Files:
pkgsrc/www/lighttpd: Makefile distinfo
Added Files:
pkgsrc/www/lighttpd/patches: patch-src_mod__webdav.c
Log Message:
Add upstream patch to fix segfault in __readdir30 (from
webdav_propfind_dir) on NetBSD. Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/www/lighttpd/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/www/lighttpd/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/lighttpd/patches/patch-src_mod__webdav.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/lighttpd/Makefile
diff -u pkgsrc/www/lighttpd/Makefile:1.89 pkgsrc/www/lighttpd/Makefile:1.90
--- pkgsrc/www/lighttpd/Makefile:1.89 Tue Jun 2 08:24:57 2020
+++ pkgsrc/www/lighttpd/Makefile Sun Oct 25 14:59:14 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.89 2020/06/02 08:24:57 adam Exp $
+# $NetBSD: Makefile,v 1.90 2020/10/25 14:59:14 schmonz Exp $
DISTNAME= lighttpd-1.4.55
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= https://download.lighttpd.net/lighttpd/releases-1.4.x/
EXTRACT_SUFX= .tar.xz
Index: pkgsrc/www/lighttpd/distinfo
diff -u pkgsrc/www/lighttpd/distinfo:1.55 pkgsrc/www/lighttpd/distinfo:1.56
--- pkgsrc/www/lighttpd/distinfo:1.55 Mon Feb 3 11:08:06 2020
+++ pkgsrc/www/lighttpd/distinfo Sun Oct 25 14:59:14 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2020/02/03 11:08:06 nros Exp $
+$NetBSD: distinfo,v 1.56 2020/10/25 14:59:14 schmonz Exp $
SHA1 (lighttpd-1.4.55.tar.xz) = 05747d89467789f8ce6f86f4f3aee6260579d91c
RMD160 (lighttpd-1.4.55.tar.xz) = 3ec0c81a6ee286efc998150690c9e39f9606ef28
@@ -6,3 +6,4 @@ SHA512 (lighttpd-1.4.55.tar.xz) = 023d5a
Size (lighttpd-1.4.55.tar.xz) = 765660 bytes
SHA1 (patch-doc_config_lighttpd.conf) = 9b249155aa29d7d068d48a601f314aa4b62491ef
SHA1 (patch-doc_lighttpd.8) = 81b7606752312227b142975d4e781496442e9ed8
+SHA1 (patch-src_mod__webdav.c) = 70cc5b3c563fbabc1328476b4208b04bed50d427
Added files:
Index: pkgsrc/www/lighttpd/patches/patch-src_mod__webdav.c
diff -u /dev/null pkgsrc/www/lighttpd/patches/patch-src_mod__webdav.c:1.1
--- /dev/null Sun Oct 25 14:59:14 2020
+++ pkgsrc/www/lighttpd/patches/patch-src_mod__webdav.c Sun Oct 25 14:59:14 2020
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_mod__webdav.c,v 1.1 2020/10/25 14:59:14 schmonz Exp $
+
+Add upstream commit ad62991 to define _NETBSD_SOURCE on NetBSD:
+
+NetBSD dirent.h improperly hides fdopendir() (POSIX.1-2008) declaration
+which should be visible w/ _XOPEN_SOURCE 700 or _POSIX_C_SOURCE 200809L
+
+--- src/mod_webdav.c.orig 2020-02-01 02:49:09.000000000 +0000
++++ src/mod_webdav.c
+@@ -155,6 +155,11 @@
+ #if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE-0 < 700
+ #undef _XOPEN_SOURCE
+ #define _XOPEN_SOURCE 700
++/* NetBSD dirent.h improperly hides fdopendir() (POSIX.1-2008) declaration
++ * which should be visible with _XOPEN_SOURCE 700 or _POSIX_C_SOURCE 200809L */
++#ifdef __NetBSD__
++#define _NETBSD_SOURCE
++#endif
+ #endif
+ /* DT_UNKNOWN DTTOIF() */
+ #ifndef _GNU_SOURCE
Home |
Main Index |
Thread Index |
Old Index