Package Details: xdemineur 2.1.1-1

Git Clone URL: https://aur.archlinux.org/xdemineur.git (read-only, click to copy)
Package Base: xdemineur
Description: A minesweeper game for the X Window System.
Upstream URL: http://www.babafou.eu.org/xdemineur/
Keywords: game minesweeper
Licenses: custom
Submitter: funeralium
Maintainer: None
Last Packager: Closey
Votes: 0
Popularity: 0.000000
First Submitted: 2018-12-23 22:48 (UTC)
Last Updated: 2023-03-13 22:46 (UTC)

Latest Comments

gehenna14 commented on 2025-01-16 05:26 (UTC)

Hello, I have a build error when trying to install this program.

==> Extracting sources...
  -> Extracting xdemineur-2.1.1.tar.gz with bsdtar
==> Starting build()...
imake -DUseInstalled -I/usr/lib/X11/config
gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L              -D_POSIX_SOURCE -D_XOPEN_SOURCE                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                       -DFUNCPROTO=15 -DNARROWPROTO       -c -o demineur.o demineur.c
In file included from /usr/include/sys/types.h:25,
                 from demineur.c:17:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L              -D_POSIX_SOURCE -D_XOPEN_SOURCE                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                       -DFUNCPROTO=15 -DNARROWPROTO       -c -o main.o main.c
In file included from /usr/include/sys/types.h:25,
                 from main.c:17:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
main.c: In function ‘main’:
main.c:49:12: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
   49 |       if ( strcmp ( argv[i] , "-v" ) == 0 )
      |            ^~~~~~
main.c:27:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
   26 | #include "xdemineur.h"
  +++ |+#include <string.h>
   27 | 
make: *** [<builtin>: main.o] Error 1
==> ERROR: A failure occurred in build().

jorgicio commented on 2021-05-20 16:48 (UTC) (edited on 2021-05-20 16:49 (UTC) by jorgicio)

Hi. A dependency is missing: imake, which provides xmkmf, required to build xdemineur. You should add it as a makedepends.