mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
games-misc/sex: fix implicit function decls
Closes: https://bugs.gentoo.org/871414 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Tue, 27 Sep 2022 22:50:12 +0100
|
||||
Subject: [PATCH] Add missing <string.h> for strcmp
|
||||
|
||||
Bug: https://bugs.gentoo.org/871414
|
||||
--- a/sex.c
|
||||
+++ b/sex.c
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -15,9 +15,14 @@ KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
RDEPEND="!sci-astronomy/sextractor"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0-Add-missing-string.h-for-strcmp.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -f Makefile
|
||||
|
||||
rm -f Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
Reference in New Issue
Block a user