Преглед изворни кода

repair flawed configure script test for C++ preprocessor using a substitution instead of a patch for future maintenance

Michael Schloh von Bennewitz пре 21 година
родитељ
комит
ec48c83347
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      fsl/fsl.spec

+ 4 - 1
fsl/fsl.spec

@@ -34,7 +34,7 @@ Class:        CORE
 Group:        System
 License:      MIT-style
 Version:      1.5.0
-Release:      20040604
+Release:      20040605
 
 #   package options
 %option       with_fsl_debuglogcode   no
@@ -72,6 +72,9 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e '/LINENO: error: C\+\+ preprocessor/{N;N;N;N;s/.*/:/;}' \
+        configure
     %patch -p0
 
 %build