Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37877834
en ru br
ALT Linux repos
S:2.2.0-alt1

Group :: System/Libraries
RPM: libplist

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libplist-2.0.0-alt-e2k-lcc123.patch
Download


diff -Naur libplist-2.0.0-orig/src/bplist.c libplist-2.0.0/src/bplist.c
--- libplist-2.0.0-orig/src/bplist.c	2017-04-20 12:38:58.000000000 +0300
+++ libplist-2.0.0/src/bplist.c	2019-01-08 18:12:36.545927616 +0300
@@ -182,7 +182,7 @@
 #define __has_builtin(x) 0
 #endif
 
-#if __has_builtin(__builtin_umulll_overflow) || __GNUC__ >= 5
+#if __has_builtin(__builtin_umulll_overflow) || (__GNUC__ >= 5 && !(defined __LCC__ && __LCC__ <= 123))
 #define uint64_mul_overflow(a, b, r) __builtin_umulll_overflow(a, b, (unsigned long long*)r)
 #else
 static int uint64_mul_overflow(uint64_t a, uint64_t b, uint64_t *res)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin