mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
ChangeLog: http://www.calvina.de/pstoedit/changelog.htm * Bug fix. pstoedit did not find older versions of GhostScript under Windows. * Support for mawk in creation of pstoedit.ph header file. mawk is often used on build servers in place of gawk. * Some small update to comply with some Debian requirements. * Added experimental support for filled objects in DXF output using the HATCH element of DXF. * Fixed a problem when running pstoedit with output to standard output instead of a file. * Adapted to new versioning scheme of GhostScript. * Additional backend for pcb-rnd contributed by Erich Heinzle. * Some additional options in WEMF driver. * Better handling of bounding box in EMF output. Contributed by Samuel Thibault. * Better handling of metric option in fig driver. * Fix a compile problem under certain MacOS versions. * Various changes needed for interworking with newer versions of GhostScript. * Some code modernization based on feedback from VS-2019, Clang Powertools and PVS Studio. * Added support for dotted and dashed lines to the DXF backend. * Reduce redundancy in help documents. * Porting to Windows CE by Rohan Shetty. * Made pstoedit compatible with ghostscript 9.27. * Fix a bug occurring with large scale factors. * Include full documentation by default and provide an option to generate documentation locally which then fit best to the local installation. * Started to apply improvements proposed by clang-tidy. * Included a bunch of patches from Debian for easier maintenance of the package plus correction to some spelling issues. Thanks to Barak A. Pearlmutter. * added a -vl option to specify a verbosity level. Using the older -v enables level 1. For more use -vl 2. * included a patch contributed by OpenSuse folks fixing a problem in finding the plugins under certain conditions. * included a patch contributed by Martin Madsen related to checking non existing directories when looking for plugins. * added support for pdfwithshow and pdfawidthshow special operators when reading PDF files. * Scott Pakin updated the cfdg driver to support the current version of cfdg. * changes needed for newer versions of GhostScript. * some code cleanup. pstoedit passed all Coverity checks. PR: 270984 Reported by: eric@camachat.org
15 lines
228 B
C++
15 lines
228 B
C++
--- src/drvwmf.cpp.orig 2021-04-17 18:52:47 UTC
|
|
+++ src/drvwmf.cpp
|
|
@@ -30,6 +30,12 @@
|
|
#include I_stdlib
|
|
|
|
#include <math.h>
|
|
+#ifdef max
|
|
+#undef max
|
|
+#endif
|
|
+#ifdef min
|
|
+#undef min
|
|
+#endif
|
|
#include <algorithm>
|
|
|
|
#ifndef M_PI
|