Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926323 - games-util/loki_patch-20091105 fails to compile: loki_xdelta.c:541:20: error: passing argument 1 of gzread from incompatible pointer type [-Wincompatible-pointer-types]
Summary: games-util/loki_patch-20091105 fails to compile: loki_xdelta.c:541:20: error:...
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: 2024-03-07 08:07 UTC by Agostino Sarubbo
Modified: 2024-03-25 22:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,94.79 KB, text/plain)
2024-03-07 08:07 UTC, Agostino Sarubbo
Details
fixes c99 problem by adding a new field to opaque file handle (loki_patch-20091105-xdelta-gzip.patch,1.25 KB, patch)
2024-03-25 15:03 UTC, jy6x2b32pie9
Details | Diff
Ebuild with patch (loki_patch-20091105-r1.ebuild,1013 bytes, application/vnd.gentoo.ebuild)
2024-03-25 15:04 UTC, jy6x2b32pie9
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-07 08:07:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-util/loki_patch-20091105 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-07 08:07:25 UTC
Created attachment 886864 [details]
build.log

build log and emerge --info
Comment 2 jy6x2b32pie9 2024-03-25 15:03:36 UTC
Created attachment 888552 [details, diff]
fixes c99 problem by adding a new field to opaque file handle
Comment 3 jy6x2b32pie9 2024-03-25 15:04:32 UTC
Created attachment 888553 [details]
Ebuild with patch

This program bundles xdelta-1.1.1 for space reasons. Copied patch from xdelta.

I don't know if this actually works, because there are no tests and I am not sure what I can use this patcher on.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-25 22:42:46 UTC
The bug has been closed via the following commit(s):

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

commit 8c3976940c45b7f1ee118c0530f041cdee613248
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-03-25 22:41:21 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-03-25 22:42:33 +0000

    games-util/loki_patch: Fix building with GCC 14, EAPI 8
    
    Thanks to NHOrus for the patch.
    
    Closes: https://bugs.gentoo.org/926323
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../files/loki_patch-20091105-xdelta-gzip.patch    | 44 ++++++++++++++++++++++
 ...091105.ebuild => loki_patch-20091105-r1.ebuild} |  8 ++--
 games-util/loki_patch/metadata.xml                 | 11 ++++--
 3 files changed, 56 insertions(+), 7 deletions(-)