ソースを参照

temporary fix for sunos isblank annoyance

Thorsten Hohmeier 20 年 前
コミット
b6559c99d7
1 ファイル変更6 行追加1 行削除
  1. 6 1
      sudo/sudo.spec

+ 6 - 1
sudo/sudo.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        System
 License:      BSD
 Version:      1.6.8p9
-Release:      20050825
+Release:      20051024
 
 #   package options
 %option       with_fsl    yes
@@ -83,6 +83,11 @@ AutoReqProv:  no
                 -e 's/\(\$(LIBTOOL).*sudo_noexec.lo.*$\)/\1; $(CC) -dynamiclib .libs\/sudo_noexec.o $(LDFLAGS) -o .libs\/sudo_noexec.dylib/' \
                 Makefile.in
             ;;
+        *-sunos* )
+            %{l_shtool} subst \
+                -e 's;^(void)isblank(1);if( (int)isblank(1)) exit(0);' \
+                configure
+           ;;
     esac
 
 %build