Bug 279161

Summary: games/sdlpop: fix data directory patch
Product: Ports & Packages Reporter: Viacheslav Chimishuk <vchimishuk>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Some People CC: alexbelov11, discipline
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (pkubaj)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix more datadir constants. none

Description Viacheslav Chimishuk 2024-05-19 14:20:46 UTC
Created attachment 250811 [details]
Fix more datadir constants.

After installing games/sdlpop from ports game cannot find its resources and shows next banner after start.

```
Cannot find a required data file:
     IBM_SND1.DAT or folder:
         data/IBM_SND1
     Press any key to quit.
```

Proposed fix updates existing `files/patch-seg009.c` patch to fix the issue.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-06-03 15:13:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=37544c8ef61bda6a3ab53a04d6fc28a9465e4c71

commit 37544c8ef61bda6a3ab53a04d6fc28a9465e4c71
Author:     Viacheslav Chimishuk <vchimishuk@yandex.ru>
AuthorDate: 2024-05-27 10:15:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-03 15:07:52 +0000

    games/sdlpop: fix data directory patch

    After installing games/sdlpop from ports game cannot find its resources and shows next banner after start.

    ```
    Cannot find a required data file:
         IBM_SND1.DAT or folder:
             data/IBM_SND1
         Press any key to quit.
    ```

    Proposed fix updates existing `files/patch-seg009.c` patch to fix the issue.

    PR:     279161

 games/sdlpop/Makefile             |  2 ++
 games/sdlpop/files/patch-seg009.c | 25 +++++++++++++++++--------
 2 files changed, 19 insertions(+), 8 deletions(-)
Comment 2 alexbelov 2024-06-12 07:31:55 UTC
MARKED AS SPAM