2 Commits

3 changed files with 23 additions and 2 deletions

12
xcb-gcc15.patch Normal file
View File

@@ -0,0 +1,12 @@
--- a/xcb.c 2025-02-14 11:42:31.494798776 +0000
+++ b/xcb.c 2025-02-14 11:41:16.412751722 +0000
@@ -983,7 +983,7 @@ dogetseln (n, ptr, nb)
static void
dolist (list, fn, data, nbytes)
char *list;
- void (*fn) ();
+ void (*fn) (int, char *, int);
char *data;
int nbytes;
{

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 14 11:44:38 UTC 2025 - pgajdos@suse.com
- added patches
fix fix build with gcc 15
+ xcb-gcc15.patch
-------------------------------------------------------------------
Thu Jul 25 08:51:44 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xcb
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ Group: System/X11/Utilities
URL: http://www.goof.com/pcg/marc/xcb.html
Source: %{name}-%{version}.tar.bz2
Patch0: xcb-prototype.patch
# fix build with gcc 15
Patch1: xcb-gcc15.patch
BuildRequires: imake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
@@ -41,7 +43,7 @@ number of different pieces of data can be saved and recalled later. The
program is designed primarily for use with textual data.
%prep
%autosetup
%autosetup -p1
%build
xmkmf -a