pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/packagekit More portable way to print st_size...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5954cc4a2cc4
branches: trunk
changeset: 556341:5954cc4a2cc4
user: hasso <hasso%pkgsrc.org@localhost>
date: Fri Mar 20 08:50:51 2009 +0000
description:
More portable way to print st_size which is off_t. Fixes build on DragonFly.
diffstat:
pkgtools/packagekit/distinfo | 3 ++-
pkgtools/packagekit/patches/patch-ar | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r eefa885a0153 -r 5954cc4a2cc4 pkgtools/packagekit/distinfo
--- a/pkgtools/packagekit/distinfo Fri Mar 20 07:01:51 2009 +0000
+++ b/pkgtools/packagekit/distinfo Fri Mar 20 08:50:51 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/02/15 16:44:20 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/03/20 08:50:51 hasso Exp $
SHA1 (PackageKit-0.4.0.tar.gz) = 896a769a929d4813a9ab2b9ebea47c4fb7ed12d7
RMD160 (PackageKit-0.4.0.tar.gz) = e71a0c16009ac04457ddad895de663d7e4da08b1
@@ -19,3 +19,4 @@
SHA1 (patch-an) = 7030689df2b56a11695cad3134186dfd615f0c03
SHA1 (patch-ao) = d9c9550120d6fd140864d6558668b57a6e5a700a
SHA1 (patch-ap) = a7a789bb6e8739e76d8d567132f0b44df0944660
+SHA1 (patch-ar) = 5ed542e16b4eb05eef94c8851d874c775fe03957
diff -r eefa885a0153 -r 5954cc4a2cc4 pkgtools/packagekit/patches/patch-ar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/packagekit/patches/patch-ar Fri Mar 20 08:50:51 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ar,v 1.1 2009/03/20 08:50:51 hasso Exp $
+
+More portable way to print st_size which is off_t.
+
+--- lib/packagekit-glib/pk-service-pack.c.orig 2009-03-20 10:14:37 +0200
++++ lib/packagekit-glib/pk-service-pack.c 2009-03-20 10:15:18 +0200
+@@ -599,7 +599,7 @@ pk_service_pack_archive_add_file (struct
+ "file not found %s", filename);
+ goto out;
+ }
+- egg_debug ("stat(%s), size=%lu bytes\n", filename, st.st_size);
++ egg_debug ("stat(%s), size=%jd bytes\n", filename, (intmax_t)st.st_size);
+
+ /* create new entry */
+ entry = archive_entry_new ();
Home |
Main Index |
Thread Index |
Old Index