Pārlūkot izejas kodu

unsetenv() will be added in Solaris 10 but is not yet available in our Solaris 10beta

Thomas Lotterer 22 gadi atpakaļ
vecāks
revīzija
8ec56cc4fa
2 mainītis faili ar 14 papildinājumiem un 1 dzēšanām
  1. 13 0
      sendmail/sendmail.patch
  2. 1 1
      sendmail/sendmail.spec

+ 13 - 0
sendmail/sendmail.patch

@@ -472,3 +472,16 @@
  /*
  **  BT_MAP_OPEN, HASH_MAP_OPEN -- database open primitives.
  **
+
+--- include/sm/conf.h.orig	2004-02-11 13:58:36.443953000 +0100
++++ include/sm/conf.h	2004-02-11 15:15:07.077087000 +0100
+@@ -446,7 +446,7 @@
+ #    define HASURANDOMDEV	1	/* /dev/[u]random added in S9 */
+ #   endif /* SOLARIS >= 20900 || (SOLARIS < 10000 && SOLARIS >= 209) */
+ #   if SOLARIS >= 21000 || (SOLARIS < 10000 && SOLARIS >= 210)
+-#    define HASUNSETENV 1       /* unsetenv() added in S10 */
++#    define HASUNSETENV 0       /* unsetenv() added in S10 but not yet available in our S10beta */
+ #   endif /* SOLARIS >= 21000 || (SOLARIS < 10000 && SOLARIS >= 210) */
+ #   ifndef HASGETUSERSHELL
+ #    define HASGETUSERSHELL 0	/* getusershell(3) causes core dumps pre-2.7 */
+

+ 1 - 1
sendmail/sendmail.spec

@@ -34,7 +34,7 @@ Class:        PLUS
 Group:        Mail
 License:      BSD
 Version:      8.12.11
-Release:      20040207
+Release:      20040211
 
 #   package options
 %option       with_fsl      yes