From b618c3d0693aec564c6746238fd05d94e31d3b76 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 3 Apr 2012 14:54:55 +0000 Subject: Tue Apr 3 14:54:45 UTC 2012 --- community/synce-rra/build-fix.diff | 51 -------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 community/synce-rra/build-fix.diff (limited to 'community/synce-rra') diff --git a/community/synce-rra/build-fix.diff b/community/synce-rra/build-fix.diff deleted file mode 100644 index 848fe2d71..000000000 --- a/community/synce-rra/build-fix.diff +++ /dev/null @@ -1,51 +0,0 @@ -diff -Nruad -Nruad librra-0.11.1.orig/python/pyrra.pyx librra-0.11.1/python/pyrra.pyx ---- librra-0.11.1.orig/python/pyrra.pyx 2008-05-23 20:56:17.000000000 +0100 -+++ librra-0.11.1/python/pyrra.pyx 2008-05-23 20:56:30.000000000 +0100 -@@ -132,7 +132,7 @@ - cdef bool _CB_TypesCallback(RRA_SyncMgrTypeEvent event, uint32_t type, uint32_t count, uint32_t * ids, context): - ida=[] - cdef bool rc -- for i from 0 <= i < count: -+ for 0 <= i < count: - ida.append(ids[i]) - rc=context.CB_TypeCallback( event,type,ida) - return rc -@@ -192,9 +192,9 @@ - # Event processing - # - -- def SubscribeObjectEvents(self,type): -+ def SubscribeObjectEvents(self,type_id): - if self.connected != 0: -- rra_syncmgr_subscribe(self.instance, type, _CB_TypesCallback, self) -+ rra_syncmgr_subscribe(self.instance, type_id, _CB_TypesCallback, self) - return 0 - return -1 - -@@ -260,7 +260,7 @@ - c_oids = malloc(sizeof(uint32_t)*c_cnt) - rc=0 - if c_oids != NULL: -- for i from 0 <= i < c_cnt: -+ for 0 <= i < c_cnt: - c_oids[i] = oids[i] - rc= rra_syncmgr_get_multiple_objects(self.instance,type_id, c_cnt, c_oids,_CB_WriterCallback, self) - free(c_oids) -@@ -291,7 +291,7 @@ - rc = rra_syncmgr_put_multiple_objects(self.instance,type_id,c_oidcount, - c_oids,c_newoids,flags,_CB_ReaderCallback,self) - if rc == True: -- for i from 0 <= i < c_oidcount: -+ for 0 <= i < c_oidcount: - newoid_array.append(c_newoids[i]) - free(c_oids) - return rc -@@ -312,7 +312,7 @@ - # (to be overloaded by user) - # - -- def CB_TypeCallback(self, event, type, idarray): -+ def CB_TypeCallback(self, event, type_id, idarray): - return False - - def CB_ObjectWriterCallback(self,type_id, obj_id, data): -- cgit v1.2.3-54-g00ecf