From 2c9a00ef36cab2a43ab7efcffcb7946a1eb4e29f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 20 Sep 2020 12:48:04 +0000 Subject: [PATCH] x11/lavalauncher: unbreak on DragonFly ../src/types/buffer.c: In function 'get_shm_fd': ../src/types/buffer.c:81:25: error: '__off64_t' undeclared (first use in this function); did you mean '__off_t'? if ( ftruncate(*fd, (__off64_t)size) < 0 ) ^~~~~~~~~ __off_t ../src/types/buffer.c:81:25: note: each undeclared identifier is reported only once for each function it appears in ../src/types/buffer.c:81:35: error: expected ')' before 'size' if ( ftruncate(*fd, (__off64_t)size) < 0 ) ^~~~ ) Reported by: DPorts --- x11/lavalauncher/Makefile | 3 +++ x11/lavalauncher/distinfo | 2 ++ 2 files changed, 5 insertions(+) diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile index 14223712902c..697b20d95066 100644 --- a/x11/lavalauncher/Makefile +++ b/x11/lavalauncher/Makefile @@ -6,6 +6,9 @@ DISTVERSION= 2.0.0 CATEGORIES= x11 MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ +PATCH_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/commit/ +PATCHFILES+= 542e8c948889.patch:-p1 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple launcher panel for Wayland desktops diff --git a/x11/lavalauncher/distinfo b/x11/lavalauncher/distinfo index fe8ebd65c03f..7d1ded120881 100644 --- a/x11/lavalauncher/distinfo +++ b/x11/lavalauncher/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1598638301 SHA256 (lavalauncher-v2.0.0.tar.gz) = 6aa9d6fe189f658dabb709c1902454ebaa7dace8259d39c2256397657a411f9b SIZE (lavalauncher-v2.0.0.tar.gz) = 92083 +SHA256 (542e8c948889.patch) = 936f12b5f274080cca03eb8eceacae9f9d8daf93f390d69e71ed3f3ed0f734bf +SIZE (542e8c948889.patch) = 834