Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,4 +0,0 @@
|
|||||||
mtime: 1740697291
|
|
||||||
commit: cd9b21031074207ea776344b2df542364f5f735bd531a79277531aeaddc37a6f
|
|
||||||
url: https://src.opensuse.org/jengelh/gap-xgap
|
|
||||||
revision: master
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fc84c1ed2bbcc7b1279458401ba9a3cf3d2a89c9f81a4efcf76a2a703528b17c
|
|
||||||
size 256
|
|
@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 27 23:00:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Make specfile conform to POSIX sh
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Aug 21 20:58:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Add gcc14.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 23 22:09:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Sat Mar 23 22:09:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ Group: Productivity/Scientific/Math
|
|||||||
URL: https://gap-packages.github.io/xgap/
|
URL: https://gap-packages.github.io/xgap/
|
||||||
#Git-Clone: https://github.com/gap-packages/xgap
|
#Git-Clone: https://github.com/gap-packages/xgap
|
||||||
Source: https://github.com/gap-packages/xgap/releases/download/v%version/xgap-%version.tar.gz
|
Source: https://github.com/gap-packages/xgap/releases/download/v%version/xgap-%version.tar.gz
|
||||||
Patch1: gcc14.patch
|
|
||||||
BuildRequires: c_compiler
|
BuildRequires: c_compiler
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gap-devel
|
BuildRequires: gap-devel
|
||||||
@ -39,7 +38,7 @@ Requires: gap-core >= 4.7
|
|||||||
The XGAP package allows to use graphics in GAP.
|
The XGAP package allows to use graphics in GAP.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n xgap-%version -p1
|
%autosetup -n xgap-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --with-gaproot="%gapdir"
|
./configure --with-gaproot="%gapdir"
|
||||||
@ -47,8 +46,9 @@ The XGAP package allows to use graphics in GAP.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%gappkg_simple_install
|
%gappkg_simple_install
|
||||||
cd "%buildroot/$moddir"
|
pushd "%buildroot/$moddir"
|
||||||
rm -Rfv configure config.* bin/*/config.* bin/*/configure cnf src.x11
|
rm -Rfv configure config.* bin/*/config.* bin/*/configure cnf src.x11
|
||||||
|
popd
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%files -f %name.files
|
%files -f %name.files
|
||||||
|
30
gcc14.patch
30
gcc14.patch
@ -1,30 +0,0 @@
|
|||||||
From 0c83898a23ad4c7b5b68a9fcf5899a68fa272e58 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
Date: Wed, 21 Aug 2024 22:49:31 +0200
|
|
||||||
Subject: [PATCH] build: resolve compile error under gcc-14
|
|
||||||
References: https://github.com/gap-packages/xgap/pull/33
|
|
||||||
|
|
||||||
xcmds.c: In function "FunChangeList":
|
|
||||||
xcmds.c:715:36: error: passing argument 2 of "XawListChange" from
|
|
||||||
incompatible pointer type [-Wincompatible-pointer-types]
|
|
||||||
715 | XawListChange( arg->sel->list, (const char **)text, 0, 0, True );
|
|
||||||
---
|
|
||||||
src.x11/xcmds.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src.x11/xcmds.c b/src.x11/xcmds.c
|
|
||||||
index 644996b..a0242c2 100644
|
|
||||||
--- a/src.x11/xcmds.c
|
|
||||||
+++ b/src.x11/xcmds.c
|
|
||||||
@@ -712,7 +712,7 @@ static Boolean FunChangeList (
|
|
||||||
text[i] = 0;
|
|
||||||
|
|
||||||
/* change list */
|
|
||||||
- XawListChange( arg->sel->list, (const char **)text, 0, 0, True );
|
|
||||||
+ XawListChange( arg->sel->list, (String *)text, 0, 0, True );
|
|
||||||
|
|
||||||
/* clear old text */
|
|
||||||
for ( i = 0; arg->sel->text[i]; i++ )
|
|
||||||
--
|
|
||||||
2.46.0
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user