Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874435 - games-puzzle/galaxis-1.8-r1 - galaxis.c: error: parameter curx was not declared, defaults to int;
Summary: games-puzzle/galaxis-1.8-r1 - galaxis.c: error: parameter curx was not declar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 07:58 UTC by Toralf Förster
Modified: 2022-10-15 20:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.50 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,64.39 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
environment (environment,60.91 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.29 KB, application/x-bzip)
2022-10-03 07:58 UTC, Toralf Förster
Details
games-puzzle:galaxis-1.8-r1:20221002-234315.log (games-puzzle:galaxis-1.8-r1:20221002-234315.log,3.10 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.31 KB, application/x-bzip)
2022-10-03 07:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 07:58:43 UTC
    ^
galaxis.c:31:25: note: expanded from macro 'srand'
#define srand(n)        srand48(n)
                               ^
galaxis.c:516:29: error: parameter 'curx' was not declared, defaults to 'int';
      ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
static void auto_mark(cury, curx)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221002-132844

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO games-puzzle/galaxis
[ebuild  N    ] games-puzzle/galaxis-1.8-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:58:44 UTC
Created attachment 816565 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:58:46 UTC
Created attachment 816568 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:58:47 UTC
Created attachment 816571 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:58:48 UTC
Created attachment 816574 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:58:49 UTC
Created attachment 816577 [details]
games-puzzle:galaxis-1.8-r1:20221002-234315.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:58:50 UTC
Created attachment 816580 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-15 20:07:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74ba779a82016860191670a76c6f31720167214

commit d74ba779a82016860191670a76c6f31720167214
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-15 18:49:36 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-15 20:06:46 +0000

    games-puzzle/galaxis: add 1.10
    
    Release fixed issues with clang16 3 years ago wrt #874435
    
    Also:
    * GPL-2 -> BSD-2 (no GPL in here)
    * pass ncurses' --cflags too
    * install the newly added .desktop+icon
    * small fixes for c2x so won't need -std=gnu89
    
    Closes: https://bugs.gentoo.org/874435
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-puzzle/galaxis/Manifest                     |  1 +
 games-puzzle/galaxis/files/galaxis-1.10-c2x.patch | 15 +++++++++
 games-puzzle/galaxis/galaxis-1.10.ebuild          | 38 +++++++++++++++++++++++
 3 files changed, 54 insertions(+)