pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/kore Fix ctype use and parallel build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c457dc3c76f
branches: trunk
changeset: 421184:9c457dc3c76f
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Jan 12 23:01:05 2020 +0000
description:
Fix ctype use and parallel build.
diffstat:
www/kore/Makefile | 5 ++++-
www/kore/distinfo | 4 +++-
www/kore/patches/patch-src_cli.c | 13 +++++++++++++
www/kore/patches/patch-src_http.c | 13 +++++++++++++
4 files changed, 33 insertions(+), 2 deletions(-)
diffs (68 lines):
diff -r 2dd3722497ae -r 9c457dc3c76f www/kore/Makefile
--- a/www/kore/Makefile Sun Jan 12 23:00:26 2020 +0000
+++ b/www/kore/Makefile Sun Jan 12 23:01:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/01/12 20:20:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2020/01/12 23:01:05 joerg Exp $
DISTNAME= kore-3.3.1
PKGREVISION= 1
@@ -16,6 +16,9 @@
MAKE_FLAGS+= MAN_DIR="${PREFIX}/${PKGMANDIR}"
MAKE_FLAGS+= TASKS=1
+pre-build:
+ ${MKDIR} ${WRKSRC}/obj
+
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2dd3722497ae -r 9c457dc3c76f www/kore/distinfo
--- a/www/kore/distinfo Sun Jan 12 23:00:26 2020 +0000
+++ b/www/kore/distinfo Sun Jan 12 23:01:05 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2019/08/22 13:30:31 fcambus Exp $
+$NetBSD: distinfo,v 1.2 2020/01/12 23:01:05 joerg Exp $
SHA1 (kore-3.3.1.tar.gz) = 6f1caa21cbedda8b9757bc3d363bf8389ecb47fc
RMD160 (kore-3.3.1.tar.gz) = 706efbac47e047427ed50d6e55f709c52626850b
@@ -6,3 +6,5 @@
Size (kore-3.3.1.tar.gz) = 1009866 bytes
SHA1 (patch-Makefile) = 585cf7936d69b486391a44c88e10b6db1d8ec0ca
SHA1 (patch-kodev_Makefile) = a5366d2879f59f27302b08d33f50620698ff5654
+SHA1 (patch-src_cli.c) = 05b88accc4e1bc353c8c5eb18273dc99498355c5
+SHA1 (patch-src_http.c) = d34c6270f5779c7e16e4d30ad6c5d2132f3931a0
diff -r 2dd3722497ae -r 9c457dc3c76f www/kore/patches/patch-src_cli.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kore/patches/patch-src_cli.c Sun Jan 12 23:01:05 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_cli.c,v 1.1 2020/01/12 23:01:06 joerg Exp $
+
+--- src/cli.c.orig 2020-01-11 18:45:39.562950385 +0000
++++ src/cli.c
+@@ -985,7 +985,7 @@ cli_build_asset(char *fpath, struct dire
+
+ /* Replace dots, spaces, etc etc with underscores. */
+ for (p = name; *p != '\0'; p++) {
+- if (*p == '.' || isspace(*p) || *p == '-')
++ if (*p == '.' || isspace((unsigned char)*p) || *p == '-')
+ *p = '_';
+ }
+
diff -r 2dd3722497ae -r 9c457dc3c76f www/kore/patches/patch-src_http.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kore/patches/patch-src_http.c Sun Jan 12 23:01:05 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_http.c,v 1.1 2020/01/12 23:01:06 joerg Exp $
+
+--- src/http.c.orig 2020-01-11 18:36:08.320328389 +0000
++++ src/http.c
+@@ -983,7 +983,7 @@ http_argument_urldecode(char *arg)
+ return (KORE_RESULT_ERROR);
+ }
+
+- if (!isxdigit(*(p + 1)) || !isxdigit(*(p + 2))) {
++ if (!isxdigit((unsigned char)*(p + 1)) || !isxdigit((unsigned char)*(p + 2))) {
+ *in++ = *p++;
+ continue;
+ }
Home |
Main Index |
Thread Index |
Old Index