- header_fixups.patch: added

OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=292
This commit is contained in:
Adam Majer 2024-03-06 12:48:17 +00:00 committed by Git OBS Bridge
parent 6cedc775e2
commit 8ef00f7fd9
3 changed files with 17 additions and 0 deletions

14
header_fixups.patch Normal file
View File

@ -0,0 +1,14 @@
Index: squid-6.8/src/auth/basic/NIS/nis_support.h
===================================================================
--- squid-6.8.orig/src/auth/basic/NIS/nis_support.h
+++ squid-6.8/src/auth/basic/NIS/nis_support.h
@@ -8,9 +8,6 @@
#ifndef SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
#define SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
-#ifndef SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
-#define SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
-
extern char * get_nis_password(char *user, char *nisdomain, char *nismap);
#endif /* SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H */

View File

@ -18,6 +18,7 @@ Wed Mar 6 12:02:14 UTC 2024 - Adam Majer <adam.majer@suse.de>
- Remove incorrect beta version warning
- squid.keyring: updated
- header_fixups.patch: added
-------------------------------------------------------------------
Mon Feb 26 13:37:08 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -51,6 +51,7 @@ Source17: tmpfilesdir.squid.conf
Patch1: missing_installs.patch
Patch2: old_nettle_compat.patch
Patch3: harden_squid.service.patch
Patch4: header_fixups.patch
BuildRequires: cppunit-devel
BuildRequires: expat
BuildRequires: fdupes
@ -107,6 +108,7 @@ accelerator.
%setup -q
cp %{SOURCE10} .
%patch -P 3 -p1
%patch -P4 -p1
# upstream patches after RELEASE
perl -p -i -e 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|' `find -name "*.pl"`