diff --git a/srcpkgs/rofi/patches/buffer-overflow.patch b/srcpkgs/rofi/patches/buffer-overflow.patch deleted file mode 100644 index 40a9188dcee..00000000000 --- a/srcpkgs/rofi/patches/buffer-overflow.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 246da62b9076417e0628e30099b709aa1b5cd247 -Author: Urs Schulz -Date: Thu Jan 16 11:05:41 2025 +0100 - - Fix buffer overflow in rofi -e after reading from stdin - -diff --git a/source/rofi.c b/source/rofi.c -index a88cb973..58cd6873 100644 ---- a/source/rofi.c -+++ b/source/rofi.c -@@ -823,6 +823,8 @@ static gboolean startup(G_GNUC_UNUSED gpointer data) { - msg = realloc(msg, length * sizeof(char)); - } - -+ msg[index] = 0; -+ - if (!rofi_view_error_dialog(msg, markup)) { - g_main_loop_quit(main_loop); - } diff --git a/srcpkgs/rofi/template b/srcpkgs/rofi/template index f9653ca61a0..cd2ed4922f6 100644 --- a/srcpkgs/rofi/template +++ b/srcpkgs/rofi/template @@ -2,8 +2,8 @@ # XXX: ensure all compiled rofi plugins work with each version # xlocate 'usr/lib/rofi/.*.so' to find them pkgname=rofi -version=1.7.7 -revision=2 +version=1.7.8 +revision=1 build_style=gnu-configure hostmakedepends="autoconf automake flex glib-devel pkg-config which" makedepends="libXinerama-devel librsvg-devel @@ -13,8 +13,9 @@ short_desc="Window switcher, run dialog and dmenu replacement" maintainer="classabbyamp " license="MIT" homepage="https://github.com/davatorium/rofi" +changelog="https://github.com/davatorium/rofi/releases" distfiles="https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.xz" -checksum=ce29264f7c4266ecff43abc7d0fe938e5506ae5c2c48b334e242e89c94b51607 +checksum=2ad90a8c492e0b64202088e788795bf0b31ecfaa59fe7441ad263298d150655e if [ "$XBPS_CHECK_PKGS" ]; then makedepends+=" check-devel"