diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-06-11 22:43:59 +0200 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2016-06-17 16:54:42 +0200 |
commit | cd5789a45d77f688939d4ad3aadf3c11ff21f13d (patch) | |
tree | 17ddf7bbbf0f3e390d04334910735a0d2dc25695 /sci-libs/gdal | |
parent | sci-libs/gdal: metadata.xml indentation (diff) | |
download | gentoo-cd5789a45d77f688939d4ad3aadf3c11ff21f13d.tar.gz gentoo-cd5789a45d77f688939d4ad3aadf3c11ff21f13d.tar.bz2 gentoo-cd5789a45d77f688939d4ad3aadf3c11ff21f13d.zip |
sci-libs/gdal: Remove unused patches
Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-libs/gdal')
-rw-r--r-- | sci-libs/gdal/files/gdal-1.8.1-zlib_header_fix.patch | 13 | ||||
-rw-r--r-- | sci-libs/gdal/files/gdal-1.9.1-ruby-makefile.patch | 43 |
2 files changed, 0 insertions, 56 deletions
diff --git a/sci-libs/gdal/files/gdal-1.8.1-zlib_header_fix.patch b/sci-libs/gdal/files/gdal-1.8.1-zlib_header_fix.patch deleted file mode 100644 index 04777c8cdbb1..000000000000 --- a/sci-libs/gdal/files/gdal-1.8.1-zlib_header_fix.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- port/cpl_minizip_ioapi.h.orig 2011-09-25 13:38:22.000000000 -0700 -+++ port/cpl_minizip_ioapi.h 2011-09-25 13:39:22.000000000 -0700 -@@ -41,6 +41,10 @@ - #endif - #endif - -+#ifndef OF -+#define OF(x) x -+#endif -+ - #ifdef __cplusplus - extern "C" { - #endif diff --git a/sci-libs/gdal/files/gdal-1.9.1-ruby-makefile.patch b/sci-libs/gdal/files/gdal-1.9.1-ruby-makefile.patch deleted file mode 100644 index b98f68403526..000000000000 --- a/sci-libs/gdal/files/gdal-1.9.1-ruby-makefile.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -urN gdal-1.9.1.old//swig/ruby/RubyMakefile.mk gdal-1.9.1/swig/ruby/RubyMakefile.mk ---- gdal-1.9.1.old//swig/ruby/RubyMakefile.mk 2012-05-25 19:54:12.073974979 +0200 -+++ gdal-1.9.1/swig/ruby/RubyMakefile.mk 2012-05-25 19:56:56.014977833 +0200 -@@ -37,13 +37,13 @@ - - ifeq ("$(shell uname -s)", "Darwin") - RUBY_MODULES=$(RUBY_MODULES_MAC) --LDFLAGS += -Xcompiler -bundle -L$(RUBY_LIB_DIR) --RUBY_LIB := -l$(RUBY_SO_NAME) - else - RUBY_MODULES=$(RUBY_MODULES_LIN) --LDFLAGS += -Xcompiler -shared -L$(RUBY_LIB_DIR) --RUBY_LIB := -l$(RUBY_SO_NAME) - endif -+LDFLAGS += -fPIC -DPIC -shared -L$(RUBY_LIB_DIR) -+CFLAGS += -fPIC -DPIC -+CXXFLAGS += -fPIC -DPIC -+RUBY_LIB := -l$(RUBY_SO_NAME) - - build: $(RUBY_MODULES) - -@@ -59,7 +59,7 @@ - $(INSTALL_DIR): - mkdir -p $(DESTDIR)$(INSTALL_DIR) - --install: $(INSTALL_DIR) -+install: $(INSTALL_DIR) $(RUBY_MODULES) - for i in $(RUBY_MODULES) ; do $(INSTALL) $$i $(DESTDIR)$(INSTALL_DIR) ; done - - $(RUBY_MODULES_MAC): %.bundle: %_wrap.o -@@ -69,10 +69,10 @@ - $(LD) $(LDFLAGS) $(LIBS) $(GDAL_SLIB_LINK) $(RUBY_LIB) $< -o $@ - - %.o: %.cpp -- $(CXX) $(CFLAGS) $(GDAL_INCLUDE) $(RUBY_INCLUDE) -c $< -+ $(CXX) $(CXXFLAGS) $(GDAL_INCLUDE) $(RUBY_INCLUDE) -c $< - - %.o: %.cxx -- $(CXX) $(CFLAGS) $(GDAL_INCLUDE) $(RUBY_INCLUDE) -c $< -+ $(CXX) $(CXXFLAGS) $(GDAL_INCLUDE) $(RUBY_INCLUDE) -c $< - - %.o: %.c - $(CC) $(CFLAGS) $(GDAL_INCLUDE) $(RUBY_INCLUDE) -c $< |