pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/blame



Module Name:    pkgsrc
Committed By:   dholland
Date:           Mon Dec 17 01:28:30 UTC 2012

Modified Files:
        pkgsrc/devel/blame: distinfo
Added Files:
        pkgsrc/devel/blame/patches: patch-configure patch-lib_mktime_c

Log Message:
Disable (on NetBSD) ill-conceived GNUish mktime() code that generates
a compile-time assertion. There is no need for this code on NetBSD, or
probably anywhere else, as mktime() is a standard part of libc.

The broken code was apparently reported upstream last year, with
predictable results: http://sourceware.org/bugzilla/show_bug.cgi?id=12401

While here also fix the mktime configure test, which exercises
undefined behavior. With gcc 4.5 this causes the build to hang in an
infinite loop for sixty seconds until an alarm() goes off.

Fixes the build on 32-bit NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/blame/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/blame/patches/patch-configure \
    pkgsrc/devel/blame/patches/patch-lib_mktime_c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index