ports/mail/archiveopteryx/files/patch-core__md5.cpp
Mark Felder d768f2f3b1 Update to 3.2.0
Support STAGE

aox builds with GCC on 8.x and 9.x, clang on 10.0+

Sponsored by:	SupraNet Communications, Inc
2014-03-06 21:13:02 +00:00

15 lines
452 B
C++

--- ./core/md5.cpp.orig 2014-03-06 13:46:23.918398965 -0600
+++ ./core/md5.cpp 2014-03-06 13:46:30.784414914 -0600
@@ -149,12 +149,9 @@
}
swapBytes( in, 14 );
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wstrict-aliasing"
/* Append length in bits and transform. */
((uint32 *)in)[14] = bits[0];
((uint32 *)in)[15] = bits[1];
-#pragma GCC diagnostic pop
transform();
swapBytes( (char *)buf, 4 );