From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDD62158091 for ; Sat, 18 Jun 2022 17:23:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32F07E09FB; Sat, 18 Jun 2022 17:23:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15ADBE09FB for ; Sat, 18 Jun 2022 17:23:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A6B8341909 for ; Sat, 18 Jun 2022 17:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84BF7105 for ; Sat, 18 Jun 2022 17:23:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1655572932.0e34436a7f13b0772e544b6c9789f4723fd18f00.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dictd/files/, app-text/dictd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/dictd/dictd-1.13.0-r4.ebuild app-text/dictd/dictd-1.13.0-r5.ebuild app-text/dictd/files/dictd-1.13.0-lex.patch app-text/dictd/files/dictd-1.13.0-libtool.patch app-text/dictd/files/dictd-1.13.0-version.patch X-VCS-Directories: app-text/dictd/ app-text/dictd/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0e34436a7f13b0772e544b6c9789f4723fd18f00 X-VCS-Branch: master Date: Sat, 18 Jun 2022 17:23:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 367e2b50-007b-422f-aa0c-cbe37d4713a2 X-Archives-Hash: fdffda8c981171027683bfc9cb8453d0 commit: 0e34436a7f13b0772e544b6c9789f4723fd18f00 Author: orbea riseup net> AuthorDate: Sat Jun 18 16:23:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 18 17:22:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e34436a app-text/dictd: Update patch + fix QA warnings Makes trivial changes to the libtool patch for correctness and silences the follow QA warnings that were exposed with autoreconf. * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * y.tab.c:1054:16: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration] * y.tab.c:1240:7: warning: implicit declaration of function ‘yyerror’; did you mean ‘YYerror’? [-Wimplicit-function-declaration] * y.tab.c:1430:16: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration] * y.tab.c:2212:7: warning: implicit declaration of function ‘yyerror’; did you mean ‘YYerror’? [-Wimplicit-function-declaration] * QA Notice: command not found: * * ./config.status: line 784: 1.13.0=dummy.13.0: command not found Bug: https://bugs.gentoo.org/852884 Fixes: https://github.com/gentoo/gentoo/pull/25948 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25962 Signed-off-by: Sam James gentoo.org> ...ctd-1.13.0-r4.ebuild => dictd-1.13.0-r5.ebuild} | 2 + app-text/dictd/files/dictd-1.13.0-lex.patch | 28 ++++++++++ app-text/dictd/files/dictd-1.13.0-libtool.patch | 23 ++++---- app-text/dictd/files/dictd-1.13.0-version.patch | 65 ++++++++++++++++++++++ 4 files changed, 108 insertions(+), 10 deletions(-) diff --git a/app-text/dictd/dictd-1.13.0-r4.ebuild b/app-text/dictd/dictd-1.13.0-r5.ebuild similarity index 97% rename from app-text/dictd/dictd-1.13.0-r4.ebuild rename to app-text/dictd/dictd-1.13.0-r5.ebuild index 19723217a411..77f5dd081635 100644 --- a/app-text/dictd/dictd-1.13.0-r4.ebuild +++ b/app-text/dictd/dictd-1.13.0-r5.ebuild @@ -45,7 +45,9 @@ DOC_CONTENTS=" PATCHES=( "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch "${FILESDIR}"/dictd-1.12.0-build.patch + "${FILESDIR}"/dictd-1.13.0-lex.patch "${FILESDIR}"/dictd-1.13.0-libtool.patch # 818535 + "${FILESDIR}"/dictd-1.13.0-version.patch # 852884 ) src_prepare() { diff --git a/app-text/dictd/files/dictd-1.13.0-lex.patch b/app-text/dictd/files/dictd-1.13.0-lex.patch new file mode 100644 index 000000000000..c69758c4805d --- /dev/null +++ b/app-text/dictd/files/dictd-1.13.0-lex.patch @@ -0,0 +1,28 @@ +From: orbea +Date: Sat, 18 Jun 2022 09:10:18 -0700 +Subject: [PATCH] build: Fix implicit function declarations + +--- a/clientparse.y ++++ b/clientparse.y +@@ -24,6 +24,9 @@ + #define YYERROR_VERBOSE + + static dictServer *s; ++ ++int yylex(); ++void yyerror(const char *s); + %} + + %union { +--- a/servparse.y ++++ b/servparse.y +@@ -30,6 +30,9 @@ + + static dictDatabase *db; + ++int yylex(); ++void yyerror(const char *s); ++ + static int string2bool (const char *str) + { + if ( diff --git a/app-text/dictd/files/dictd-1.13.0-libtool.patch b/app-text/dictd/files/dictd-1.13.0-libtool.patch index 808e72163c37..f687a182f60f 100644 --- a/app-text/dictd/files/dictd-1.13.0-libtool.patch +++ b/app-text/dictd/files/dictd-1.13.0-libtool.patch @@ -1,6 +1,5 @@ https://bugs.gentoo.org/818535 -From ab4c1542d8103ef2a8dcfd8cc1ad624890258090 Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 17 Jun 2022 16:18:40 -0700 Subject: [PATCH] configure: Add missing LT_INIT @@ -26,16 +25,12 @@ Subject: [PATCH] configure: Add missing LT_INIT echo Configuring for dict echo . -@@ -45,7 +47,7 @@ AC_CANONICAL_HOST - AC_PROG_CC - AC_PROG_CPP - AC_PROG_CXX -- -+AC_PROG_LIBTOOL - AC_ISC_POSIX +@@ -70,13 +72,10 @@ echo Checking for programs - REALCC="$CC" -@@ -75,8 +77,6 @@ AC_PROG_MAKE_SET + AC_PROG_AWK + AC_PROG_INSTALL +-AC_PROG_RANLIB + AC_PROG_MAKE_SET AC_PROG_YACC AC_PROG_LEX @@ -44,6 +39,14 @@ Subject: [PATCH] configure: Add missing LT_INIT AC_CHECK_PROGS(NROFF,gnroff nroff) AC_CHECK_PROGS(TROFF,groff troff) AC_CHECK_PROGS(COL,col cat) +@@ -188,7 +187,6 @@ AC_SUBST(DICT_VERSION) + AC_SUBST(USE_PLUGIN) + AC_SUBST(EXEEXT) + AC_SUBST(allsubdirs) +-AC_SUBST(LIBTOOL) + + AC_SUBST(PLUGINS) + --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -28,6 +28,7 @@ endif diff --git a/app-text/dictd/files/dictd-1.13.0-version.patch b/app-text/dictd/files/dictd-1.13.0-version.patch new file mode 100644 index 000000000000..fee60efe22da --- /dev/null +++ b/app-text/dictd/files/dictd-1.13.0-version.patch @@ -0,0 +1,65 @@ +https://bugs.gentoo.org/852884 + +From: orbea +Date: Sat, 18 Jun 2022 10:00:21 -0700 +Subject: [PATCH] configure: Set version directly in AC_INIT + +This avoids a command not found error in config.status. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -20,7 +20,7 @@ + + # Add a _letter_ if you change the version number and release your own version. + # Numbers are for the original author(s) only. +-DICT_VERSION=@DICT_VERSION@ ++DICT_VERSION=@PACKAGE_VERSION@ + + ifneq (,) + This makefile requires GNU Make. +--- a/configure.in ++++ b/configure.in +@@ -23,14 +23,10 @@ dnl CFLAGS and LDFLAGS should be settable on the make commandline + dnl for optimization and stripping. + dnl LIBOBJS is an automatically-generated list of extra objects we need + +- +-define(VERSION, 1.13.0) +- +- + AC_PREREQ(2.53) + AC_REVISION($Revision: 1.144 $) + +-AC_INIT([dict],[VERSION],[dict-beta@dict.org]) ++AC_INIT([dict],[1.13.0],[dict-beta@dict.org]) + + AC_CONFIG_SRCDIR([dictd.c]) + AC_CONFIG_HEADER(config.h) +@@ -40,8 +36,6 @@ LT_INIT + echo Configuring for dict + echo . + +-DICT_VERSION=VERSION +- + AC_CANONICAL_HOST + + AC_PROG_CC +@@ -183,7 +177,6 @@ SBINDIR=`eval3 $sbindir` + LIBEXECDIR=`eval3 $libexecdir` + DATADIR=`eval3 $datadir` + +-AC_SUBST(DICT_VERSION) + AC_SUBST(USE_PLUGIN) + AC_SUBST(EXEEXT) + AC_SUBST(allsubdirs) +--- a/dictdplugin-config.in ++++ b/dictdplugin-config.in +@@ -24,7 +24,7 @@ while test $# -ne 0; do + usage + exit;; + --version) +- echo @DICT_VERSION@ ++ echo @PACKAGE_VERSION@ + exit;; + --libs) + echo -L@libdir@