Changes between Version 70 and Version 71 of MovedToGitHub/Building


Ignore:
Timestamp:
Jul 19, 2013, 12:26:22 AM (9 years ago)
Author:
rb07
Comment:

Update to version 2.81 for Cygwin.

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/Building

    v70 v71  
    173173Version 2.80 breaks building on Cygwin (libtransmission/platform.c and quotas, adding this [https://github.com/adaptivecomputing/torque/blob/master/src/resmom/cygwin/quota.h] file to Cygwin's /usr/include/sys solves the problem).
    174174
     175Version 2.81 with the above workaround needs a one line patch:
     176{{{
     177--- a/libtransmission/platform-quota.c  2013-07-18 19:21:36.340076700 -0500
     178+++ b/libtransmission/platform-quota.c  2013-07-15 19:42:02.314325900 -0500
     179@@ -241,7 +241,7 @@
     180       spaceused = (int64_t) dq.dqb_curbytes;
     181 #elif defined(__UCLIBC__)
     182       spaceused = (int64_t) btodb(dq.dqb_curblocks);
     183-#elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
     184+#elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2)
     185       spaceused = (int64_t) dq.dqb_curblocks >> 1;
     186 #else
     187       spaceused = btodb(dq.dqb_curspace);
     188}}}
     189
    175190=== Native Windows ===
    176191