Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv3460

Modified Files:
        rtorrent.info rtorrent.patch 
Log Message:
at long last, upstream update 0.9.2, now with xmlrpc-c, validated on 
powerpc-darwin8


Index: rtorrent.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/rtorrent.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- rtorrent.info       11 Dec 2011 01:28:13 -0000      1.6
+++ rtorrent.info       4 Aug 2012 01:08:26 -0000       1.7
@@ -1,5 +1,5 @@
 Package: rtorrent
-Version: 0.9.0
+Version: 0.9.2
 Revision: 1
 License: GPL
 HomePage: http://libtorrent.rakshasa.no
@@ -9,27 +9,29 @@
 Depends: <<
         libssh2.1-shlibs,
        libsigc++2-shlibs, 
-       libcurl4-shlibs (>= 7.12.0-1), 
+       libcurl4-shlibs (>= 7.15.4-1), 
        libncursesw5-shlibs, 
-       libtorrent15-shlibs (>= 0.13.0-1)
+       libtorrent15-shlibs (>= 0.13.2-1),
+       xmlrpc-c-shlibs
 <<
 BuildDepends: <<
        fink (>= 0.24.12),
         libssh2.1,
        libsigc++2, 
-       libcurl4 (>= 7.12.0-1), 
+       libcurl4 (>= 7.15.4-1), 
        pkgconfig (>= 0.9-1), 
        libncursesw5, 
-       libtorrent15 (>= 0.13.0-1)
+       libtorrent15 (>= 0.13.2-1),
+       xmlrpc-c
 <<
 BuildConflicts: openssl-dev, openssl097-dev, openssl098-dev
 
 Source: http://libtorrent.rakshasa.no/downloads/%n-%v.tar.gz
-Source-MD5: 9bc258d7a63dd13e3348f310ae26a434
-# Source-SHA1: 66fb3e851f8fc961a7dd98ebde8369cc71eea861
+Source-MD5: 72c3e9ab859bda7cc8aa96c0b508b09f
+# Source-SHA1: 2a642d722745091265037ed8929a23c237a3b99f
 
 PatchFile: %n.patch
-PatchFile-MD5: 4de151654f2bb16a9be2bb027b4a93ec
+PatchFile-MD5: ae06282c946c13e8091f095e2254427f
 
 GCC: 4.0
 
@@ -39,12 +41,18 @@
 ConfigureParams: <<
        --mandir='${prefix}'/share/man \
        --enable-ipv6 \
+       --with-xmlrpc-c \
        OPENSSL_CFLAGS=-L%p/lib/system-openssl/include \
        OPENSSL_LIBS="-L%p/lib/system-openssl/lib -lcrypto"
 <<
 
 CompileScript:
 
+InfoTest: <<
+       TestDepends: cppunit1.12.1
+       TestScript: make -k check || exit 2
+<<
+
 InstallScript:
 
 DocFiles: <<

Index: rtorrent.patch
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/rtorrent.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rtorrent.patch      17 Jul 2011 18:30:49 -0000      1.1
+++ rtorrent.patch      4 Aug 2012 01:08:26 -0000       1.2
@@ -16,9 +16,9 @@
      return ptr;
    }
  
---- rtorrent-0.8.9-orig/src/thread_base.h      2011-06-21 23:12:25.000000000 
-0700
-+++ rtorrent-0.8.9/src/thread_base.h   2011-06-21 23:33:19.000000000 -0700
-@@ -37,6 +37,20 @@
+--- rtorrent-0.9.2-orig/src/thread_base.h      2011-06-21 23:12:25.000000000 
-0700
++++ rtorrent-0.9.2/src/thread_base.h   2011-06-21 23:33:19.000000000 -0700
+@@ -37,6 +37,24 @@
  #ifndef LIBTORRENT_THREAD_BASE_H
  #define LIBTORRENT_THREAD_BASE_H
  
@@ -30,10 +30,14 @@
 +
 +#ifdef        USE_DARWIN_ATOMICS
 +#include <libkern/OSAtomic.h>
-+#define       __sync_add_and_fetch(x, y)      OSAtomicIncrement32Barrier(x)
-+#define       __sync_sub_and_fetch(x, y)      OSAtomicDecrement32Barrier(x)
++#define       __sync_add_and_fetch(x, y)      OSAtomicAdd32Barrier(y, 
(int32_t*)x)
++#define       __sync_sub_and_fetch(x, y)      OSAtomicAdd32Barrier(-(y), 
(int32_t*)x)
++#define       __sync_and_and_fetch(x, y)      OSAtomicAnd32Barrier(y, 
(uint32_t*)x)
++#define       __sync_or_and_fetch(x, y)       OSAtomicOr32Barrier(y, 
(uint32_t*)x)
 +#define       __sync_lock_test_and_set(x, y)  OSAtomicTestAndSetBarrier(y, x)
-+#define       __sync_bool_compare_and_swap(x, y, z)   
OSAtomicCompareAndSwap32Barrier(y, z, x)
++#define       __sync_bool_compare_and_swap(x, y, z)   
OSAtomicCompareAndSwap32Barrier(y, z, (int32_t*)x)
++#define       __sync_fetch_and_or(x, y)       ( __sync_or_and_fetch(x, y), *x 
)
++#define       __sync_fetch_and_and(x, y)      ( __sync_and_and_fetch(x, y), 
*x )
 +#endif
 +
  #include <pthread.h>
@@ -81,8 +85,8 @@
        throw torrent::internal_error("Overflowed thread_queue.");
  
 -    __sync_bool_compare_and_swap(itr, NULL, v);
-+    __sync_bool_compare_and_swap(reinterpret_cast<int32_t*>(itr), NULL, 
reinterpret_cast<int32_t>(v));
-     __sync_bool_compare_and_swap(&m_lock, 1, 0);
++    __sync_bool_compare_and_swap(reinterpret_cast<ssize_t*>(itr), NULL, 
reinterpret_cast<ssize_t>(v));
+     unlock();
    }
  
 --- rtorrent-0.8.9-orig/src/thread_worker.cc   2011-07-16 16:45:44.000000000 
-0700
@@ -92,7 +96,18 @@
  bool
  ThreadWorker::set_scgi(rpc::SCgi* scgi) {
 -  if (!__sync_bool_compare_and_swap(&m_safe.scgi, NULL, scgi))
-+  if (!__sync_bool_compare_and_swap(reinterpret_cast<int32_t*>(&m_safe.scgi), 
NULL, reinterpret_cast<int32_t>(scgi)))
++  if (!__sync_bool_compare_and_swap(reinterpret_cast<ssize_t*>(&m_safe.scgi), 
NULL, reinterpret_cast<ssize_t>(scgi)))
      return false;
  
    change_xmlrpc_log();
+--- rtorrent-0.9.2-orig/test/rpc/object_storage_test.cc        2012-08-03 
17:35:38.000000000 -0700
++++ rtorrent-0.9.2/test/rpc/object_storage_test.cc     2012-08-03 
17:35:10.000000000 -0700
+@@ -9,7 +9,7 @@
+ 
+ void
+ ObjectStorageTest::test_basics() {
+-  rpc::object_storage::iterator itr;
++  rpc::object_storage::iterator itr(m_storage.begin());
+ 
+   CPPUNIT_ASSERT(m_storage.empty());
+   


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to