games-puzzle/xdemineur: new package, version 2.1.1

Signed-off-by: kernaltrap8 <kernaltrap@gmail.com>
This commit is contained in:
kernaltrap8
2024-07-02 23:29:01 -05:00
parent 28b378e8ae
commit e5902cd110
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST xdemineur-2.1.1.tar.gz 15633 BLAKE2B d28b7931a092b8759efbf7bcf21f56f137d62acf0fbe93dd109d7b6a17006d5d28974ba375550155680c4e350d1700a0bf66f9a83608051f678eeac35f4ed7de SHA512 0298f0529f20f70372812771218568df3fe3e6a1b4003d7c23fe6f17a3b37512b97b9546c9f7e5755421e923ab0cf3bdbf0094dba99310d133439396a12ad684

View File

@@ -0,0 +1,11 @@
--- a/main.c 2024-07-02 22:17:54.161270142 -0500
+++ b/main.c 2024-07-02 22:35:02.756757205 -0500
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <sysexits.h>
#include <time.h>
-
+#include <string.h>
#include "demineur.h"
#include "xdemineur.h"

View File

@@ -0,0 +1,31 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Minesweeper clone for the X11 windowing system"
HOMEPAGE="https://salsa.debian.org/debian/xdemineur"
SRC_URI="https://deb.debian.org/debian/pool/main/x/${PN}/xdemineur_${PV}.orig.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
x11-misc/imake
"
DEPEND="
${BDEPEND}
x11-libs/libX11
x11-libs/libXpm
"
PATCHES=(
"${FILESDIR}/${P}-include.patch"
)
src_compile() {
xmkmf
emake
}