diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2025-05-04 13:48:48 -0500 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2025-05-04 13:48:48 -0500 |
commit | 38b217fd5dc6edc9f8d1d6470ac694fcae7faeaf (patch) | |
tree | 13925aca6148068fdcadc8b31e52357f6a808251 /math/octave-forge-geometry/files/patch-martinez.h | |
parent | math/octave-forge-fl-core: New port. (diff) |
math/octave-forge-geometry: Unbreak.
Add patches.
Diffstat (limited to 'math/octave-forge-geometry/files/patch-martinez.h')
-rw-r--r-- | math/octave-forge-geometry/files/patch-martinez.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/octave-forge-geometry/files/patch-martinez.h b/math/octave-forge-geometry/files/patch-martinez.h new file mode 100644 index 000000000000..aca82d7312ff --- /dev/null +++ b/math/octave-forge-geometry/files/patch-martinez.h @@ -0,0 +1,20 @@ +--- martinez.h.orig 2024-03-16 22:56:04 UTC ++++ martinez.h +@@ -37,7 +37,7 @@ class Martinez { (private) + enum PolygonType { SUBJECT, CLIPPING }; + + struct SweepEvent; +- struct SegmentComp : public binary_function<SweepEvent*, SweepEvent*, bool> { // for sorting edges in the sweep line ++ struct SegmentComp : public __binary_function<SweepEvent*, SweepEvent*, bool> { // for sorting edges in the sweep line + bool operator() (SweepEvent* e1, SweepEvent* e2) const; + }; + +@@ -64,7 +64,7 @@ class Martinez { (private) + + static void print (SweepEvent& e); // This function is intended for debugging purposes + +- struct SweepEventComp : public binary_function<SweepEvent*, SweepEvent*, bool> { // for sortening events ++ struct SweepEventComp : public __binary_function<SweepEvent*, SweepEvent*, bool> { // for sortening events + bool operator() (SweepEvent* e1, SweepEvent* e2) const; + }; + |