Bug 228101 - games/openjazz: update to git snapshot 20180329
Summary: games/openjazz: update to git snapshot 20180329
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-09 16:17 UTC by Piotr Kubaj
Modified: 2018-05-17 10:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (martymac)


Attachments
patch (994 bytes, patch)
2018-05-09 16:17 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj 2018-05-09 16:17:37 UTC
Created attachment 193215 [details]
patch

The reason I want to update this port to development snapshot is because it fixes build for me, current version fails with:
src/io/sound.cpp:201:19: error: use of undeclared identifier 'xmpC'
        xmp_free_context(xmpC);
                         ^
src/io/sound.cpp:303:31: error: use of undeclared identifier 'XMP_FORMAT_8BIT'
                playerFlags = playerFlags & XMP_FORMAT_8BIT;
                                            ^
src/io/sound.cpp:307:31: error: use of undeclared identifier 'XMP_FORMAT_UNSIGNED'
                playerFlags = playerFlags & XMP_FORMAT_UNSIGNED;
                                            ^
src/io/sound.cpp:310:31: error: use of undeclared identifier 'XMP_FORMAT_MONO'
                playerFlags = playerFlags & XMP_FORMAT_MONO;
                                            ^
src/io/sound.cpp:312:19: error: use of undeclared identifier 'xmpC'
        xmp_start_player(xmpC, audioSpec.freq, playerFlags);
                         ^
src/io/sound.cpp:313:17: error: use of undeclared identifier 'xmpC'
        xmp_set_player(xmpC, XMP_PLAYER_INTERP, MUSIC_INTERPOLATION);
                       ^
src/io/sound.cpp:313:23: error: use of undeclared identifier 'XMP_PLAYER_INTERP'
        xmp_set_player(xmpC, XMP_PLAYER_INTERP, MUSIC_INTERPOLATION);
                             ^
src/io/sound.cpp:313:42: error: use of undeclared identifier 'MUSIC_INTERPOLATION'
        xmp_set_player(xmpC, XMP_PLAYER_INTERP, MUSIC_INTERPOLATION);
                                                ^
8 errors generated.

Tested on CURRENT and on Poudriere with 10.4-RELEASE.
Comment 1 commit-hook freebsd_committer 2018-05-17 10:12:22 UTC
A commit references this bug:

Author: martymac
Date: Thu May 17 10:11:21 UTC 2018
New revision: 470214
URL: https://svnweb.freebsd.org/changeset/ports/470214

Log:
  Update to 20180329 (rev. 2c4d351)

  PR:		228101
  Submitted by:	Piotr Kubaj <pkubaj at anongoth.pl>

Changes:
  head/games/openjazz/Makefile
  head/games/openjazz/distinfo
Comment 2 Ganael LAPLANCHE freebsd_committer 2018-05-17 10:14:38 UTC
Hi Piotr,

Committed with minor changes, thanks!

Best regards,

Ganael.