1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

math/octave-forge-octproj: Do commit 50bbd9725a properly.

Edit Makefile instead of undefining ACCEPT_USE_OF_DEPRECATED_PROJ_API_H.
This commit is contained in:
Stephen Montgomery-Smith 2021-11-07 13:48:47 -06:00
parent bea5fd858b
commit a277131e9b
2 changed files with 0 additions and 12 deletions

View File

@ -21,8 +21,6 @@ WRKSRC= ${WRKDIR}/${OCTSRC}/src
USES+= compiler:gcc-c++11-lib
CPPFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-patch:

View File

@ -1,10 +0,0 @@
--- 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>
/******************************************************************************/
/******************************************************************************/