diff --git a/packages/t/turbobase64/patches/2022.02.21/header.patch b/packages/t/turbobase64/patches/2022.02.21/header.patch new file mode 100644 index 000000000..33e95b4d7 --- /dev/null +++ b/packages/t/turbobase64/patches/2022.02.21/header.patch @@ -0,0 +1,14 @@ +diff --git a/turbob64.h b/turbob64.h +index 0149b77..2ddd838 100644 +--- a/turbob64.h ++++ b/turbob64.h +@@ -24,6 +24,9 @@ + // Turbo-Base64 - C/C++ include header + #ifndef _TURBOB64_H_ + #define _TURBOB64_H_ ++ ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/packages/t/turbobase64/port/CMakeLists.txt b/packages/t/turbobase64/port/CMakeLists.txt new file mode 100644 index 000000000..cd2f73758 --- /dev/null +++ b/packages/t/turbobase64/port/CMakeLists.txt @@ -0,0 +1,158 @@ +cmake_minimum_required(VERSION 3.15) + +project(turbobase64 C) + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release) +endif() + +# Run cmake -D