From 9f437669990ce1301eeb79611f69ab4766188db5 Mon Sep 17 00:00:00 2001 From: Ingar Date: Sun, 20 Oct 2024 22:43:27 +0200 Subject: Updated to v0.3.2+20240917, replaced git clone with source tarball download. --- libcamera-rpi-0.3.2-arch.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libcamera-rpi-0.3.2-arch.patch (limited to 'libcamera-rpi-0.3.2-arch.patch') diff --git a/libcamera-rpi-0.3.2-arch.patch b/libcamera-rpi-0.3.2-arch.patch new file mode 100644 index 0000000..108dc9d --- /dev/null +++ b/libcamera-rpi-0.3.2-arch.patch @@ -0,0 +1,11 @@ +--- libcamera-rpi-0.3.2/src/ipa/rpi/cam_helper/cam_helper_imx500.cpp 2024-10-20 21:38:58.492510656 +0200 ++++ libcamera-rpi-0.3.2-arch/src/ipa/rpi/cam_helper/cam_helper_imx500.cpp 2024-10-20 21:23:25.628222018 +0200 +@@ -257,7 +257,7 @@ + exported.height = inputTensorInfo.height; + exported.numChannels = inputTensorInfo.channels; + strncpy(exported.networkName, inputTensorInfo.networkName.c_str(), +- sizeof(exported.networkName)); ++ sizeof(exported.networkName) - 1); + exported.networkName[sizeof(exported.networkName) - 1] = '\0'; + metadata.set("cnn.input_tensor_info", exported); + metadata.set("cnn.input_tensor", std::move(inputTensorInfo.data)); -- cgit v1.2.3