diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-16 04:05:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-16 04:05:53 +0100 |
commit | d7665b9dae37c3b9a1c72157fdf49c101bd6495e (patch) | |
tree | 6346f889dbe3164a49e89d92ec5914494af4b865 /sci-geosciences/gpscorrelate/files | |
parent | affa75f527bf2512b296482bd14bade15f820d6a (diff) |
gentoo auto-resync : 16:05:2023 - 04:05:52
Diffstat (limited to 'sci-geosciences/gpscorrelate/files')
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-exiv2-0.27.1.patch | 27 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch | 46 |
2 files changed, 0 insertions, 73 deletions
diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-exiv2-0.27.1.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-exiv2-0.27.1.patch deleted file mode 100644 index 16921b72a1f6..000000000000 --- a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-exiv2-0.27.1.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c82aa1e76e3faeaec605df618c87223513efb3b9 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sat, 29 Jun 2019 10:27:24 +0200 -Subject: [PATCH] Fix build with exiv2-0.27.1 - -Use catchall header as recommended by exiv2 upstream. ---- - exif-gps.cpp | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/exif-gps.cpp b/exif-gps.cpp -index fb9f2cb..61b4736 100644 ---- a/exif-gps.cpp -+++ b/exif-gps.cpp -@@ -41,8 +41,7 @@ - #include <unistd.h> - - --#include "exiv2/image.hpp" --#include "exiv2/exif.hpp" -+#include "exiv2/exiv2.hpp" - - #include "gpsstructure.h" - #include "exif-gps.h" --- -2.22.0 - diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch deleted file mode 100644 index 82bd63545dfc..000000000000 --- a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -4,11 +4,15 @@ - - COBJS = main-command.o unixtime.o gpx-read.o correlate.o exif-gps.o - GOBJS = main-gui.o gui.o unixtime.o gpx-read.o correlate.o exif-gps.o --CFLAGS = -Wall --override CFLAGS += $(shell pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2 --OFLAGS = -Wall --override OFLAGS += $(shell pkg-config --libs libxml-2.0 gtk+-2.0) -lm -lexiv2 --prefix = /usr/local -+CFLAGS += $(shell ${PKG_CONFIG} --cflags libxml-2.0) -I/usr/include/exiv2 -+CXXFLAGS += $(shell ${PKG_CONFIG} --cflags libxml-2.0) -I/usr/include/exiv2 -+CLIBS = $(shell ${PKG_CONFIG} --libs libxml-2.0) -lm -lexiv2 -lstdc++ -+ifdef BUILD_GUI -+CXXFLAGS += $(shell ${PKG_CONFIG} --cflags gtk+-2.0) -+CFLAGS += $(shell ${PKG_CONFIG} --cflags gtk+-2.0) -+CLIBS += $(shell ${PKG_CONFIG} --libs gtk+-2.0) -+endif -+prefix ?= /usr/local - bindir = $(prefix)/bin - datadir = $(prefix)/share - mandir = $(datadir)/man -@@ -18,16 +22,16 @@ - all: gpscorrelate gpscorrelate-gui gpscorrelate.1 - - gpscorrelate: $(COBJS) -- g++ $(OFLAGS) -o $@ $(COBJS) -+ $(CXX) $(LDFLAGS) $(COBJS) $(CLIBS) -o $@ - - gpscorrelate-gui: $(GOBJS) -- g++ $(OFLAGS) -o $@ $(GOBJS) -+ $(CXX) $(LDFLAGS) $(GOBJS) $(CLIBS) -o $@ - --.c.o: -- gcc $(CFLAGS) -c -o $*.o $< -+%.o: %.c -+ $(CC) -c -o $@ $< $(CFLAGS) - --.cpp.o: -- g++ $(CFLAGS) -c -o $*.o $< -+%.o: %.cpp $(DEPS) -+ $(CXX) -c -o $@ $< $(CXXFLAGS) - - clean: - rm -f *.o gpscorrelate{,.exe} gpscorrelate-gui{,.exe} |