libical/0001-Increase-element-size-in-libical-glib-array.py-test.patch
Milan Crha 5b82d9720a Add build failure patches and a fix (no parallel build)
No parallel build is for .gir file generation, which could fail on ppc64 and
other architectures (more frequently) with an error about empty or incomplete
.gir file during the parsing of it.
2017-11-01 18:35:47 +01:00

31 lines
996 B
Diff

From eeeaeddd215a8b3796fa66473877629d697a7fcf Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Wed, 1 Nov 2017 16:17:49 +0100
Subject: [PATCH 1/3] Increase element size in libical-glib/array.py test
The element size 100 was not enough to hold the whole object
on ppc64, ppc64le, aarch64 and s390x architectures, causing objects
breakages and later even crashes. Hence increase the element size.
The size 128 is enough, but use higher value, to have some room
for the future.
---
src/test/libical-glib/array.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/libical-glib/array.py b/src/test/libical-glib/array.py
index 571d45a2..cc7cc758 100755
--- a/src/test/libical-glib/array.py
+++ b/src/test/libical-glib/array.py
@@ -22,7 +22,7 @@ import sys
from gi.repository import ICalGLib
from sys import getsizeof
-array = ICalGLib.Array.new(100, 100);
+array = ICalGLib.Array.new(256, 100);
element1 = "hello";
element2 = "world";
--
2.13.5