aboutsummaryrefslogtreecommitdiff
path: root/ports/bigint/fix-osx-usage.patch
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2020-08-28 16:31:27 -0700
committerBilly Robert O'Neal III <bion@microsoft.com>2020-08-28 16:31:27 -0700
commitc828f3634723996e6031fb2e3c3d1ac3f4de0cad (patch)
treeb3fe00a043d5b9351868a0d1f8aead41bb52d2be /ports/bigint/fix-osx-usage.patch
parent6635a2fa596ca457565eebc2a45664309cd24d77 (diff)
parentf3f329a048eaff759c1992c458f2e12351486bc7 (diff)
downloadvcpkg-update-geos-381.tar.gz
vcpkg-update-geos-381.zip
Merge remote-tracking branch 'origin/master' into HEADupdate-geos-381
Diffstat (limited to 'ports/bigint/fix-osx-usage.patch')
-rw-r--r--ports/bigint/fix-osx-usage.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/ports/bigint/fix-osx-usage.patch b/ports/bigint/fix-osx-usage.patch
new file mode 100644
index 000000000..f387d7b29
--- /dev/null
+++ b/ports/bigint/fix-osx-usage.patch
@@ -0,0 +1,39 @@
+diff --git a/BigUnsigned.hh b/BigUnsigned.hh
+index adf1c00..9228753 100644
+--- a/BigUnsigned.hh
++++ b/BigUnsigned.hh
+@@ -20,7 +20,7 @@ public:
+ typedef unsigned long Blk;
+
+ typedef NumberlikeArray<Blk>::Index Index;
+- NumberlikeArray<Blk>::N;
++ using NumberlikeArray<Blk>::N;
+
+ protected:
+ // Creates a BigUnsigned with a capacity; for internal use.
+@@ -84,8 +84,8 @@ public:
+ // BIT/BLOCK ACCESSORS
+
+ // Expose these from NumberlikeArray directly.
+- NumberlikeArray<Blk>::getCapacity;
+- NumberlikeArray<Blk>::getLength;
++ using NumberlikeArray<Blk>::getCapacity;
++ using NumberlikeArray<Blk>::getLength;
+
+ /* Returns the requested block, or 0 if it is beyond the length (as if
+ * the number had 0s infinitely to the left). */
+diff --git a/BigUnsignedInABase.hh b/BigUnsignedInABase.hh
+index 8f9bdce..0ea89c6 100644
+--- a/BigUnsignedInABase.hh
++++ b/BigUnsignedInABase.hh
+@@ -100,8 +100,8 @@ public:
+ Base getBase() const { return base; }
+
+ // Expose these from NumberlikeArray directly.
+- NumberlikeArray<Digit>::getCapacity;
+- NumberlikeArray<Digit>::getLength;
++ using NumberlikeArray<Digit>::getCapacity;
++ using NumberlikeArray<Digit>::getLength;
+
+ /* Returns the requested digit, or 0 if it is beyond the length (as if
+ * the number had 0s infinitely to the left). */