pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/transmission Add last missing hunk for dflybsd bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da9af980beca
branches:  trunk
changeset: 363958:da9af980beca
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Jun 19 13:33:46 2017 +0000

description:
Add last missing hunk for dflybsd build, missed in previous commit.

diffstat:

 net/transmission/distinfo                                       |  4 ++--
 net/transmission/patches/patch-libtransmission_platform-quota.c |  9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 88c9522b7497 -r da9af980beca net/transmission/distinfo
--- a/net/transmission/distinfo Mon Jun 19 13:21:35 2017 +0000
+++ b/net/transmission/distinfo Mon Jun 19 13:33:46 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2017/06/19 13:21:35 maya Exp $
+$NetBSD: distinfo,v 1.11 2017/06/19 13:33:46 maya Exp $
 
 SHA1 (transmission-2.92.tar.xz) = 2140feba45c4471392033d21b86b6f3ef780d88e
 RMD160 (transmission-2.92.tar.xz) = 6da78ce333fa2ea69aa4954c3b052a818ce7c93e
 SHA512 (transmission-2.92.tar.xz) = 4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 Size (transmission-2.92.tar.xz) = 3378116 bytes
 SHA1 (patch-ab) = 796faa7c61762dc3ffe563748e55160c827149d2
-SHA1 (patch-libtransmission_platform-quota.c) = e48d7d0ecca191d700ce967d1a2a1f4041fceace
+SHA1 (patch-libtransmission_platform-quota.c) = 2d9758d24c4329021e0774ac9f8bb3dd94592965
 SHA1 (patch-qt_qtr.pro) = 8d83709175fb4b9a88c3766b130b39160aeadaa3
diff -r 88c9522b7497 -r da9af980beca net/transmission/patches/patch-libtransmission_platform-quota.c
--- a/net/transmission/patches/patch-libtransmission_platform-quota.c   Mon Jun 19 13:21:35 2017 +0000
+++ b/net/transmission/patches/patch-libtransmission_platform-quota.c   Mon Jun 19 13:33:46 2017 +0000
@@ -31,3 +31,12 @@
    if (quotactl(device, QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t) &dq) == 0)
      {
  #elif defined(__sun)
+@@ -281,7 +287,7 @@ getquota (const char * device)
+           /* No quota enabled for this user */
+           return -1;
+         }
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
+       spaceused = (int64_t) dq.dqb_curblocks >> 1;
+ #elif defined(__APPLE__)
+       spaceused = (int64_t) dq.dqb_curbytes;



Home | Main Index | Thread Index | Old Index