OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   23-Feb-2005 16:23:02
  Branch: OPENPKG_2_3_SOLID                Handle: 2005022315230200

  Modified files:           (Branch: OPENPKG_2_3_SOLID)
    openpkg-src/nsd         nsd.patch

  Log:
    MFC: fix building under Solaris

  Summary:
    Revision    Changes     Path
    1.5.2.1     +23 -0      openpkg-src/nsd/nsd.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/nsd/nsd.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.5.2.1 nsd.patch
  --- openpkg-src/nsd/nsd.patch 18 Jan 2005 19:02:54 -0000      1.5
  +++ openpkg-src/nsd/nsd.patch 23 Feb 2005 15:23:02 -0000      1.5.2.1
  @@ -25,3 +25,26 @@
                                log_msg(LOG_ERR, "checking %s", axfr_daemon);
                                if (!hosts_access(&request)) {
    #endif /* AXFR_DAEMON_PREFIX */
  +Index: tsig.c
  +--- tsig.c.orig      2005-01-17 16:35:54.000000000 +0100
  ++++ tsig.c   2005-02-23 16:19:36.487025139 +0100
  +@@ -249,11 +249,19 @@
  +             time_t clock;
  + 
  +             clock = (time_t) current_time;
  ++#ifdef __sun__
  ++            ctime_r(&clock, current_time_text, sizeof(current_time_text));
  ++#else
  +             ctime_r(&clock, current_time_text);
  ++#endif
  +             current_time_text[24] = '\0';
  + 
  +             clock = (time_t) signed_time;
  ++#ifdef __sun__
  ++            ctime_r(&clock, signed_time_text, sizeof(signed_time_text));
  ++#else
  +             ctime_r(&clock, signed_time_text);
  ++#endif
  +             signed_time_text[24] = '\0';
  + 
  + #if 0                               /* XXX */
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to