SHA256
1
0
forked from pool/conauto

Add gcc14.patch

This commit is contained in:
Jan Engelhardt 2024-11-05 01:20:29 +01:00
parent e3bd8f763b
commit 1438b7c45b
3 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 5 00:19:39 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
-------------------------------------------------------------------
Thu Sep 17 08:31:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package buckygen
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,6 +24,7 @@ License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://sites.google.com/site/giconauto/
Source: https://sites.google.com/site/giconauto/home/conauto-2.03.tar.gz
Patch1: gcc14.patch
BuildRequires: unzip
%description

21
gcc14.patch Normal file
View File

@ -0,0 +1,21 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2024-11-05 01:19:04.918343561 +0100
graph.c:83:18: error: implicit declaration of function strncmp [-Wimplicit-function-declaration]
---
src/graph.c | 1 +
1 file changed, 1 insertion(+)
Index: conauto-2.03/src/graph.c
===================================================================
--- conauto-2.03.orig/src/graph.c
+++ conauto-2.03/src/graph.c
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <inttypes.h>
+#include <string.h>
#include "graph.h"