summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-20 08:50:51 +0000
committerhasso <hasso@pkgsrc.org>2009-03-20 08:50:51 +0000
commit32ef2c234f0d07c7b1fa3cb89a75c4bc819a17aa (patch)
treee62b6f8c22916a7d20666adb3774b28c640df626 /pkgtools
parentac614c82788f1fc6f2dda2b301ef30bd72a82a23 (diff)
downloadpkgsrc-32ef2c234f0d07c7b1fa3cb89a75c4bc819a17aa.tar.gz
More portable way to print st_size which is off_t. Fixes build on DragonFly.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/packagekit/distinfo3
-rw-r--r--pkgtools/packagekit/patches/patch-ar15
2 files changed, 17 insertions, 1 deletions
diff --git a/pkgtools/packagekit/distinfo b/pkgtools/packagekit/distinfo
index 498d08c12e7..0af28cb7c3b 100644
--- a/pkgtools/packagekit/distinfo
+++ b/pkgtools/packagekit/distinfo
@@ -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-am) = 2ec6ff6f53459718302b54c718605ccfd796ca95
SHA1 (patch-an) = 7030689df2b56a11695cad3134186dfd615f0c03
SHA1 (patch-ao) = d9c9550120d6fd140864d6558668b57a6e5a700a
SHA1 (patch-ap) = a7a789bb6e8739e76d8d567132f0b44df0944660
+SHA1 (patch-ar) = 5ed542e16b4eb05eef94c8851d874c775fe03957
diff --git a/pkgtools/packagekit/patches/patch-ar b/pkgtools/packagekit/patches/patch-ar
new file mode 100644
index 00000000000..14b64ec9ad2
--- /dev/null
+++ b/pkgtools/packagekit/patches/patch-ar
@@ -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 ();