Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4681d4a15d | |||
| a3d84badd7 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 13:30:19 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add acc-gcc15.patch: Fix build / test with GCC 15. "bool" is a
|
||||
reserved keyword.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 17:09:26 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package abi-compliance-checker
|
||||
#
|
||||
# Copyright (c) 2024 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
|
||||
@@ -26,6 +26,7 @@ Source0: https://github.com/lvc/abi-compliance-checker/archive/%{version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: help2man
|
||||
Patch0: acc-gcc15.patch
|
||||
Requires: abi-dumper >= 1.1
|
||||
Requires: binutils
|
||||
Requires: coreutils
|
||||
@@ -55,7 +56,7 @@ compatibility, i.e. allow old applications to run with newer library
|
||||
versions without the need to recompile.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
chmod 0755 %{name}.pl
|
||||
|
||||
31
acc-gcc15.patch
Normal file
31
acc-gcc15.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
Index: abi-compliance-checker-2.3/modules/Internals/RegTests.pm
|
||||
===================================================================
|
||||
--- abi-compliance-checker-2.3.orig/modules/Internals/RegTests.pm
|
||||
+++ abi-compliance-checker-2.3/modules/Internals/RegTests.pm
|
||||
@@ -4789,7 +4789,7 @@ sub testC()
|
||||
$DECL_SPEC int delete(int virtual, int* this);
|
||||
$DECL_SPEC int testCppKeywords4(int* param, int export);
|
||||
struct CppKeywords {
|
||||
- int bool: 8;
|
||||
+ int boolean: 8;
|
||||
//int*this;
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
@@ -4842,7 +4842,7 @@ sub runTests($$$$$$$$)
|
||||
mkpath($Path_v1);
|
||||
mkpath($Path_v2);
|
||||
writeFile("$Path_v1/$ObjName.h", $HEADER1."\n");
|
||||
- writeFile("$Path_v1/$ObjName.$SrcE", "#include \"$ObjName.h\"\n".$SOURCE1."\n");
|
||||
+ writeFile("$Path_v1/$ObjName.$SrcE", "#include <stdlib.h>\n#include \"$ObjName.h\"\n".$SOURCE1."\n");
|
||||
|
||||
writeFile("$LibName/v1.xml", "
|
||||
<version>
|
||||
@@ -4875,7 +4875,7 @@ sub runTests($$$$$$$$)
|
||||
");
|
||||
|
||||
writeFile("$Path_v2/$ObjName.h", $HEADER2."\n");
|
||||
- writeFile("$Path_v2/$ObjName.$SrcE", "#include \"$ObjName.h\"\n".$SOURCE2."\n");
|
||||
+ writeFile("$Path_v2/$ObjName.$SrcE", "#include <stdlib.h>\n#include \"$ObjName.h\"\n".$SOURCE2."\n");
|
||||
writeFile("$LibName/v2.xml", "
|
||||
<version>
|
||||
2.0
|
||||
Reference in New Issue
Block a user