aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-11-11 07:11:09 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-11-11 07:13:01 +0100
commit7a9283a619ac60771abcffdca45d027ff9703c2a (patch)
tree1f26a8357c8c7c1ebb05e88b9d27897923fc6514 /gnu/packages/patches
parent074ff555abaf587aec927bc897ccde90d7ecafac (diff)
downloadguix-7a9283a619ac60771abcffdca45d027ff9703c2a.tar
guix-7a9283a619ac60771abcffdca45d027ff9703c2a.tar.gz
gnu: libetonyek: Update to 0.1.7.
* gnu/packages/libreoffice.scm (libetonyek): Update to 0.1.7. [source](patches): Remove. [arguments]<#:phases>: Remove. [native-inputs]: Remove AUTOCONF and AUTOMAKE. * gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch74
1 files changed, 0 insertions, 74 deletions
diff --git a/gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch b/gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch
deleted file mode 100644
index 1ede82ad39..0000000000
--- a/gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Allow building with mdds 1.2.
-
-Patch taken from upstream commit f6d14b3b510de5c50e45c98fe812a73ba00f3def
-see https://gerrit.libreoffice.org/gitweb?p=libetonyek.git;a=commitdiff;h=f6d14b3b510de5c50e45c98fe812a73ba00f3def
-
-diff --git a/configure.ac b/configure.ac
-index ca4bb07..bb946eb 100644 (file)
---- a/configure.ac
-+++ b/configure.ac
-@@ -24,7 +24,7 @@ AC_LANG([C++])
- # Configure options
- # =================
- AC_ARG_WITH([mdds],
-- AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
-+ AS_HELP_STRING([--with-mdds=1.2|1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
- [], [with_mdds="1.0"])
-
- # ===========================
-@@ -47,7 +47,7 @@ AC_PROG_SED
-
- AM_MISSING_PROG([GPERF], [gperf])
-
--AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])])
-+AS_IF([test "$with_mdds" = "1.0" -o "$with_mdds" = "1.2" ], [AX_CXX_COMPILE_STDCXX_11([noext])])
-
- # ===============
- # Find librevenge
-@@ -138,25 +138,27 @@ AC_SUBST([GLM_CFLAGS])
- # =========
- # Find mdds
- # =========
--AS_IF([test "$with_mdds" = "1.0"], [
-- PKG_CHECK_MODULES([MDDS], [mdds-1.0])
--], [
-- PKG_CHECK_MODULES([MDDS], [mdds])
-- AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])
-- old_CPPFLAGS="$CPPFLAGS"
-- CPPFLAGS="$MDDS_CFLAGS $CPPFLAGS"
-- AC_COMPILE_IFELSE([AC_LANG_SOURCE([
-- #include <mdds/flat_segment_tree.hpp>
-- struct Value {};
-- mdds::flat_segment_tree<int, Value> tree(0, 4, Value());
-- ])], [
-- AC_MSG_RESULT([yes])
-- ], [
-- AC_MSG_RESULT([no])
-- AC_MSG_ERROR([please install mdds >= 0.12.1])
-- ])
-- CPPFLAGS="$old_CPPFLAGS"
--])
-+AS_CASE(["$with_mdds"],
-+ ["1.2"], [PKG_CHECK_MODULES([MDDS], [mdds-1.2])],
-+ ["1.0"], [PKG_CHECK_MODULES([MDDS], [mdds-1.0])],
-+ [
-+ PKG_CHECK_MODULES([MDDS], [mdds])
-+ AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])
-+ old_CPPFLAGS="$CPPFLAGS"
-+ CPPFLAGS="$MDDS_CFLAGS $CPPFLAGS"
-+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
-+ #include <mdds/flat_segment_tree.hpp>
-+ struct Value {};
-+ mdds::flat_segment_tree<int, Value> tree(0, 4, Value());
-+ ])], [
-+ AC_MSG_RESULT([yes])
-+ ], [
-+ AC_MSG_RESULT([no])
-+ AC_MSG_ERROR([please install mdds >= 0.12.1])
-+ ])
-+ CPPFLAGS="$old_CPPFLAGS"
-+ ]
-+)
-
- # =================================
- # Libtool/Version Makefile settings