Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9a2b2d1136 | |||
| 0b72f3b51c | |||
| 49e4deb91a | |||
| 6944936aae | |||
| 007d75eca1 | |||
| 337e17987b |
12
xcolors-gcc15.patch
Normal file
12
xcolors-gcc15.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- xcolors.c.orig 2025-02-14 11:31:23.614430920 +0000
|
||||
+++ xcolors.c 2025-02-14 11:28:01.022687819 +0000
|
||||
@@ -282,7 +282,7 @@ colordemo(parent, startcolor, nearcolor,
|
||||
char colorname[50], save_colorname[50];
|
||||
char temp_buffer[255];
|
||||
FILE *rgb;
|
||||
- Bool do_color();
|
||||
+ Bool do_color(Widget, char *);
|
||||
double ddist = maxdist;
|
||||
|
||||
rgb = fopen(opts.rgb_file, "r");
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 31 07:04:30 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Make it build even with broken imake/xmkmf setup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 11:33:09 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix fix build with gcc 15
|
||||
+ xcolors-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 2 16:06:52 UTC 2024 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xcolors
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -32,6 +32,8 @@ Source: xcolors-04oct91.tar.bz2
|
||||
Patch0: xcolors-04oct91.patch
|
||||
Patch1: xcolors-04oct91-xorg7_rgbtxt.patch
|
||||
Patch2: xcolors-gcc14.patch
|
||||
# fix build with gcc 15
|
||||
Patch3: xcolors-gcc15.patch
|
||||
BuildRequires: imake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(x11)
|
||||
@@ -50,7 +52,8 @@ xmkmf -a
|
||||
%make_build CCOPTIONS="%{optflags}"
|
||||
|
||||
%install
|
||||
%make_install install.man
|
||||
%make_install install.man MANPATH=%{_mandir} XAPPLOADDIR=%{_prefix}/%{_xorg7libshare}/X11/app-defaults
|
||||
rm -fr %{buildroot}/usr/lib/X11
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
|
||||
Reference in New Issue
Block a user