File: use-system-md5

package info (click to toggle)
apitrace 11.1%2Brepack-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,672 kB
  • sloc: cpp: 183,112; python: 33,685; ansic: 25,073; sh: 143; makefile: 88
file content (32 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Use md5 implementation from system libbsd
Forwarded: not-needed
Author: Christopher James Halse Rogers <raof@ubuntu.com>

--- a/lib/image/CMakeLists.txt
+++ b/lib/image/CMakeLists.txt
@@ -8,6 +8,6 @@ add_library (image STATIC
 )
 
 target_link_libraries (image
-    md5
+    bsd
     PNG::PNG
 )
--- a/lib/image/image_md5.cpp
+++ b/lib/image/image_md5.cpp
@@ -28,7 +28,7 @@
 #include <fstream>
 #include "image.hpp"
 
-#include "md5.h"
+#include <bsd/md5.h>
 
 
 using namespace std;
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -75,4 +75,3 @@ if (WIN32)
 endif ()
 
 add_subdirectory (crc32c)
-add_subdirectory (md5)