Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37886517
en ru br
ALT Linux repositórios
S:2.2.0-alt1

Group :: Sistema/Bibliotecas
RPM: libplist

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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)
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009