Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e8f11a7f14 | |||
| 16683080c4 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 12:38:27 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- u_gcc15.patch
|
||||
* fixes build with gcc15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 08:00:51 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package liboldX
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
@@ -28,6 +28,8 @@ URL: http://cgit.freedesktop.org/xorg/lib/liboldX/
|
||||
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/liboldX
|
||||
Source: http://xorg.freedesktop.org/releases/X11R7.0/src/lib/%{name}-X11R7.0-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch0: u_gcc15.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#git#BuildRequires: autoconf >= 2.57, automake, libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(x11)
|
||||
@@ -56,7 +58,7 @@ This package contains the development headers for the library found
|
||||
in %lname.
|
||||
|
||||
%prep
|
||||
%autosetup -n %name-X11R7.0-%version
|
||||
%autosetup -p1 -n %name-X11R7.0-%version
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
||||
14
u_gcc15.patch
Normal file
14
u_gcc15.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: liboldX-X11R7.0-1.0.1/include/X11/X10.h
|
||||
===================================================================
|
||||
--- liboldX-X11R7.0-1.0.1.orig/include/X11/X10.h
|
||||
+++ liboldX-X11R7.0-1.0.1/include/X11/X10.h
|
||||
@@ -83,7 +83,7 @@ typedef struct {
|
||||
int size; /* Table size (number of buckets). */
|
||||
} XAssocTable;
|
||||
|
||||
-XAssocTable *XCreateAssocTable();
|
||||
-char *XLookUpAssoc();
|
||||
+XAssocTable *XCreateAssocTable(register int size);
|
||||
+char *XLookUpAssoc(register Display *dpy, register XAssocTable *table, register XID x_id);
|
||||
|
||||
#endif /* _X10_H_ */
|
||||
Reference in New Issue
Block a user