git: 50bbd9725a8b - main - math/octave-forge-octproj: Prepare for update of graphics/proj to version 8.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Nov 2021 17:36:19 UTC
The branch main has been updated by stephen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=50bbd9725a8b7ee72a0f05a0f220925035b0b4e8
commit 50bbd9725a8b7ee72a0f05a0f220925035b0b4e8
Author: Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2021-11-07 17:35:09 +0000
Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2021-11-07 17:35:09 +0000
math/octave-forge-octproj: Prepare for update of graphics/proj to version 8.
Bump portrevision.
---
math/octave-forge-octproj/Makefile | 2 +-
math/octave-forge-octproj/files/patch-projwrap.h | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/math/octave-forge-octproj/Makefile b/math/octave-forge-octproj/Makefile
index aec52b5f5d78..29bd722d88d0 100644
--- a/math/octave-forge-octproj/Makefile
+++ b/math/octave-forge-octproj/Makefile
@@ -2,7 +2,7 @@
PORTNAME= octave-forge-octproj
PORTVERSION= 2.0.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
diff --git a/math/octave-forge-octproj/files/patch-projwrap.h b/math/octave-forge-octproj/files/patch-projwrap.h
new file mode 100644
index 000000000000..c56dc1f24c25
--- /dev/null
+++ b/math/octave-forge-octproj/files/patch-projwrap.h
@@ -0,0 +1,10 @@
+--- projwrap.h.orig 2020-05-07 16:41:54 UTC
++++ projwrap.h
+@@ -24,6 +24,7 @@ or http://www.gnu.org
+ #include<stdio.h>
+ #include<stdlib.h>
+ #include<math.h>
++#undef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+ #include<proj.h>
+ /******************************************************************************/
+ /******************************************************************************/