Browse Source

apply a vendor patch

Ralf S. Engelschall 20 years ago
parent
commit
61e72bc597
1 changed files with 3 additions and 1 deletions
  1. 3 1
      squid/squid.spec

+ 3 - 1
squid/squid.spec

@@ -38,7 +38,7 @@ Class:        BASE
 Group:        Web
 Group:        Web
 License:      GPL
 License:      GPL
 Version:      %{V_maj}.%{V_min}.%{V_rev}
 Version:      %{V_maj}.%{V_min}.%{V_rev}
-Release:      20050922
+Release:      20050928
 
 
 #   package options
 #   package options
 %option       with_fsl   yes
 %option       with_fsl   yes
@@ -50,6 +50,7 @@ Release:      20050922
 Source0:      http://www.squid-cache.org/Versions/v%{V_maj}/%{V_maj}.%{V_min}/squid-%{V_maj}.%{V_min}.STABLE%{V_rev}.tar.gz
 Source0:      http://www.squid-cache.org/Versions/v%{V_maj}/%{V_maj}.%{V_min}/squid-%{V_maj}.%{V_min}.STABLE%{V_rev}.tar.gz
 Source1:      rc.squid
 Source1:      rc.squid
 Source2:      fsl.squid
 Source2:      fsl.squid
+Patch0:       http://www.squid-cache.org/Versions/v%{V_maj}/%{V_maj}.%{V_min}/bugs/squid-%{V_maj}.%{V_min}.STABLE%{V_rev}-delaypools_truncated.patch
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
@@ -85,6 +86,7 @@ AutoReqProv:  no
 
 
 %prep
 %prep
     %setup -q -n squid-%{V_maj}.%{V_min}.STABLE%{V_rev}
     %setup -q -n squid-%{V_maj}.%{V_min}.STABLE%{V_rev}
+    %patch -p1
 %if "%{with_ntlm}" == "yes"
 %if "%{with_ntlm}" == "yes"
     %{l_shtool} subst \
     %{l_shtool} subst \
         -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
         -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \