summaryrefslogtreecommitdiff
path: root/community/synce-rra
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /community/synce-rra
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'community/synce-rra')
-rw-r--r--community/synce-rra/build-fix.diff51
1 files changed, 0 insertions, 51 deletions
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(<RRA_SyncMgrTypeEvent> 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 = <uint32_t *>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):