Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870901

Summary: media-libs/t1lib-5.1.2-r3 - regions.c: error: parameter y2 was not declared, defaults to int; ISO
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
media-libs:t1lib-5.1.2-r3:20220917-162057.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 17:32:50 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
static int Unwind(area)
           ^
regions.c:602:45: error: parameter 'y2' was not declared, defaults to 'int'; ISO
      C99 and later do not support implicit int [-Werror,-Wimplicit-int]
void ChangeDirection(type, R, x, y, dy, x2, y2)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 27e349751fc08f79c6f96f84652edf0c93ba9a1f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 14:46:52 2022 +0000

    2022-09-17 14:46:52 UTC

emerge -qpvO media-libs/t1lib
[ebuild  N    ] media-libs/t1lib-5.1.2-r3  USE="-X -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 17:32:51 UTC
Created attachment 808468 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 17:32:52 UTC
Created attachment 808471 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 17:32:54 UTC
Created attachment 808474 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 17:32:55 UTC
Created attachment 808477 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 17:32:56 UTC
Created attachment 808480 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 17:32:57 UTC
Created attachment 808483 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 17:32:59 UTC
Created attachment 808486 [details]
media-libs:t1lib-5.1.2-r3:20220917-162057.log
Comment 8 Toralf Förster gentoo-dev 2022-09-17 17:33:00 UTC
Created attachment 808489 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2024-04-14 00:39:21 UTC
The bug has been closed via the following commit(s):

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

commit 5d09ae33251f4762aae22d3683d47e2cde204efd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-14 00:35:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-14 00:35:25 +0000

    media-libs/t1lib: fix Modern C issues
    
    Closes: https://bugs.gentoo.org/870901
    Closes: https://bugs.gentoo.org/899838
    Signed-off-by: Sam James <sam@gentoo.org>

 .../t1lib/files/t1lib-5.1.2-c99-configure.patch    | 10 ++++++++++
 media-libs/t1lib/files/t1lib-5.1.2-c99.patch       | 15 ++++++++++++++
 ...t1lib-5.1.2-r4.ebuild => t1lib-5.1.2-r5.ebuild} | 23 ++++++++++++++++------
 3 files changed, 42 insertions(+), 6 deletions(-)