Package: rhmessaging
Version: 0.16-1
Severity: Important
Tags: patch

For armel/armhf the following simple patch seems to work, the package
builds and the tests pass. I assume similar fixes might be worth testing
on mips/mipsel/sparc as well.

Regards

Konstantinos

diff -ruN rhmessaging-0.16/lib/jrnl/jcfg.hpp rhmessaging-0.16.mine/lib/jrnl/jcfg.hpp
--- rhmessaging-0.16/lib/jrnl/jcfg.hpp	2011-12-05 16:14:39.000000000 +0000
+++ rhmessaging-0.16.mine/lib/jrnl/jcfg.hpp	2012-10-16 21:33:47.297567530 +0000
@@ -33,7 +33,7 @@
 #ifndef mrg_journal_jcfg_hpp
 #define mrg_journal_jcfg_hpp
 
-#if defined(__i386__) /* little endian, 32 bits */
+#if defined(__i386__) || defined(__arm__) /* little endian, 32 bits */
 #define JRNL_LITTLE_ENDIAN
 #define JRNL_32_BIT
 #elif defined(__PPC__) || defined(__s390__)  /* big endian, 32 bits */

Reply via email to