1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Make compatible with PROJ 6.0
Author: José Luis García Pallero <jgpallero@gmail.com>
Origin: upstream, https://bitbucket.org/jgpallero/octproj/commits/f9693361ba72f319f6927169d40536045cd0da9b
Bug-Debian: https://bugs.debian.org/931914
Forwarded: not-needed
Reviewed-By: Rafael Laboissiere <rafael@debian.org>
Last-Update: 2019-08-25
--- octave-octproj-1.1.5.orig/src/Makefile
+++ octave-octproj-1.1.5/src/Makefile
@@ -8,8 +8,10 @@ FLAGSCOMO=-O2 -funroll-loops -fno-common -fshort-enums
#Flags for C
CFLAGS=-std=c99 -pedantic $(FLAGSCOMW) -Wconversion -Wmissing-prototypes
CFLAGS+=-Wstrict-prototypes -Wnested-externs $(FLAGSCOMO)
+CFLAGS+=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
#Flags for C++
CXXFLAGS=$(FLAGSCOMW) $(FLAGSCOMO)
+CXXFLAGS+=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
#Flags for the linker
LDFLAGS=-lproj
#Export flags for compilers and linker
|