ports/graphics/libemf/files/patch-libemf_libemf.cpp
Dima Panov ebe5436797 graphics/libemf: update to 1.0.13 release
This update fixes a number of vulnerabilities:

CVE-2020-13999 (fixed in 1.0.13)
CVE-2020-11863 (fixed in 1.0.12)
CVE-2020-11864 (fixed in 1.0.12)
CVE-2020-11865 (fixed in 1.0.12)
CVE-2020-11866 (fixed in 1.0.12)

PR:	259590
MFH:	2021Q4
2021-11-03 05:07:27 +10:00

12 lines
257 B
C++

--- libemf/libemf.cpp.orig 2021-11-01 12:21:53 UTC
+++ libemf/libemf.cpp
@@ -72,8 +72,7 @@ namespace EMF {
if ( not bigEndian() ) {
return a;
}
-#include <byteswap.h>
- return bswap_32(a);
+ return __builtin_bswap32(a);
}
/*!