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:
parent
bea5fd858b
commit
a277131e9b
@ -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:
|
||||
|
@ -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>
|
||||
/******************************************************************************/
|
||||
/******************************************************************************/
|
Loading…
Reference in New Issue
Block a user