pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/kore



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Jan 12 23:01:06 UTC 2020

Modified Files:
        pkgsrc/www/kore: Makefile distinfo
Added Files:
        pkgsrc/www/kore/patches: patch-src_cli.c patch-src_http.c

Log Message:
Fix ctype use and parallel build.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/kore/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/kore/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/kore/patches/patch-src_cli.c \
    pkgsrc/www/kore/patches/patch-src_http.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/kore/Makefile
diff -u pkgsrc/www/kore/Makefile:1.2 pkgsrc/www/kore/Makefile:1.3
--- pkgsrc/www/kore/Makefile:1.2        Sun Jan 12 20:20:47 2020
+++ pkgsrc/www/kore/Makefile    Sun Jan 12 23:01:05 2020
@@ -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 @@ USE_TOOLS+=   gmake
 MAKE_FLAGS+=   MAN_DIR="${PREFIX}/${PKGMANDIR}"
 MAKE_FLAGS+=   TASKS=1
 
+pre-build:
+       ${MKDIR} ${WRKSRC}/obj
+
 .include "options.mk"
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/kore/distinfo
diff -u pkgsrc/www/kore/distinfo:1.1 pkgsrc/www/kore/distinfo:1.2
--- pkgsrc/www/kore/distinfo:1.1        Thu Aug 22 13:30:31 2019
+++ pkgsrc/www/kore/distinfo    Sun Jan 12 23:01:05 2020
@@ -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 @@ SHA512 (kore-3.3.1.tar.gz) = a6641632fdd
 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

Added files:

Index: pkgsrc/www/kore/patches/patch-src_cli.c
diff -u /dev/null pkgsrc/www/kore/patches/patch-src_cli.c:1.1
--- /dev/null   Sun Jan 12 23:01:06 2020
+++ pkgsrc/www/kore/patches/patch-src_cli.c     Sun Jan 12 23:01:06 2020
@@ -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 = '_';
+       }
+ 
Index: pkgsrc/www/kore/patches/patch-src_http.c
diff -u /dev/null pkgsrc/www/kore/patches/patch-src_http.c:1.1
--- /dev/null   Sun Jan 12 23:01:06 2020
+++ pkgsrc/www/kore/patches/patch-src_http.c    Sun Jan 12 23:01:06 2020
@@ -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