Accepting request 1245650 from home:pgajdos
This should fix build with gcc 15, but I have also filled delete request from Factory. You decide. OBS-URL: https://build.opensuse.org/request/show/1245650 OBS-URL: https://build.opensuse.org/package/show/Education/xmoontool?expand=0&rev=13
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 13:28:36 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
+ xmoontool-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 12:19:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
+4
-3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xmoontool
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -22,13 +22,14 @@ Release: 0
|
||||
Summary: The Moon in focus
|
||||
License: SUSE-Public-Domain
|
||||
Group: Productivity/Scientific/Astronomy
|
||||
Url: http://www.fourmilab.ch/earthview/vplanet.html
|
||||
URL: http://www.fourmilab.ch/earthview/vplanet.html
|
||||
Source: xmoontool-22sep94.tar.gz
|
||||
Source1: xmoontool.desktop
|
||||
Patch0: xmoontool-22sep94.patch
|
||||
Patch1: xmoontool-22sep94-y2kfix.patch
|
||||
Patch2: xmoontool-22.9.24-filepermissions.patch
|
||||
Patch3: xmoontool-22sep94-xorg7.patch
|
||||
Patch4: xmoontool-gcc15.patch
|
||||
BuildRequires: openmotif-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
--- xmoontool.c 1993-09-22 04:27:24.000000000 +0200
|
||||
+++ xmoontool.c 2025-02-13 14:21:42.799891023 +0100
|
||||
@@ -265,9 +267,9 @@ static char olabel[Nlabels][60]; /*
|
||||
static char luabel[2][60]; /* Old lunation values */
|
||||
|
||||
/* Forward functions */
|
||||
-static double jtime(), phase();
|
||||
-static void phasehunt(), fmt_phase_time();
|
||||
-static void ringgg(), jyear(), jhms();
|
||||
+static double jtime(struct tm *), phase(double, double *, double *, double *, double *, double *, double *);
|
||||
+static void phasehunt(double, double []), fmt_phase_time(double, char *);
|
||||
+static void ringgg( XtPointer, XtIntervalId*), jyear(double, int *, int*, int*), jhms(double, int *, int *, int *);
|
||||
|
||||
/* EXPOSE -- Graphics area repaint procedure. */
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user