Mon Sep 19 05:33:15 2016 UTC ()
Updated time/dateutils to 0.4.0
-------------------------------
v0.4.0
Summary: v0.4.0 of dateutils
This is a bugfix release.

Bugfixes:
  - document %g/%G format specifiers
  - bug/42, accept NUL characters in input
  - bug/45, correctly display Gregorian and ISO week dates in one line
  - bug/46, adhere to ISO group's official formatting of week dates
  - bug/47, allow rounding of Epoch based timestamps
  - bug/48, avoid crash for void input to strptime(3)

Features:
  - datetest supports --isvalid to conditionalise on date/time parsing
  - all tools support --from-locale to parse localised input
  - tools with output formatting support --locale to format output according to
    locale

v0.3.5
Summary: v0.3.5 of dateutils
This is a bugfix release.

Bugfixes:
  - bug/40, distinguish between numerals-only dates and durations
  - tests will succeed independent of current date

See info page examples and/or README.

v0.3.4
Summary: v0.3.4 of dateutils
This is a bugfix release.

Bugfixes:
  - bug/39, MacOSX endianness detection
  - bug/38, ddiff day-only durations on date/times
  - dadd +2m bug is fixed, regression dtadd.049.clit/dtadd.050.clit

v0.3.3
Summary: v0.3.3 of dateutils
This is a feature release.

Features:
  - to clarify purpose and avoid name clashes prefix binaries with date- This
    results in: dateadd dateconv datediff dategrep dateround dateseq datesort
    datetest and datezone
  - provide compatibilty through configure switch -with-old-names
  - provide single digit years through %_y
  - allow rounding of ISO-week dates (ywd) to week numbers

Bugfixes:
  - dashes behind a date do not count as tz indicator
  - UTC/TAI/GPS special coordinated zones work on systems without leap second
    support

v0.3.2
Summary: v0.3.2 of dateutils
This is a bugfix release.

Bugfixes:
  - out of range minutes will be discarded
  - bug 30 (malicious input crashes dconv) has been fixed

Features:
  - military midnight stamps are supported (T24:00:00)
  - 8601 ordinal dates (year + doy) are recognised directly (-f yd)
  - strptime(1) can behave in a locale-dependent way

-------------------------------------------------------------------------
(pkgsrc-changes)
 - recover the two patches for 0.3.1


(mef)
diff -r1.7 -r1.8 pkgsrc/time/dateutils/Makefile
diff -r1.7 -r1.8 pkgsrc/time/dateutils/distinfo
diff -r1.3 -r1.4 pkgsrc/time/dateutils/PLIST
diff -r0 -r1.3 pkgsrc/time/dateutils/patches/patch-configure
diff -r0 -r1.3 pkgsrc/time/dateutils/patches/patch-m4_sxe-compiler.m4

cvs diff -r1.7 -r1.8 pkgsrc/time/dateutils/Makefile (expand / switch to unified diff)

--- pkgsrc/time/dateutils/Makefile 2016/09/19 04:47:16 1.7
+++ pkgsrc/time/dateutils/Makefile 2016/09/19 05:33:15 1.8
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.7 2016/09/19 04:47:16 mef Exp $ 1# $NetBSD: Makefile,v 1.8 2016/09/19 05:33:15 mef Exp $
2 2
3DISTNAME= dateutils-0.3.1 3DISTNAME= dateutils-0.4.0
4PKGREVISION= 2 
5CATEGORIES= time 4CATEGORIES= time
6MASTER_SITES= https://github.com/hroptatyr/dateutils/releases/download/v0.3.1/ 5MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/}
7MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/ 6MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.fresse.org/dateutils/ 10HOMEPAGE= http://www.fresse.org/dateutils/
12COMMENT= Command line tools for working with dates 11COMMENT= Command line tools for working with dates
13LICENSE= modified-bsd 12LICENSE= modified-bsd
14 13
15WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
16GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
17USE_TOOLS+= pkg-config gmake makeinfo bison flex 16USE_TOOLS+= pkg-config gmake makeinfo bison flex
18USE_LIBTOOL= yes 17USE_LIBTOOL= yes
19MAKE_JOBS_SAFE= no 18MAKE_JOBS_SAFE= no

cvs diff -r1.7 -r1.8 pkgsrc/time/dateutils/distinfo (expand / switch to unified diff)

--- pkgsrc/time/dateutils/distinfo 2016/09/19 04:47:16 1.7
+++ pkgsrc/time/dateutils/distinfo 2016/09/19 05:33:15 1.8
@@ -1,8 +1,10 @@ @@ -1,8 +1,10 @@
1$NetBSD: distinfo,v 1.7 2016/09/19 04:47:16 mef Exp $ 1$NetBSD: distinfo,v 1.8 2016/09/19 05:33:15 mef Exp $
2 2
3SHA1 (dateutils-0.3.1.tar.xz) = 07884be555998aa649733401e65f073ada89ac08 3SHA1 (dateutils-0.4.0.tar.xz) = 7f3ec03b68464f37ea2eb661b569b3352ed66740
4RMD160 (dateutils-0.3.1.tar.xz) = a45ed9fb1c5d5107883fb3cfdf3f43d238e0497c 4RMD160 (dateutils-0.4.0.tar.xz) = b1efb3742d47ae4d3f2cddb0df88480a40e0d82b
5SHA512 (dateutils-0.3.1.tar.xz) = cbf691b0ef8c815159d262796bb5e7292547794610efb99772a51c8bd20e8f23e36be28c6c8a0ffa04445bf7b13bc8fe58bc44a1ba356e1b224b631d561422d9 5SHA512 (dateutils-0.4.0.tar.xz) = 06aeed8cc2e8bd22584d74fccd6a9739fbed191a01d5dfb5bab48d5b059dce01d48f8b5f4b6e927e26c1ac2143d7aeed1f20f0415d1275d172f2584ef9d776a9
6Size (dateutils-0.3.1.tar.xz) = 586848 bytes 6Size (dateutils-0.4.0.tar.xz) = 608364 bytes
7SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f 7SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
8SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a 8SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
 9SHA1 (patch-configure) = abb72e6c1ff9e9aca1bd20ee57b779667c8ecc29
 10SHA1 (patch-m4_sxe-compiler.m4) = 8df17f891ba18ff54555e302388f0fe184fa33bc

cvs diff -r1.3 -r1.4 pkgsrc/time/dateutils/PLIST (expand / switch to unified diff)

--- pkgsrc/time/dateutils/PLIST 2014/12/16 01:51:35 1.3
+++ pkgsrc/time/dateutils/PLIST 2016/09/19 05:33:15 1.4
@@ -1,15 +1,24 @@ @@ -1,15 +1,24 @@
1@comment $NetBSD: PLIST,v 1.3 2014/12/16 01:51:35 mef Exp $ 1@comment $NetBSD: PLIST,v 1.4 2016/09/19 05:33:15 mef Exp $
2bin/dadd 2bin/dadd
 3bin/dateadd
 4bin/dateconv
 5bin/datediff
 6bin/dategrep
 7bin/dateround
 8bin/dateseq
 9bin/datesort
 10bin/datetest
 11bin/datezone
3bin/dconv 12bin/dconv
4bin/ddiff 13bin/ddiff
5bin/dgrep 14bin/dgrep
6bin/dround 15bin/dround
7bin/dseq 16bin/dseq
8bin/dsort 17bin/dsort
9bin/dtest 18bin/dtest
10bin/dzone 19bin/dzone
11bin/strptime 20bin/strptime
12include/dateutils/boops.h 21include/dateutils/boops.h
13include/dateutils/date-core-strpf.h 22include/dateutils/date-core-strpf.h
14include/dateutils/date-core.h 23include/dateutils/date-core.h
15include/dateutils/dt-core-strpf.h 24include/dateutils/dt-core-strpf.h
@@ -21,27 +30,38 @@ include/dateutils/leaps.h @@ -21,27 +30,38 @@ include/dateutils/leaps.h
21include/dateutils/leapseconds.def 30include/dateutils/leapseconds.def
22include/dateutils/leapseconds.h 31include/dateutils/leapseconds.h
23include/dateutils/nifty.h 32include/dateutils/nifty.h
24include/dateutils/strops.h 33include/dateutils/strops.h
25include/dateutils/time-core-strpf.h 34include/dateutils/time-core-strpf.h
26include/dateutils/time-core.h 35include/dateutils/time-core.h
27include/dateutils/token.h 36include/dateutils/token.h
28include/dateutils/tzmap.h 37include/dateutils/tzmap.h
29include/dateutils/tzraw.h 38include/dateutils/tzraw.h
30include/dateutils/version.h 39include/dateutils/version.h
31info/dateutils.info 40info/dateutils.info
32lib/libdut.a 41lib/libdut.a
33man/man1/dadd.1 42man/man1/dadd.1
 43man/man1/dateadd.1
 44man/man1/dateconv.1
 45man/man1/datediff.1
 46man/man1/dategrep.1
 47man/man1/dateround.1
 48man/man1/dateseq.1
 49man/man1/datesort.1
 50man/man1/datetest.1
34man/man1/dateutils.1 51man/man1/dateutils.1
 52man/man1/datezone.1
35man/man1/dconv.1 53man/man1/dconv.1
36man/man1/ddiff.1 54man/man1/ddiff.1
37man/man1/dgrep.1 55man/man1/dgrep.1
38man/man1/dround.1 56man/man1/dround.1
39man/man1/dseq.1 57man/man1/dseq.1
40man/man1/dsort.1 58man/man1/dsort.1
41man/man1/dtest.1 59man/man1/dtest.1
42man/man1/dzone.1 60man/man1/dzone.1
43man/man1/strptime.1 61man/man1/strptime.1
44share/dateutils/iata.tzmcc 62share/dateutils/iata.tzmcc
45share/dateutils/icao.tzmcc 63share/dateutils/icao.tzmcc
 64share/dateutils/locale
46share/dateutils/mic.tzmcc 65share/dateutils/mic.tzmcc
 66share/doc/dateutils/LICENSE
47share/doc/dateutils/README.md 67share/doc/dateutils/README.md

File Added: pkgsrc/time/dateutils/patches/Attic/patch-configure
$NetBSD: patch-configure,v 1.3 2016/09/19 05:33:15 mef Exp $

Don't create broken or non-portable binaries. This code isn't even
performance critical.

--- configure~	2016-05-20 17:26:30.000000000 +0900
+++ configure	2016-09-19 14:20:56.000000000 +0900
@@ -7735,381 +7735,6 @@ $as_echo_n "checking for preferred warni
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${warnflags}" >&5
 $as_echo "${warnflags}" >&6; }
 
-
-
-
-	case " ${CFLAGS} ${EXTRA_CFLAGS} " in
-	(*" -O"[0-9]" "*)
-		;;
-	(*" -Os "*)
-		;;
-	(*" -Og "*)
-		;;
-	(*" -Ofast "*)
-		;;
-	(*" -O "*)
-		;;
-	(*)
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O3" >&5
-$as_echo_n "checking whether C compiler accepts -O3... " >&6; }
-
-	## store werror status, then turn -Werror on
-	save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
-	if ${sxe_cv_c_flag__O3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  		sxe_save_FLAGS="${CFLAGS}"
-		CFLAGS="-O3"
-		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval sxe_cv_c_flag__O3="yes"
-else
-  eval sxe_cv_c_flag__O3="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-		CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
-	eval sxe_check_flag=$sxe_cv_c_flag__O3
-	ac_c_werror_flag="${save_ac_c_werror_flag}"
-
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
-	if test "${sxe_check_flag}" = "yes"; then
-		:
-
-			optiflags="${optiflags} -O3"
-	else
-		:
-
-	fi
-
-		;;
-	esac
-
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo" >&5
-$as_echo_n "checking whether C compiler accepts -ipo... " >&6; }
-
-	## store werror status, then turn -Werror on
-	save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
-	if ${sxe_cv_c_flag__ipo+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  		sxe_save_FLAGS="${CFLAGS}"
-		CFLAGS="-ipo"
-		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval sxe_cv_c_flag__ipo="yes"
-else
-  eval sxe_cv_c_flag__ipo="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-		CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
-	eval sxe_check_flag=$sxe_cv_c_flag__ipo
-	ac_c_werror_flag="${save_ac_c_werror_flag}"
-
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
-	if test "${sxe_check_flag}" = "yes"; then
-		:
-
-		optiflags="${optiflags} -ipo"
-
-		if test -n "$ac_tool_prefix"; then
-  for ac_prog in xiar ar
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$AR"; then
-  ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$AR" && break
-  done
-fi
-if test -z "$AR"; then
-  ac_ct_AR=$AR
-  for ac_prog in xiar ar
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AR+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_AR"; then
-  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_AR="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_AR" && break
-done
-
-  if test "x$ac_ct_AR" = x; then
-    AR="false"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    AR=$ac_ct_AR
-  fi
-fi
-
-		if test -n "$ac_tool_prefix"; then
-  for ac_prog in xild ld
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_LD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LD"; then
-  ac_cv_prog_LD="$LD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-LD=$ac_cv_prog_LD
-if test -n "$LD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
-$as_echo "$LD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$LD" && break
-  done
-fi
-if test -z "$LD"; then
-  ac_ct_LD=$LD
-  for ac_prog in xild ld
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_LD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_LD"; then
-  ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_LD="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_LD=$ac_cv_prog_ac_ct_LD
-if test -n "$ac_ct_LD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
-$as_echo "$ac_ct_LD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_LD" && break
-done
-
-  if test "x$ac_ct_LD" = x; then
-    LD="false"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    LD=$ac_ct_LD
-  fi
-fi
-
-
-		## fiddle with xiar and xild params, kick ansi aliasing warnings
-		if test "${ac_cv_prog_ac_ct_AR}" = "xiar"; then
-			AR="${AR} -qdiag-disable=2102"
-		fi
-		if test "${ac_cv_prog_ac_ct_LD}" = "xild"; then
-			LD="${LD} -qdiag-disable=2102"
-		fi
-
-	else
-		:
-
-	fi
-
-
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-prec-div" >&5
-$as_echo_n "checking whether C compiler accepts -no-prec-div... " >&6; }
-
-	## store werror status, then turn -Werror on
-	save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
-	if ${sxe_cv_c_flag__no_prec_div+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  		sxe_save_FLAGS="${CFLAGS}"
-		CFLAGS="-no-prec-div"
-		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval sxe_cv_c_flag__no_prec_div="yes"
-else
-  eval sxe_cv_c_flag__no_prec_div="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-		CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
-	eval sxe_check_flag=$sxe_cv_c_flag__no_prec_div
-	ac_c_werror_flag="${save_ac_c_werror_flag}"
-
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
-	if test "${sxe_check_flag}" = "yes"; then
-		:
-
-		optiflags="${optiflags} -no-prec-div"
-	else
-		:
-
-	fi
-
-
-
 	SXE_CFLAGS="${SXE_CFLAGS} ${debugflags} ${optiflags} ${warnflags}"
 
 		## default flags for needed features

File Added: pkgsrc/time/dateutils/patches/patch-m4_sxe-compiler.m4
$NetBSD: patch-m4_sxe-compiler.m4,v 1.3 2016/09/19 05:33:15 mef Exp $

Don't create broken or non-portable binaries. This code isn't even
performance critical.

--- m4/sxe-compiler.m4~	2016-05-20 17:25:12.000000000 +0900
+++ m4/sxe-compiler.m4	2016-09-19 14:25:55.000000000 +0900
@@ -501,7 +501,6 @@ dnl + native[=yes|no]  Emit the --enable
 	## Use either command line flag, environment var, or autodetection
 	SXE_DEBUGFLAGS
 	SXE_WARNFLAGS
-	SXE_OPTIFLAGS
 	m4_foreach_w([opt], [$1], [dnl
 		m4_case(opt,
 			[native], [SXE_CC_NATIVE],