From 83d2944bb9fa36d60799236ff2d275bc358bc062 Mon Sep 17 00:00:00 2001 From: Rihards Skuja Date: Thu, 13 Jun 2024 22:04:01 +0300 Subject: [PATCH] openhd-git: remove redundant patches --- openhd-git/.SRCINFO | 6 +---- openhd-git/0001-fix-compile-on-gcc-13.patch | 26 --------------------- openhd-git/0002-fix-compile-on-gcc-13.patch | 24 ------------------- openhd-git/PKGBUILD | 15 +++--------- 4 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 openhd-git/0001-fix-compile-on-gcc-13.patch delete mode 100644 openhd-git/0002-fix-compile-on-gcc-13.patch diff --git a/openhd-git/.SRCINFO b/openhd-git/.SRCINFO index 8dfb931..8eb07ed 100644 --- a/openhd-git/.SRCINFO +++ b/openhd-git/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = openhd-git pkgdesc = Open-source digital FPV system - pkgver = 2.5.3.r23.gb9ed014 + pkgver = 2.6.0.r1.gd19b2c9 pkgrel = 1 url = https://openhdfpv.org arch = any @@ -21,10 +21,6 @@ pkgbase = openhd-git provides = openhd conflicts = openhd source = git+https://github.com/OpenHD/OpenHD.git - source = 0001-fix-compile-on-gcc-13.patch - source = 0002-fix-compile-on-gcc-13.patch sha256sums = SKIP - sha256sums = 7637ec59e85b4616d05d1f0c81a10fca921473b4b124c04e6506213718bb205a - sha256sums = 118befc82ae46153b407ea66fdf7ee4bc0043cb0d36308e124703da1d01f8a79 pkgname = openhd-git diff --git a/openhd-git/0001-fix-compile-on-gcc-13.patch b/openhd-git/0001-fix-compile-on-gcc-13.patch deleted file mode 100644 index 71926ef..0000000 --- a/openhd-git/0001-fix-compile-on-gcc-13.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f1111ce46894d3b51434e33a6f3461318dade5fd Mon Sep 17 00:00:00 2001 -From: Rihards Skuja -Date: Thu, 29 Feb 2024 11:40:31 +0200 -Subject: [PATCH] fix compile on gcc 13 - -Without the header compilation fails with a bunch of -"'uint8_t' does not name a type" errors. ---- - wifibroadcast/src/HelperSources/StringHelper.hpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/wifibroadcast/src/HelperSources/StringHelper.hpp b/wifibroadcast/src/HelperSources/StringHelper.hpp -index 056b12d..9d16c94 100644 ---- a/wifibroadcast/src/HelperSources/StringHelper.hpp -+++ b/wifibroadcast/src/HelperSources/StringHelper.hpp -@@ -6,6 +6,7 @@ - #define OSDTESTER_STRINGHELPER_H - - #include -+#include - #include - #include - #include --- -2.44.0 - diff --git a/openhd-git/0002-fix-compile-on-gcc-13.patch b/openhd-git/0002-fix-compile-on-gcc-13.patch deleted file mode 100644 index e704428..0000000 --- a/openhd-git/0002-fix-compile-on-gcc-13.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 79b881d9007d44023ab1c6c4d91c0933a1bc934f Mon Sep 17 00:00:00 2001 -From: Rihards Skuja -Date: Thu, 29 Feb 2024 11:52:22 +0200 -Subject: [PATCH] fix compile on gcc 13 - ---- - OpenHD/ohd_common/inc/openhd_util.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/OpenHD/ohd_common/inc/openhd_util.h b/OpenHD/ohd_common/inc/openhd_util.h -index 9890eaa3..6c4b1ba5 100644 ---- a/OpenHD/ohd_common/inc/openhd_util.h -+++ b/OpenHD/ohd_common/inc/openhd_util.h -@@ -1,6 +1,7 @@ - #ifndef OPENHD_UTIL_H - #define OPENHD_UTIL_H - -+#include - #include - #include - #include --- -2.44.0 - diff --git a/openhd-git/PKGBUILD b/openhd-git/PKGBUILD index 0713e5d..ef693f5 100644 --- a/openhd-git/PKGBUILD +++ b/openhd-git/PKGBUILD @@ -2,7 +2,7 @@ pkgname=openhd-git _reponame=OpenHD -pkgver=2.5.3.r23.gb9ed014 +pkgver=2.6.0.r1.gd19b2c9 pkgrel=1 pkgdesc='Open-source digital FPV system' arch=(any) @@ -16,23 +16,14 @@ optdepends=( ) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("git+https://github.com/OpenHD/$_reponame.git" "0001-fix-compile-on-gcc-13.patch" "0002-fix-compile-on-gcc-13.patch") -sha256sums=('SKIP' - '7637ec59e85b4616d05d1f0c81a10fca921473b4b124c04e6506213718bb205a' - '118befc82ae46153b407ea66fdf7ee4bc0043cb0d36308e124703da1d01f8a79') +source=("git+https://github.com/OpenHD/$_reponame.git") +sha256sums=('SKIP') pkgver() { cd "$_reponame" git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - cd "$_reponame" - git submodule update --init --recursive - patch -d 'OpenHD/ohd_interface/lib/wifibroadcast' -p1 -i "$srcdir/0001-fix-compile-on-gcc-13.patch" - patch -p1 -i "$srcdir/0002-fix-compile-on-gcc-13.patch" -} - build() { cmake -B build -S "$_reponame/OpenHD" -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev cmake --build build