From 5faebb93ccc925dc0f55a431c490b6c7d8869bba Mon Sep 17 00:00:00 2001 From: Rihards Skuja Date: Wed, 28 Feb 2024 17:45:27 +0200 Subject: [PATCH] openhd-git: fix failing wifibroadcast patch --- openhd-git/0001-fix-compile-on-gcc-13.patch | 8 ++++---- openhd-git/PKGBUILD | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/openhd-git/0001-fix-compile-on-gcc-13.patch b/openhd-git/0001-fix-compile-on-gcc-13.patch index cd2cff1..5001297 100644 --- a/openhd-git/0001-fix-compile-on-gcc-13.patch +++ b/openhd-git/0001-fix-compile-on-gcc-13.patch @@ -6,13 +6,13 @@ Subject: [PATCH] fix compile on gcc 13 Without the header compilation fails with a bunch of "'uint8_t' does not name a type" errors. --- - src/HelperSources/StringHelper.hpp | 1 + + wifibroadcast/HelperSources/StringHelper.hpp | 1 + 1 file changed, 1 insertion(+) -diff --git a/src/HelperSources/StringHelper.hpp b/src/HelperSources/StringHelper.hpp +diff --git a/wifibroadcast/HelperSources/StringHelper.hpp b/wifibroadcast/HelperSources/StringHelper.hpp index f00bf9c..1e8e774 100644 ---- a/src/HelperSources/StringHelper.hpp -+++ b/src/HelperSources/StringHelper.hpp +--- a/wifibroadcast/HelperSources/StringHelper.hpp ++++ b/wifibroadcast/HelperSources/StringHelper.hpp @@ -9,6 +9,7 @@ #include #include diff --git a/openhd-git/PKGBUILD b/openhd-git/PKGBUILD index 246e2a5..86bee7a 100644 --- a/openhd-git/PKGBUILD +++ b/openhd-git/PKGBUILD @@ -2,8 +2,8 @@ pkgname=openhd-git _reponame=OpenHD -pkgver=2.5.0.beta3.r381.gf559237 -pkgrel=2 +pkgver=2.5.3.r4.g1e7139f +pkgrel=1 pkgdesc='Open-source digital FPV system' arch=(any) url='https://openhdfpv.org' @@ -18,7 +18,7 @@ provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("git+https://github.com/OpenHD/$_reponame.git" "0001-fix-compile-on-gcc-13.patch") sha256sums=('SKIP' - 'f5353f5411a41833a050cee54d9b461261c8a68eb9051547830960d06c0c0733') + 'd7a917cba6b6e9f510c42f543636024efd970baa2c255ca1eacae0601d0ef148') pkgver() { cd "$_reponame" @@ -28,7 +28,7 @@ pkgver() { prepare() { cd "$_reponame" git submodule update --init --recursive - patch -d 'OpenHD/lib/wifibroadcast' -p1 -i "$srcdir/0001-fix-compile-on-gcc-13.patch" + patch -d 'OpenHD/ohd_interface/lib/wifibroadcast' -p1 -i "$srcdir/0001-fix-compile-on-gcc-13.patch" } build() {