void-packages/srcpkgs/rsyslog/patches/non-atomic-builtins-64-fix.patch
Eivind Uggedal 694afa6a3f rsyslog: update to 8.4.0 and remove -doc subpackage.
The rsyslog-doc subpackage was removed since the html documentation
is no longer part of the tarball but released separately.
2014-09-16 21:57:11 +00:00

23 lines
727 B
Diff

From a92972687652dc8b793ee5cb04ec676910aaa725 Mon Sep 17 00:00:00 2001
From: Eivind Uggedal <eivind@uggedal.com>
Date: Tue, 16 Sep 2014 21:45:12 +0000
Subject: [PATCH] build fix for systems without 64bit atomic builtins
Triggered for instance when cross compiling to armv6.
---
runtime/statsobj.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/statsobj.h b/runtime/statsobj.h
index 347f639..d56485d 100644
--- runtime/statsobj.h
+++ runtime/statsobj.h
@@ -139,7 +139,7 @@ PROTOTYPEObj(statsobj);
*/
#define STATSCOUNTER_DEF(ctr, mut) \
intctr_t ctr; \
- DEF_ATOMIC_HELPER_MUT64(mut)
+ DEF_ATOMIC_HELPER_MUT64(mut);
#define STATSCOUNTER_INIT(ctr, mut) \
INIT_ATOMIC_HELPER_MUT64(mut); \