diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | gcc-13.patch | 12 |
3 files changed, 19 insertions, 1 deletions
@@ -13,6 +13,7 @@ pkgbase = sedutil-ladar backup = etc/sedutil/sedutil-sleep.conf source = https://github.com/ladar/sedutil/releases/download/1.16.0/sedutil-1.16.0-SHA512.tar.gz source = show_asterisk.patch + source = gcc-13.patch source = sedutil-mkimg.sh source = mkinitcpio-pba.conf source = mkinitcpio-rescue.conf @@ -26,6 +27,7 @@ pkgbase = sedutil-ladar source = sedutil-sleep.service sha256sums = e31fdfdc9d57f8bc63652bca5abe0468be145b6f5d5a215ce34b666cf9893f84 sha256sums = c192b82c7ce0080e920e805a05b49b0cca4692467b9d716e6c5fcbf8f2a9463c + sha256sums = 5a576f2401258fcac3de90dd3a4b3496d0867e1513bc2cbde4263d8a636f6f6c sha256sums = 21350ae1ce66ec44d10931471d6fac7780530742120a8836c6c2826753e4f8b1 sha256sums = d0ba87d38805e3d7c69feaac96a50c1c08d371dc059447569bc0d1fb351cf638 sha256sums = 2a8e44163be138a4f6404239dbbd857947af7be1113f30f41ecf7186daf7c6b6 @@ -16,6 +16,7 @@ backup=(etc/sedutil/sedutil-sleep.conf) install=sedutil.install source=("$url/releases/download/$pkgver/$_pkgname-$pkgver-SHA512.tar.gz" show_asterisk.patch + gcc-13.patch sedutil-mkimg.sh mkinitcpio-pba.conf mkinitcpio-rescue.conf @@ -29,6 +30,7 @@ source=("$url/releases/download/$pkgver/$_pkgname-$pkgver-SHA512.tar.gz" sedutil-sleep.service) sha256sums=('e31fdfdc9d57f8bc63652bca5abe0468be145b6f5d5a215ce34b666cf9893f84' 'c192b82c7ce0080e920e805a05b49b0cca4692467b9d716e6c5fcbf8f2a9463c' + '5a576f2401258fcac3de90dd3a4b3496d0867e1513bc2cbde4263d8a636f6f6c' '21350ae1ce66ec44d10931471d6fac7780530742120a8836c6c2826753e4f8b1' 'd0ba87d38805e3d7c69feaac96a50c1c08d371dc059447569bc0d1fb351cf638' '2a8e44163be138a4f6404239dbbd857947af7be1113f30f41ecf7186daf7c6b6' @@ -44,7 +46,9 @@ sha256sums=('e31fdfdc9d57f8bc63652bca5abe0468be145b6f5d5a215ce34b666cf9893f84' prepare() { cd $_pkgname-$pkgver # disable visual feedback - patch -p1 -i "$srcdir"/show_asterisk.patch + patch -Np1 -i "$srcdir"/show_asterisk.patch + # fix compilation with GCC 13 + patch -Np1 -i "$srcdir"/gcc-13.patch } build() { diff --git a/gcc-13.patch b/gcc-13.patch new file mode 100644 index 000000000000..69ec28c44389 --- /dev/null +++ b/gcc-13.patch @@ -0,0 +1,12 @@ +# Fix compilation with GCC 13 +--- a/Common/DtaOptions.h ++++ b/Common/DtaOptions.h +@@ -21,6 +21,8 @@ along with sedutil. If not, see <http:/ + #ifndef _DTAOPTIONS_H + #define _DTAOPTIONS_H + ++#include <cstdint> ++ + /** Output modes */ + typedef enum _sedutiloutput { + sedutilNormal, |