1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/libICE: Update to 1.1.1

Release notes:	https://lists.x.org/archives/xorg-announce/2022-December/003288.html

Differential Revision:	https://reviews.freebsd.org/D44952
Sponsored by:		Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2024-04-25 17:03:44 +02:00
parent 7c78a96137
commit 4fb79974aa
3 changed files with 4 additions and 37 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= libICE
PORTVERSION= 1.1.0
PORTREVISION= 2
PORTVERSION= 1.1.1
PORTEPOCH= 1
CATEGORIES= x11

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1670264853
SHA256 (xorg/lib/libICE-1.1.0.tar.xz) = 02d2fc40d81180bd4aae73e8356acfa2a7671e8e8b472e6a7bfa825235ab225b
SIZE (xorg/lib/libICE-1.1.0.tar.xz) = 335864
TIMESTAMP = 1714057299
SHA256 (xorg/lib/libICE-1.1.1.tar.xz) = 03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451
SIZE (xorg/lib/libICE-1.1.1.tar.xz) = 335960

View File

@ -1,32 +0,0 @@
From e176b676cff17948d68299c00dddefe41638c752 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
Date: Sun, 4 Dec 2022 22:19:20 +0100
Subject: [PATCH] ICEmsg: Fix C++ interoperability error due to static_assert
define
Commit 0269c687e954db7aca2a4344e32cb203315a00b6 added a static_assert helper
that gets defined to blank if left undefined by assert.h. As this is not a
macro in other languages that use this header, this can lead to a compile-time
error.
Bug: https://bugs.gentoo.org/884369
---
include/X11/ICE/ICEmsg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git include/X11/ICE/ICEmsg.h include/X11/ICE/ICEmsg.h
index b6bad13..13e1509 100644
--- include/X11/ICE/ICEmsg.h
+++ include/X11/ICE/ICEmsg.h
@@ -34,7 +34,7 @@ Author: Ralph Mor, X Consortium
#include <X11/ICE/ICEconn.h>
#include <assert.h>
-#ifndef static_assert
+#if !defined(__cplusplus) && !defined(static_assert)
#define static_assert(cond, msg) /* skip for non-C11 compilers */
#endif
--
GitLab