gdal/gdal_tirpcinc.patch
2020-06-30 11:53:07 +02:00

25 lines
1.1 KiB
Diff

diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile
--- gdal-3.1.1-fedora/frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200
+++ gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile 2020-06-30 11:51:59.970548884 +0200
@@ -4,7 +4,7 @@ include ../../GDALmake.opt
OBJ = dodsdataset2.o
-CPPFLAGS := $(CPPFLAGS) $(DODS_INC)
+CPPFLAGS := $(CPPFLAGS) $(DODS_INC) -I/usr/include/tirpc
default: $(OBJ:.o=.$(OBJ_EXT))
diff -rupN --no-dereference gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile
--- gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200
+++ gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-30 11:51:59.993548869 +0200
@@ -5,7 +5,7 @@ include ../../../GDALmake.opt
OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \
ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o
-CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) -DDO_NOT_USE_DEBUG_BOOL
+CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc
default: $(O_OBJ:.o=.$(OBJ_EXT))