Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6c779a247f | |||
|
|
94bb99d19c |
22
fix-build-gcc15.patch
Normal file
22
fix-build-gcc15.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Index: b/src/sg.h.in
|
||||
===================================================================
|
||||
--- a/src/sg.h.in
|
||||
+++ b/src/sg.h.in
|
||||
@@ -360,7 +360,7 @@ char *sgStripUrl __P((char *));
|
||||
void sgEmergency __P(());
|
||||
void sgReloadConfig __P(());
|
||||
void sgHandlerSigHUP __P((int));
|
||||
-void sgAlarm __P(());
|
||||
+void sgAlarm __P((int));
|
||||
int sgStrRcmp __P((char *, char *));
|
||||
int sgStrRncmp __P((char *, char *, int));
|
||||
int sgDomStrRncmp __P((char *, char *, int));
|
||||
@@ -431,7 +431,7 @@ void sgFreePatternBuffer __P((struct s
|
||||
int sgRegExpMatch __P((struct sgRegExp *, char *));
|
||||
char *sgRegExpSubst __P((struct sgRegExp *, char *));
|
||||
|
||||
-void sgDbInit __P(());
|
||||
+void sgDbInit __P((struct sgDb *Db, char *file));
|
||||
void sgDbLoadTextFile __P((struct sgDb *, char *, int));
|
||||
void sgDbUpdate __P((struct sgDb *, char *, char *, size_t));
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 17:09:16 UTC 2025 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||
|
||||
- Fix builds with GCC 15
|
||||
* fix-build-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 12:27:41 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package squidGuard
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# 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
|
||||
@@ -39,6 +39,7 @@ Patch1: squidGuard-config.patch
|
||||
Patch2: default_config_pathfixes.patch
|
||||
Patch3: config_exit.patch
|
||||
Patch4: types.patch
|
||||
Patch5: fix-build-gcc15.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: flex
|
||||
|
||||
Reference in New Issue
Block a user