public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-misc/htdig/files/, www-misc/htdig/
@ 2017-06-02  7:04 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-06-02  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     ac2efeffdf8c5d83a44a8ae384f936b96a6e9268
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Sat May 27 02:25:49 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jun  2 06:56:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2efeff

www-misc/htdig: Fix building with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=594662
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4774

 www-misc/htdig/files/htdig-3.2.0_beta6-gcc6.patch | 65 +++++++++++++++++++++++
 www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild        |  1 +
 2 files changed, 66 insertions(+)

diff --git a/www-misc/htdig/files/htdig-3.2.0_beta6-gcc6.patch b/www-misc/htdig/files/htdig-3.2.0_beta6-gcc6.patch
new file mode 100644
index 00000000000..095ec92f2e3
--- /dev/null
+++ b/www-misc/htdig/files/htdig-3.2.0_beta6-gcc6.patch
@@ -0,0 +1,65 @@
+--- a/htfuzzy/Accents.cc
++++ b/htfuzzy/Accents.cc
+@@ -44,38 +44,38 @@
+ `--------------------------------------------------*/
+   
+ static char MinusculeISOLAT1[256] = {
+-     0,   1,   2,   3,   4,   5,   6,   7,
+-     8,   9,  10,  11,  12,  13,  14,  15,
+-    16,  17,  18,  19,  20,  21,  22,  23,
+-    24,  25,  26,  27,  28,  29,  30,  31,
+-    32,  33,  34,  35,  36,  37,  38,  39,
+-    40,  41,  42,  43,  44,  45,  46,  47,
+-    48,  49,  50,  51,  52,  53,  54,  55,
+-    56,  57,  58,  59,  60,  61,  62,  63,
+-    64, 'a', 'b', 'c', 'd', 'e', 'f', 'g',
++   (char)  0, (char)  1, (char)  2, (char)  3, (char)  4, (char)  5, (char)  6, (char)  7,
++   (char)  8, (char)  9, (char) 10, (char) 11, (char) 12, (char) 13, (char) 14, (char) 15,
++   (char) 16, (char) 17, (char) 18, (char) 19, (char) 20, (char) 21, (char) 22, (char) 23,
++   (char) 24, (char) 25, (char) 26, (char) 27, (char) 28, (char) 29, (char) 30, (char) 31,
++   (char) 32, (char) 33, (char) 34, (char) 35, (char) 36, (char) 37, (char) 38, (char) 39,
++   (char) 40, (char) 41, (char) 42, (char) 43, (char) 44, (char) 45, (char) 46, (char) 47,
++   (char) 48, (char) 49, (char) 50, (char) 51, (char) 52, (char) 53, (char) 54, (char) 55,
++   (char) 56, (char) 57, (char) 58, (char) 59, (char) 60, (char) 61, (char) 62, (char) 63,
++   (char) 64, 'a', 'b', 'c', 'd', 'e', 'f', 'g',
+    'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o',
+    'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
+-   'x', 'y', 'z',  91,  92,  93,  94,  95,
+-    96, 'a', 'b', 'c', 'd', 'e', 'f', 'g',
++   'x', 'y', 'z', (char) 91, (char) 92, (char) 93, (char) 94, (char) 95,
++    (char) 96, 'a', 'b', 'c', 'd', 'e', 'f', 'g',
+    'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o',
+    'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
+-   'x', 'y', 'z', 123, 124, 125, 126, 127,
+-   128, 129, 130, 131, 132, 133, 134, 135,
+-   136, 137, 138, 139, 140, 141, 142, 143,
+-   144, 145, 146, 147, 148, 149, 150, 151,
+-   152, 153, 154, 155, 156, 157, 158, 159,
+-   160, 161, 162, 163, 164, 165, 166, 167,
+-   168, 168, 170, 171, 172, 173, 174, 175,
+-   176, 177, 178, 179, 180, 181, 182, 183,
+-   184, 185, 186, 187, 188, 189, 190, 191,
++   'x', 'y', 'z', (char) 123, (char) 124, (char) 125, (char) 126, (char) 127,
++   (char) 128, (char) 129, (char) 130, (char) 131, (char) 132, (char) 133, (char) 134, (char) 135,
++   (char) 136, (char) 137, (char) 138, (char) 139, (char) 140, (char) 141, (char) 142, (char) 143,
++   (char) 144, (char) 145, (char) 146, (char) 147, (char) 148, (char) 149, (char) 150, (char) 151,
++   (char) 152, (char) 153, (char) 154, (char) 155, (char) 156, (char) 157, (char) 158, (char) 159,
++   (char) 160, (char) 161, (char) 162, (char) 163, (char) 164, (char) 165, (char) 166, (char) 167,
++   (char) 168, (char) 168, (char) 170, (char) 171, (char) 172, (char) 173, (char) 174, (char) 175,
++   (char) 176, (char) 177, (char) 178, (char) 179, (char) 180, (char) 181, (char) 182, (char) 183,
++   (char) 184, (char) 185, (char) 186, (char) 187, (char) 188, (char) 189, (char) 190, (char) 191,
+    'a', 'a', 'a', 'a', 'a', 'a', 'a', 'c',
+    'e', 'e', 'e', 'e', 'i', 'i', 'i', 'i',
+-   208, 'n', 'o', 'o', 'o', 'o', 'o', 'o',
+-   'o', 'u', 'u', 'u', 'u', 'y', 222, 223,
++   (char) 208, 'n', 'o', 'o', 'o', 'o', 'o', 'o',
++   'o', 'u', 'u', 'u', 'u', 'y', (char) 222, (char) 223,
+    'a', 'a', 'a', 'a', 'a', 'a', 'a', 'c',
+    'e', 'e', 'e', 'e', 'i', 'i', 'i', 'i',
+-   240, 'n', 'o', 'o', 'o', 'o', 'o', 'o',
+-   'o', 'u', 'u', 'u', 'u', 'y', 254, 255};
++   (char) 240, 'n', 'o', 'o', 'o', 'o', 'o', 'o',
++   'o', 'u', 'u', 'u', 'u', 'y', (char) 254, (char) 255};
+   
+ 
+ //*****************************************************************************

diff --git a/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild b/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild
index 0d3e11b76cb..3a45503a87a 100644
--- a/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild
+++ b/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild
@@ -28,6 +28,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${P}-gcc4.patch
 	epatch "${FILESDIR}"/${P}-as-needed.patch
 	epatch "${FILESDIR}"/${P}-quoting.patch
+	epatch "${FILESDIR}"/${P}-gcc6.patch
 	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in db/configure.in || die
 	eautoreconf
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-misc/htdig/files/, www-misc/htdig/
@ 2018-10-24 14:19 Lars Wendler
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler @ 2018-10-24 14:19 UTC (permalink / raw
  To: gentoo-commits

commit:     ff82bc730056751a6400394102d03636076120b2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 14:19:04 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 14:19:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff82bc73

www-misc/htdig: Added Debian patch to fix build issue.

Closes: https://bugs.gentoo.org/638720
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../htdig-3.2.0_beta6-drop-bogus-assignment.patch     | 16 ++++++++++++++++
 www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild            | 19 +++++++++++--------
 2 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/www-misc/htdig/files/htdig-3.2.0_beta6-drop-bogus-assignment.patch b/www-misc/htdig/files/htdig-3.2.0_beta6-drop-bogus-assignment.patch
new file mode 100644
index 00000000000..2328280e317
--- /dev/null
+++ b/www-misc/htdig/files/htdig-3.2.0_beta6-drop-bogus-assignment.patch
@@ -0,0 +1,16 @@
+--- htdig-3.2.0b6.orig/htdig/Parsable.cc
++++ htdig-3.2.0b6/htdig/Parsable.cc
+@@ -74,7 +74,6 @@ Parsable::addString(Retriever& retriever
+ 	    retriever.got_word(w, wordindex++, slot); // slot for img_alt
+ 	w = HtWordToken(0);
+     }
+-    w = '\0';
+ }
+ 
+ //*****************************************************************************
+@@ -92,5 +91,4 @@ Parsable::addKeywordString(Retriever& re
+ 	    retriever.got_word(w, wordindex++, 9);
+ 	w = HtWordToken(0);
+     }
+-    w = '\0';
+ }

diff --git a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
index 7596cb36167..eec36227e38 100644
--- a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
+++ b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,6 +31,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-quoting.patch
 	"${FILESDIR}"/${P}-gcc6.patch
 	"${FILESDIR}"/${P}-musl.patch
+	"${FILESDIR}"/${P}-drop-bogus-assignment.patch #638720
 )
 
 HTML_DOCS=( htdoc )
@@ -42,14 +43,16 @@ src_prepare() {
 }
 
 src_configure() {
-	econf \
-		--with-config-dir="${EPREFIX}"/etc/${PN} \
-		--with-default-config-file="${EPREFIX}"/etc/${PN}/${PN}.conf \
-		--with-database-dir="${EPREFIX}"/var/lib/${PN}/db \
-		--with-cgi-bin-dir="${EPREFIX}"/var/www/localhost/cgi-bin \
-		--with-search-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
-		--with-image-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
+	local myeconfargs=(
+		--with-config-dir="${EPREFIX}"/etc/${PN}
+		--with-default-config-file="${EPREFIX}"/etc/${PN}/${PN}.conf
+		--with-database-dir="${EPREFIX}"/var/lib/${PN}/db
+		--with-cgi-bin-dir="${EPREFIX}"/var/www/localhost/cgi-bin
+		--with-search-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN}
+		--with-image-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN}
 		$(use_with ssl)
+	)
+	econf "${myeconfargs[@]}"
 }
 
 src_install () {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-24 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02  7:04 [gentoo-commits] repo/gentoo:master commit in: www-misc/htdig/files/, www-misc/htdig/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2018-10-24 14:19 Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox