summaryrefslogtreecommitdiff
path: root/sci-geosciences/gpscorrelate/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /sci-geosciences/gpscorrelate/files
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'sci-geosciences/gpscorrelate/files')
-rw-r--r--sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch10
-rw-r--r--sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-respect-users-flags.patch30
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch
new file mode 100644
index 000000000000..131e21041898
--- /dev/null
+++ b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch
@@ -0,0 +1,10 @@
+diff --git a/gpscorrelate.desktop b/gpscorrelate.desktop
+index b4db0d6..0885ca4 100644
+--- a/gpscorrelate.desktop
++++ b/gpscorrelate.desktop
+@@ -1,4 +1,4 @@
+-[Desktop Entry]
++[Desktop Entry]
+ Type=Application
+ Version=1.0
+ Name=GPSCorrelate
diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-respect-users-flags.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-respect-users-flags.patch
new file mode 100644
index 000000000000..31519848a7a2
--- /dev/null
+++ b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-respect-users-flags.patch
@@ -0,0 +1,30 @@
+diff --git a/Makefile b/Makefile
+index 7634553..9bfd025 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,12 +2,12 @@
+
+ PACKAGE_VERSION = 2.0
+
+-CC = gcc
+-CXX = g++
++CC ?= gcc
++CXX ?= g++
+ EXEEXT =
+-PKG_CONFIG=pkg-config
+-CFLAGS = -Wall -O2
+-LDFLAGS = -Wall -O2 -lm
++PKG_CONFIG?=pkg-config
++CFLAGS ?= -Wall -O2
++LDFLAGS ?= -Wall -O2
+ GTK = 3
+
+ COBJS = main-command.o unixtime.o gpx-read.o correlate.o exif-gps.o latlong.o
+@@ -20,6 +20,7 @@ CFLAGSINC = `$(PKG_CONFIG) --cflags libxml-2.0 exiv2`
+ GTKFLAGS = `$(PKG_CONFIG) --cflags gtk+-$(GTK).0`
+ LIBS = `$(PKG_CONFIG) --libs libxml-2.0 exiv2`
+ LIBSGUI = `$(PKG_CONFIG) --libs gtk+-$(GTK).0`
++LIBS += -lm -lstdc++
+
+ CFLAGSINC += $(GTKFLAGS)
+