components/ntp/patches/15-nooptarg.patch
changeset 7955 e2e23e69f5e7
equal deleted inserted replaced
7954:f5d146a3f5e6 7955:e2e23e69f5e7
       
     1 This bug has been submitted to the NTP community as NTP bug 3406.
       
     2 http://bugs.ntp.org/show_bug.cgi?id=3406
       
     3 The fix in this patch is specific to the build of the bundled version of NTP
       
     4 for Solaris. It patches the config.h.in file. A proper fix would replicate
       
     5 the test in the sntp/configure file in the top level configure file. This patch
       
     6 may be removed when upgrading to a version of NTP that has a fix for bug 3406
       
     7 included.
       
     8 
       
     9 
       
    10 *** config.h.in
       
    11 --- config.h.in
       
    12 *************** typedef unsigned int	uintptr_t;
       
    13 *** 1741,1746 ****
       
    14 --- 1741,1748 ----
       
    15   /* Define to rpl_vsnprintf if the replacement function should be used. */
       
    16   #undef vsnprintf
       
    17   
       
    18 + #define NO_OPTIONAL_OPT_ARGS 1
       
    19 + 
       
    20   
       
    21   #ifndef MPINFOU_PREDECLARED
       
    22   # define MPINFOU_PREDECLARED