Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2023 08:53:46 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 590c8a3b5675 - main - x11/wcm: unbreak build with libc++ < 16 after 275590e5fab0
Message-ID:  <202310080853.3988rkbP034614@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=590c8a3b56754bbfb6bc9e72fa6cc8fa7d3e4535

commit 590c8a3b56754bbfb6bc9e72fa6cc8fa7d3e4535
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-10-08 08:51:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-10-08 08:53:29 +0000

    x11/wcm: unbreak build with libc++ < 16 after 275590e5fab0
    
    In file included from ../src/wcm.cpp:1:
    ../src/wcm.hpp:69:52: error: implicit instantiation of undefined template 'std::array<Gtk::Separator, 7>'
        std::array<Gtk::Separator, NUM_CATEGORIES - 1> separators;
                                                       ^
    /usr/include/c++/v1/__tuple:219:64: note: template is declared here
    template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                                   ^
    
    PR:             274347
    Reported by:    Chad Jacob Milios
---
 x11/wcm/Makefile | 3 +++
 x11/wcm/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/x11/wcm/Makefile b/x11/wcm/Makefile
index 4516f72466ef..f3eba0ea3d1f 100644
--- a/x11/wcm/Makefile
+++ b/x11/wcm/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	0.8.0
 CATEGORIES=	x11 wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	aade4224e23e.patch:-p1 # https://github.com/WayfireWM/wcm/pull/69
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Wayfire Config Manager
 WWW=		https://wayfire.org/
diff --git a/x11/wcm/distinfo b/x11/wcm/distinfo
index 4b7ced5c18d1..23cd4d5d58ca 100644
--- a/x11/wcm/distinfo
+++ b/x11/wcm/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1695992117
 SHA256 (WayfireWM-wcm-v0.8.0_GH0.tar.gz) = 24000f5d037dc03eed9eaf2803987db5e02c1776bbe7c56b9c95c5942f65938f
 SIZE (WayfireWM-wcm-v0.8.0_GH0.tar.gz) = 396933
+SHA256 (aade4224e23e.patch) = 2f0477ed25bd2d83cd13ee68889a654d392b9f967e67c93896dd87dd7176c059
+SIZE (aade4224e23e.patch) = 985



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310080853.3988rkbP034614>