diff options
Diffstat (limited to 'multimedia/x265/files/patch-md5')
-rw-r--r-- | multimedia/x265/files/patch-md5 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/multimedia/x265/files/patch-md5 b/multimedia/x265/files/patch-md5 new file mode 100644 index 000000000000..7bc99e1423a3 --- /dev/null +++ b/multimedia/x265/files/patch-md5 @@ -0,0 +1,51 @@ +--- source/common/picyuv.h 2023-06-27 10:11:49.000000000 -0400 ++++ source/common/picyuv.h 2023-10-22 21:14:09.423270000 -0400 +@@ -26,5 +26,5 @@ + + #include "common.h" +-#include "md5.h" ++#include <md5.h> + #include "x265.h" + struct x265_picyuv {}; +--- source/encoder/frameencoder.h 2023-06-27 10:11:49.000000000 -0400 ++++ source/encoder/frameencoder.h 2023-10-22 21:14:52.414503000 -0400 +@@ -31,5 +31,4 @@ + #include "frame.h" + #include "picyuv.h" +-#include "md5.h" + + #include "analysis.h" +--- source/encoder/sei.h 2023-06-27 10:11:49.000000000 -0400 ++++ source/encoder/sei.h 2023-10-22 21:15:50.862452000 -0400 +@@ -29,5 +29,5 @@ + #include "slice.h" + #include "nal.h" +-#include "md5.h" ++#include <md5.h> + + namespace X265_NS { +--- source/encoder/frameencoder.cpp 2023-06-27 10:11:49.000000000 -0400 ++++ source/encoder/frameencoder.cpp 2023-10-22 21:27:55.363979000 -0400 +@@ -426,5 +426,5 @@ + m_seiReconPictureDigest.m_method = SEIDecodedPictureHash::MD5; + for (int i = 0; i < planes; i++) +- MD5Final(&m_seiReconPictureDigest.m_state[i], m_seiReconPictureDigest.m_digest[i]); ++ MD5Final(m_seiReconPictureDigest.m_digest[i], &m_seiReconPictureDigest.m_state[i]); + payloadSize = 1 + 16 * planes; + } +--- source/CMakeLists.txt 2023-06-27 10:11:49.000000000 -0400 ++++ source/CMakeLists.txt 2023-10-22 21:54:36.900303000 -0400 +@@ -96,4 +96,5 @@ + if(UNIX) + list(APPEND PLATFORM_LIBS pthread) ++ list(APPEND PLATFORM_LIBS md) + find_library(LIBRT rt) + if(LIBRT) +--- source/common/CMakeLists.txt 2023-06-27 10:11:49.000000000 -0400 ++++ source/common/CMakeLists.txt 2023-10-22 21:21:56.177834000 -0400 +@@ -156,5 +156,4 @@ + threadpool.cpp threadpool.h + wavefront.h wavefront.cpp +- md5.cpp md5.h + bitstream.h bitstream.cpp + yuv.cpp yuv.h |