pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/ltfs (filesystems/ltfs) Add patch for ICU-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7660e2a75d7
branches:  trunk
changeset: 443815:c7660e2a75d7
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu Dec 24 12:01:25 2020 +0000

description:
(filesystems/ltfs) Add patch for ICU-68 adaptation

diffstat:

 filesystems/ltfs/PLIST                          |   4 ++--
 filesystems/ltfs/distinfo                       |   3 ++-
 filesystems/ltfs/patches/patch-src_libltfs_fs.c |  19 +++++++++++++++++++
 3 files changed, 23 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 72370b625154 -r c7660e2a75d7 filesystems/ltfs/PLIST
--- a/filesystems/ltfs/PLIST    Thu Dec 24 11:43:55 2020 +0000
+++ b/filesystems/ltfs/PLIST    Thu Dec 24 12:01:25 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/02/25 01:00:39 manu Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/12/24 12:01:25 mef Exp $
 bin/ltfs
 bin/ltfsck
 bin/mkltfs
@@ -41,8 +41,8 @@
 man/man8/ltfs-sde.8
 man/man8/ltfsck.8
 man/man8/mkltfs.8
-share/ltfs/ltfs
 share/examples/ltfs/ltfs.conf
 share/examples/ltfs/ltfs.conf.local
+share/ltfs/ltfs
 share/snmp/LTFS-MIB.txt
 share/snmp/LtfsSnmpTrapDef.txt
diff -r 72370b625154 -r c7660e2a75d7 filesystems/ltfs/distinfo
--- a/filesystems/ltfs/distinfo Thu Dec 24 11:43:55 2020 +0000
+++ b/filesystems/ltfs/distinfo Thu Dec 24 12:01:25 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2020/05/14 20:08:30 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/12/24 12:01:25 mef Exp $
 
 SHA1 (ltfs/v2.4.2.0-pre0.tar.gz) = ecce71a30f0beb8281b6fbf1a28c8a33b082a595
 RMD160 (ltfs/v2.4.2.0-pre0.tar.gz) = 69fcb0ff2fae7cc509005b14d5fe0a5953456c30
@@ -6,3 +6,4 @@
 Size (ltfs/v2.4.2.0-pre0.tar.gz) = 591900 bytes
 SHA1 (patch-conf_Makefile.am) = 95ea905de7c4c71d8cc0effff99930c5af7997a0
 SHA1 (patch-messages_make__message__src.sh) = 931070ffd0cf27a1adee6bc4353b487707567926
+SHA1 (patch-src_libltfs_fs.c) = 7a68425e24c2d79b2b3a56176f47009d917f5a18
diff -r 72370b625154 -r c7660e2a75d7 filesystems/ltfs/patches/patch-src_libltfs_fs.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/patches/patch-src_libltfs_fs.c   Thu Dec 24 12:01:25 2020 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_libltfs_fs.c,v 1.1 2020/12/24 12:01:25 mef Exp $
+
+ICU-68.1 adaptation:
+fs.c:266:32: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
+   update_platform_safe_name(d, FALSE, idx);
+                                ^~~~~
+                                FILE
+
+--- src/libltfs/fs.c.orig      2019-02-20 14:22:33.000000000 +0900
++++ src/libltfs/fs.c   2020-12-24 20:57:45.926149247 +0900
+@@ -263,7 +263,7 @@
+               d->platform_safe_name = NULL;
+       } else if (name && !platform_safe_name) {
+               d->name.name = strdup(name);
+-              update_platform_safe_name(d, FALSE, idx);
++              update_platform_safe_name(d, false, idx);
+               if (! d->name.name || ! d->platform_safe_name) {
+                       ltfsmsg(LTFS_ERR, 10001E, "fs_allocate_dentry: name");
+                       if (d->name.name)



Home | Main Index | Thread Index | Old Index