Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to perl 5.37.1 #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adapt to perl 5.37.1 #304

wants to merge 1 commit into from

Conversation

ppisar
Copy link

@ppisar ppisar commented Jul 12, 2023

Perl 5.37.1 removed a deprecated sv_nv() macro and SDL fails to build with Perl 5.38.0:

lib/SDLx/Controller/Interface.xs:60:26: error: implicit declaration of function 'sv_nv'
   60 |         out->dv_x      = sv_nv(temp);
      |                          ^~~~~

Users are advised to use SvNVx() macro instead. SvNVx() seems to have been available all the time (it predates a commit from 1993-10-07).

This patch does that.

#303

Perl 5.37.1 removed a deprecated sv_nv() macro and SDL fails to build
with Perl 5.38.0:

lib/SDLx/Controller/Interface.xs:60:26: error: implicit declaration of function 'sv_nv'
   60 |         out->dv_x      = sv_nv(temp);
      |                          ^~~~~

Users are advised to use SvNVx() macro instead. SvNVx() seems to have been
available all the time (it predates a commit from 1993-10-07).

This patch does that.

PerlGameDev#303
stigtsp pushed a commit to NixOS/nixpkgs that referenced this pull request Sep 21, 2023
This applies the patch from [1], fixing the most important game in
nixpkgs.

[1]: PerlGameDev/SDL#304
toastal pushed a commit to toastal/nixpkgs that referenced this pull request Sep 25, 2023
This applies the patch from [1], fixing the most important game in
nixpkgs.

[1]: PerlGameDev/SDL#304
lanodan added a commit to lanodan/gentoo that referenced this pull request Oct 13, 2023
https: //github.com/PerlGameDev/SDL/pull/304
Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
lanodan added a commit to lanodan/gentoo that referenced this pull request Oct 13, 2023
Taken from PerlGameDev/SDL#304

Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
lanodan added a commit to lanodan/gentoo that referenced this pull request Oct 15, 2023
https: //github.com/PerlGameDev/SDL/pull/304
Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Oct 16, 2023
Taken from PerlGameDev/SDL#304

Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
Closes: #33317
Signed-off-by: James Le Cuirot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant