mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
app-accessibility/emacspeak-ss: add missing includes
Fixes implicit function declarations Closes: https://bugs.gentoo.org/875479 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40561 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
34
app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r2.ebuild
Normal file
34
app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r2.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Adds support for several speech synthesizers to emacspeak"
|
||||
HOMEPAGE="http://leb.net/blinux/"
|
||||
SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND=">=app-accessibility/emacspeak-18"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gentoo-apollo-fix.patch
|
||||
"${FILESDIR}"/"${P}"-missing-includes.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${ED}"/usr \
|
||||
man1dir="${ED}"/usr/share/man/man1 \
|
||||
install
|
||||
dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README*
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
Add missing includes for implicitly declared functions
|
||||
https://bugs.gentoo.org/875479
|
||||
--- a/ping-apollo.c 2025-02-14 00:18:28.905559670 +0400
|
||||
+++ b/ping-apollo.c 2025-02-14 00:19:59.617012294 +0400
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/serial.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
#define DEFAULT_DEVICE "/dev/ttyS0"
|
||||
#define MAXCHARS 128
|
||||
Reference in New Issue
Block a user