Browse Source

fix building of mod_auth_pam under GCC 3.3

Ralf S. Engelschall 23 years ago
parent
commit
10506d6f3d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      apache/apache.spec

+ 3 - 2
apache/apache.spec

@@ -60,7 +60,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20030603
+Release:      20030604
 
 #   package options (suexec related)
 %option       with_suexec             yes
@@ -643,7 +643,8 @@ AutoReqProv:  no
     #   optionally prepare mod_auth_pam
 %if "%{with_mod_auth_pam}" == "yes"
     ( cd mod_auth_pam-%{V_mod_auth_pam}
-      cp mod_auth_pam.c ../apache_%{V_apache}/src/modules/extra/
+      sed -e '234N;s/\n//' -e '239N;s/\n//' <mod_auth_pam.c \
+          >../apache_%{V_apache}/src/modules/extra/mod_auth_pam.c
     )
 %endif