pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/unit: Fix build on NetBSD-current
Module Name: pkgsrc-wip
Committed By: Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By: otis
Date: Thu Feb 4 23:56:52 2021 +0100
Changeset: 88810c16598902e8385482c5e8edb1279a006864
Modified Files:
unit/distinfo
Added Files:
unit/patches/patch-src_nxt__php__sapi.c
Log Message:
wip/unit: Fix build on NetBSD-current
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=88810c16598902e8385482c5e8edb1279a006864
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
unit/distinfo | 1 +
unit/patches/patch-src_nxt__php__sapi.c | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diffs:
diff --git a/unit/distinfo b/unit/distinfo
index 467ce868de..1b7a5a2756 100644
--- a/unit/distinfo
+++ b/unit/distinfo
@@ -9,6 +9,7 @@ SHA1 (patch-auto_os_conf) = 6d1cd7aef662a60d4288014eb6fadbe8c1268e55
SHA1 (patch-src_nxt__cert.c) = c91e45f148a079b543a0d3cb277388bffb3e2854
SHA1 (patch-src_nxt__conf__validation.c) = 99662fc0d975604fea0708a810e916991d0bf578
SHA1 (patch-src_nxt__kqueue__engine.c) = ace06a06a5323cf6199354e4ca830e735c58a549
+SHA1 (patch-src_nxt__php__sapi.c) = bc143c5809e6187cf3b5cc828ba0906c8b2cd323
SHA1 (patch-src_nxt__router.c) = 366ceab22664726238c57a4650a844a0f8f1ca89
SHA1 (patch-src_nxt__unit.c) = 008b654ad1ea140ee65ce326a1a9d3abf79fc3ec
SHA1 (patch-src_nxt__unix.h) = c0db5bc4d9c45a3ead48627567284d8b3041b0a0
diff --git a/unit/patches/patch-src_nxt__php__sapi.c b/unit/patches/patch-src_nxt__php__sapi.c
new file mode 100644
index 0000000000..192539f349
--- /dev/null
+++ b/unit/patches/patch-src_nxt__php__sapi.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use correct type.
+
+--- src/nxt_php_sapi.c.orig 2021-02-04 15:22:33.000000000 +0000
++++ src/nxt_php_sapi.c
+@@ -1191,7 +1191,7 @@ nxt_php_send_headers(sapi_headers_struct
+ }
+
+ value = colon + 1;
+- while(isspace(*value)) {
++ while(isspace((int)(*value))) {
+ value++;
+ }
+
Home |
Main Index |
Thread Index |
Old Index