[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/63: gnu: dico: Patch 'idxgcide' bug.
From: |
Mark H. Weaver |
Subject: |
37/63: gnu: dico: Patch 'idxgcide' bug. |
Date: |
Thu, 4 Aug 2016 07:44:57 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit 212163f8d5d51f436490d47dc37afd5052560197
Author: Ludovic Courtès <address@hidden>
Date: Thu Jul 28 14:18:59 2016 +0200
gnu: dico: Patch 'idxgcide' bug.
* gnu/packages/patches/dico-idxgcide-bug.patch: New file.
* gnu/packages/dico.scm (dico)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
---
gnu/local.mk | 1 +
gnu/packages/dico.scm | 5 +++--
gnu/packages/patches/dico-idxgcide-bug.patch | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 1580bf1..91e9070 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -471,6 +471,7 @@ dist_patch_DATA =
\
%D%/packages/patches/dealii-p4est-interface.patch \
%D%/packages/patches/devil-CVE-2009-3994.patch \
%D%/packages/patches/devil-fix-libpng.patch \
+ %D%/packages/patches/dico-idxgcide-bug.patch \
%D%/packages/patches/dico-libtool-deterministic.patch \
%D%/packages/patches/diffutils-gets-undeclared.patch \
%D%/packages/patches/dfu-programmer-fix-libusb.patch \
diff --git a/gnu/packages/dico.scm b/gnu/packages/dico.scm
index 780d8ef..87062f9 100644
--- a/gnu/packages/dico.scm
+++ b/gnu/packages/dico.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015, 2016 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -44,7 +44,8 @@
(base32
"04pjks075x20d19l623mj50bw64g8i41s63z4kzzqcbg9qg96x64"))
(patches (search-patches "cpio-gets-undeclared.patch"
- "dico-libtool-deterministic.patch"))))
+ "dico-libtool-deterministic.patch"
+ "dico-idxgcide-bug.patch"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list (string-append "--with-guile-site-dir=" %output
diff --git a/gnu/packages/patches/dico-idxgcide-bug.patch
b/gnu/packages/patches/dico-idxgcide-bug.patch
new file mode 100644
index 0000000..28cc8a6
--- /dev/null
+++ b/gnu/packages/patches/dico-idxgcide-bug.patch
@@ -0,0 +1,21 @@
+Reported at <http://mail.gnu.org.ua/archives/bug-dico/2016-07/msg00000.html>.
+Patch the .c file to avoid depending on Flex.
+
+commit 4599abbda3b5979367138ea098e435c919fe93fc
+Author: Sergey Poznyakoff <address@hidden>
+Date: Thu Jul 28 14:09:58 2016 +0300
+
+ Bugfix
+
+ * modules/gcide/idxgcide.l (main): Initialize ipg_header.
+
+--- dico-2.2/modules/gcide/idxgcide.c 2016-07-28 14:15:07.823587004 +0200
++++ dico-2.2/modules/gcide/idxgcide.c 2016-07-28 14:15:09.435600549 +0200
+@@ -2497,6 +2497,7 @@ main(int argc, char **argv)
+ dico_log(L_ERR, 0, _("not enough memory"));
+ exit(EX_UNAVAILABLE);
+ }
++ idx_page->ipg_header.hdr.phdr_numentries = 0;
+ idx_page->ipg_header.hdr.phdr_text_offset = idx_header.ihdr_pagesize / 2;
+
+ idx_header.ihdr_maxpageref = idx_header.ihdr_pagesize / 2 /
- 27/63: gnu: r-summarizedexperiment: Update to 1.2.3., (continued)
- 27/63: gnu: r-summarizedexperiment: Update to 1.2.3., Mark H. Weaver, 2016/08/04
- 10/63: Merge remote-tracking branch 'origin/master' into core-updates, Mark H. Weaver, 2016/08/04
- 25/63: gnu: r-rtracklayer: Update to 1.32.2., Mark H. Weaver, 2016/08/04
- 34/63: gnu: r-iranges: Update to 2.6.1., Mark H. Weaver, 2016/08/04
- 33/63: gnu: r-limma: Update to 3.28.17., Mark H. Weaver, 2016/08/04
- 47/63: gnu: wine: Update to 1.9.15., Mark H. Weaver, 2016/08/04
- 55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror., Mark H. Weaver, 2016/08/04
- 59/63: gnu: unison: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 41/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 39/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 37/63: gnu: dico: Patch 'idxgcide' bug.,
Mark H. Weaver <=
- 49/63: gnu: dealii: Unregister deleted patch., Mark H. Weaver, 2016/08/04
- 57/63: gnu: ecl: Use "kernel-headers" instead of "linux-headers" to designate input., Mark H. Weaver, 2016/08/04
- 56/63: tests: 'guix-environment-container.sh' works when run from a tmpfs., Mark H. Weaver, 2016/08/04
- 62/63: build: Set XDG_CACHE_HOME to avoid loading stale .go files., Mark H. Weaver, 2016/08/04
- 63/63: install: Add nvi to the image., Mark H. Weaver, 2016/08/04
- 53/63: gnu: rapicorn: Add patch to handle isnan., Mark H. Weaver, 2016/08/04
- 40/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 61/63: Update NEWS., Mark H. Weaver, 2016/08/04
- 44/63: gnu: glibc-locales: Fix build., Mark H. Weaver, 2016/08/04