Compare commits

..

No commits in common. "rawhide" and "f43" have entirely different histories.

2 changed files with 1 additions and 34 deletions

View file

@ -1,27 +0,0 @@
From 73f9fe3d40d3881223f3a9776732e31bdc8a459f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Sat, 8 Nov 2025 15:45:20 +0000
Subject: [PATCH] Fix [-Wincompatible-pointer-types] warning
This fixes the build with clang >= 22 which has this warning as an
error by default.
---
src/interpreter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/interpreter.c b/src/interpreter.c
index 44dfaa6..4708e7c 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -945,7 +945,7 @@ void command_completion()
struct stat stat_;
if(stat(path2, &stat_) == 0) {
if(stat_.st_mode & S_IXUSR) {
- char* entry_d_name[PATH_MAX];
+ char entry_d_name[PATH_MAX];
char* p = entry->d_name;
char* p2 = entry_d_name;
--
2.50.1

View file

@ -15,7 +15,7 @@ Name: clover2
# For Version, see README.md and so on
Version: %{mainver}
Release: 13%{?dist}
Release: 12%{?dist}
Summary: Yet another compiler language
# app-sample/ unused
@ -29,8 +29,6 @@ Source1: create-clover-git-bare-tarball.sh
Patch1: clover2-11.0.0-0001-port-to-pcre2.patch
# block TCGETA usage on ppc64le for now on 2.42
Patch2: clover2-11.0.0-0002-block-TCGETA-usage-on-ppc64le.patch
# Fix build with clang >= 22.
Patch3: clover2-11.0.0-0003-Fix-Wincompatible-pointer-types-warning.patch
# Upstream suggests to use clang
BuildRequires: clang
@ -100,7 +98,6 @@ sed -i.lib Makefile.in -e 's|/lib$|/%{_lib}|'
git commit -m "Apply Fedora specific configuration" -a
cat %PATCH1 | git am
cat %PATCH2 | git am
cat %PATCH3 | git am
%build
cd clover2
@ -155,9 +152,6 @@ LANG=C.utf8 make -C clover2 test
%{_includedir}/clover2/
%changelog
* Sat Nov 08 2025 Tom Stellard <tstellar@redhat.com> - 11.0.0-13
- Fix build with clang >=22
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild