summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/xtide/files')
-rw-r--r--sci-geosciences/xtide/files/xtide-2.13.1-Werror.patch21
-rw-r--r--sci-geosciences/xtide/files/xtide-2.13.1-gps-switch.patch88
-rw-r--r--sci-geosciences/xtide/files/xtide-2.13.2-clang.patch33
3 files changed, 0 insertions, 142 deletions
diff --git a/sci-geosciences/xtide/files/xtide-2.13.1-Werror.patch b/sci-geosciences/xtide/files/xtide-2.13.1-Werror.patch
deleted file mode 100644
index fcfd147e51bb..000000000000
--- a/sci-geosciences/xtide/files/xtide-2.13.1-Werror.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 9cf2369051fa887bd5f13bf7df80c51bcf040306
-Author: hasufell <hasufell@gentoo.org>
-Date: Sat Jul 13 13:25:42 2013 +0200
-
- BUILD: remove -Werror
-
- It's discouraged to add non-specific Werror flags.
-
-diff --git a/configure.ac b/configure.ac
-index b366337..86c7569 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -11,7 +11,7 @@ m4_if(2.65, AC_AUTOCONF_VERSION, [m4_fatal([autoconf version 2.65 is broken and
- # FIXME: Update version info on each release
- AC_INIT([XTide], [2.13.1], [dave@flaterco.com])
-
--AM_INIT_AUTOMAKE([-Wall -Werror])
-+AM_INIT_AUTOMAKE([-Wall])
-
- AC_LANG([C++])
- AC_PROG_CXX
diff --git a/sci-geosciences/xtide/files/xtide-2.13.1-gps-switch.patch b/sci-geosciences/xtide/files/xtide-2.13.1-gps-switch.patch
deleted file mode 100644
index 54c6546fe298..000000000000
--- a/sci-geosciences/xtide/files/xtide-2.13.1-gps-switch.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-commit 755677baae16fd8772efd523a25b787ea3fc0772
-Author: hasufell <hasufell@gentoo.org>
-Date: Sat Jul 13 13:26:24 2013 +0200
-
- BUILD: add --with-gps switch
-
- We don't want automagic gps detection, but give control
- to the user.
-
-diff --git a/configure.ac b/configure.ac
-index 86c7569..307def4 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -156,6 +156,12 @@ if test -z "${SKIP_COMPLICATED}"; then
- fi
- CXXFLAGS="${SAVED_CXXFLAGS}"
-
-+AC_ARG_WITH([gps],
-+ [AS_HELP_STRING([--with-gps],
-+ [use libgpsd (default: no)])],
-+ [gps=$withval],
-+ [gps=no])
-+
- # xttpd configs
- AC_ARG_WITH([xttpd-user],
- [AS_HELP_STRING([--with-xttpd-user=user],
-@@ -381,32 +387,35 @@ AC_CHECK_HEADER([Dstr], [AC_CHECK_LIB([dstr], [DstrCompat20070215Check])])
- AM_CONDITIONAL(NO_LIBDSTR, test "$ac_cv_lib_dstr_DstrCompat20070215Check" != "yes")
-
- # libgps is optional; use it if you have a compatible version.
--AC_CHECK_HEADER([gps.h], [AC_CHECK_LIB([gps], [timestamp], [
-- AC_MSG_CHECKING([if libgps is 3.x or newer, compatible version])
-- AC_COMPILE_IFELSE(
-- [AC_LANG_SOURCE([[
--#include <gps.h>
--#if (GPSD_API_MAJOR_VERSION < 5)
--#FAIL
--#endif
--int main (int argc, char **argv) {
-- struct gps_data_t gpsdata;
-- gps_open ("127.0.0.1", "2947", &gpsdata);
-- gps_stream (&gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
-- gps_read (&gpsdata);
-- return (gpsdata.fix.mode >= MODE_2D);
--}
-- ]])],
-- [
-- AC_MSG_RESULT(yes)
-- AC_DEFINE([GPS_GOOD])
-- AC_SUBST([GPSD_LIBS], ["-lgps"])
-- ],
-- [
-- AC_MSG_RESULT(no)
-- ]
-- )
--])])
-+
-+AS_IF([test "x$gps" = "xyes"], [
-+ AC_CHECK_HEADER([gps.h], [AC_CHECK_LIB([gps], [timestamp], [
-+ AC_MSG_CHECKING([if libgps is 3.x or newer, compatible version])
-+ AC_COMPILE_IFELSE(
-+ [AC_LANG_SOURCE([[
-+ #include <gps.h>
-+ #if (GPSD_API_MAJOR_VERSION < 5)
-+ #FAIL
-+ #endif
-+ int main (int argc, char **argv) {
-+ struct gps_data_t gpsdata;
-+ gps_open ("127.0.0.1", "2947", &gpsdata);
-+ gps_stream (&gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
-+ gps_read (&gpsdata);
-+ return (gpsdata.fix.mode >= MODE_2D);
-+ }
-+ ]])],
-+ [
-+ AC_MSG_RESULT(yes)
-+ AC_DEFINE([GPS_GOOD])
-+ AC_SUBST([GPSD_LIBS], ["-lgps"])
-+ ],
-+ [
-+ AC_MSG_RESULT(no)
-+ ]
-+ )
-+ ], [AC_MSG_ERROR([cannot find libgps])])], [AC_MSG_ERROR([cannot find gps.h])])
-+ ])
-
- AC_TYPE_INT8_T
- AC_TYPE_INT16_T
diff --git a/sci-geosciences/xtide/files/xtide-2.13.2-clang.patch b/sci-geosciences/xtide/files/xtide-2.13.2-clang.patch
deleted file mode 100644
index 090aa6c4f7ab..000000000000
--- a/sci-geosciences/xtide/files/xtide-2.13.2-clang.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Mon Aug 17 20:15:03 UTC 2015
-Subject: fix build with clang
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -22,26 +22,6 @@
- AC_SUBST([ADDED_CPPFLAGS])
- AC_SUBST([ADDED_CXXFLAGS])
-
--# Extended initializer lists were added in 4.4.
--AC_MSG_CHECKING([if using a version of GCC older than 4.4])
--AC_PREPROC_IFELSE(
-- [AC_LANG_SOURCE([[
--#ifdef __GNUC__
--#if (__GNUC__ * 100 + __GNUC_MINOR__) < 404
--#FAIL
--#endif
--#endif
-- ]])],
-- [
-- AC_MSG_RESULT(no)
-- ],
-- [
-- AC_MSG_RESULT(yes)
-- AC_MSG_NOTICE([if using GCC, version 4.4 or later is required])
-- AC_MSG_ERROR([GCC too old])
-- ]
--)
--
- # /tmp/ccB6kF2d.s: Assembler messages:
- # /tmp/ccB6kF2d.s:1325: Error: symbol `_ZZN10SafeVectorIdEixEPdS1_jE19__PRETTY_FUNCTION__' is already defined
- # /tmp/ccB6kF2d.s:1330: Error: symbol `_ZZN10SafeVectorI5AngleEixEPS0_S2_jE19__PRETTY_FUNCTION__' is already defined