pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/kcoreaddons kcoreaddons: NAME_MAX compat.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9087e924f803
branches:  trunk
changeset: 444810:9087e924f803
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 13 10:47:05 2021 +0000

description:
kcoreaddons: NAME_MAX compat.

diffstat:

 devel/kcoreaddons/distinfo                                   |   3 +-
 devel/kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp |  16 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r e59e56779890 -r 9087e924f803 devel/kcoreaddons/distinfo
--- a/devel/kcoreaddons/distinfo        Wed Jan 13 10:46:10 2021 +0000
+++ b/devel/kcoreaddons/distinfo        Wed Jan 13 10:47:05 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2020/06/07 10:54:00 markd Exp $
+$NetBSD: distinfo,v 1.11 2021/01/13 10:47:05 jperkin Exp $
 
 SHA1 (kcoreaddons-5.70.0.tar.xz) = 4242f9e8ebfe57cac2bbceba7b026a5305623d69
 RMD160 (kcoreaddons-5.70.0.tar.xz) = 5a35804faa2b9a35b64a7df583f6ea3390bf5ee8
 SHA512 (kcoreaddons-5.70.0.tar.xz) = e14994ceef6fd9f65f8614ba3853b78b3cb416cb284c062eef0f0271bd692c153269d9da4acac285941bdca9e2952f75e292f62586f25358a33a646345a534a6
 Size (kcoreaddons-5.70.0.tar.xz) = 381028 bytes
 SHA1 (patch-src_lib_caching_kshareddatacache_p.h) = a3dff380dd98bbef3f9bbfe32f1e852b985b6306
+SHA1 (patch-src_lib_io_kautosavefile.cpp) = b50bd37139febd7e82f3087241107171161dec2a
diff -r e59e56779890 -r 9087e924f803 devel/kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp      Wed Jan 13 10:47:05 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_lib_io_kautosavefile.cpp,v 1.1 2021/01/13 10:47:05 jperkin Exp $
+
+NAME_MAX compat.
+
+--- src/lib/io/kautosavefile.cpp.orig  2020-05-02 22:16:16.000000000 +0000
++++ src/lib/io/kautosavefile.cpp
+@@ -15,6 +15,9 @@
+ #include <stdlib.h> // for _MAX_FNAME
+ static const int maxNameLength = _MAX_FNAME;
+ #else
++#ifndef NAME_MAX
++#define NAME_MAX PATH_MAX
++#endif
+ static const int maxNameLength = NAME_MAX;
+ #endif
+ 



Home | Main Index | Thread Index | Old Index