summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-11-02 18:16:43 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-11-02 18:17:04 -0500
commit688f22134d20aae2ba8e06de241b2563f74782a9 (patch)
treeca045adb698e2721eda08655854e61e45f4d6325 /dev-perl/SDL
parentmedia-gfx/sane-backends: version bump to 1.0.25 (diff)
downloadgentoo-688f22134d20aae2ba8e06de241b2563f74782a9.tar.gz
gentoo-688f22134d20aae2ba8e06de241b2563f74782a9.tar.bz2
gentoo-688f22134d20aae2ba8e06de241b2563f74782a9.zip
version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-perl/SDL')
-rw-r--r--dev-perl/SDL/Manifest1
-rw-r--r--dev-perl/SDL/SDL-2.546.ebuild42
-rw-r--r--dev-perl/SDL/files/SDL-2.546-pointer.patch29
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-perl/SDL/Manifest b/dev-perl/SDL/Manifest
index b8dda29daf66..9eda14849dee 100644
--- a/dev-perl/SDL/Manifest
+++ b/dev-perl/SDL/Manifest
@@ -1,2 +1,3 @@
DIST SDL-2.540.tar.gz 2490785 SHA256 031866be84e6bbd7bb082aed26265ad64f84dc867db5239476921746a41e6a1f SHA512 6c85ea179174415da40fe20f27086626b56570d8dbb6416957fb3236550d27ad893f171c7aedf7c6cda2ca6f2078dfad5d8813e428b49c920c1f8487416193b3 WHIRLPOOL 1cf79640cf56237f7ed439cd2c13ef60e4978762867495d50ad7db06f75685022fb4409265ef4243bdb688c467eb66acbeab40e18ee5f688511f1e60a52894f9
DIST SDL-2.544.tar.gz 2487263 SHA256 3878d7171c7fb34b5d35f9ef3883e532fb44188c666f7492ce2bf14f5acad096 SHA512 df8a6cc1f395e143bfa59f08a0c91c640b83463742250f5ea545dcde1d7b3f819dcae03535e62f572ae2d7ad3bbc988b034a1c83a451926f6ec2d5e11ae90ddc WHIRLPOOL 667675bb12a3b6957848de0616f158f36b9f6a14b5ea0af68e3f14839dc8b24a810b51b3f06fc2f3695a060991ae58fdb9f75ba7d221e42c51032752b0592b71
+DIST SDL-2.546.tar.gz 2487053 SHA256 e08aa73550b3f8d32ced0941c3c629f01c4ba4d480fc269e57f3fa6f8df86631 SHA512 7f7015c90a277b91951a2357bcdf7c3f2f930270d211657c903240ed4529f408c200337ca79e4971eb3912da28ebf1e950053ce4d763c2599c701444c618c71a WHIRLPOOL f5afa1710321c08f57da105ed20953bffc9b534f3ab7c5fc6d729285b4e28f2ee58763f82ed88d9e0c2167ce7d8d182c0fc3259c4cb798ce17ffa79e306df54c
diff --git a/dev-perl/SDL/SDL-2.546.ebuild b/dev-perl/SDL/SDL-2.546.ebuild
new file mode 100644
index 000000000000..8d36ad96d962
--- /dev/null
+++ b/dev-perl/SDL/SDL-2.546.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+MODULE_AUTHOR=FROGGS
+inherit perl-module
+
+DESCRIPTION="Simple DirectMedia Layer (SDL) bindings for perl"
+HOMEPAGE="http://sdl.perl.org/ http://search.cpan.org/dist/SDL/ https://github.com/PerlGameDev/SDL"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/Alien-SDL-1.434
+ dev-perl/Capture-Tiny
+ dev-perl/File-ShareDir
+ dev-perl/Test-Most
+ dev-perl/Tie-Simple
+ media-libs/libpng:0
+ media-libs/libsdl
+ media-libs/sdl-gfx
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-pango
+ media-libs/sdl-ttf
+ media-libs/smpeg
+ media-libs/tiff:0
+ virtual/glu
+ virtual/jpeg:0
+ virtual/opengl
+ virtual/perl-ExtUtils-CBuilder
+ >=dev-perl/Module-Build-0.400.0
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Test-Simple"
+DEPEND=${RDEPEND}
+
+SRC_TEST=parallel
+mydoc='CHANGELOG README TODO'
+PATCHES=( "${FILESDIR}"/${P}-pointer.patch )
diff --git a/dev-perl/SDL/files/SDL-2.546-pointer.patch b/dev-perl/SDL/files/SDL-2.546-pointer.patch
new file mode 100644
index 000000000000..b3721ac805e2
--- /dev/null
+++ b/dev-perl/SDL/files/SDL-2.546-pointer.patch
@@ -0,0 +1,29 @@
+--- ./src/Core/objects/Event.xs.orig 2015-11-02 17:32:54.831820664 -0500
++++ ./src/Core/objects/Event.xs 2015-11-02 17:33:35.802090936 -0500
+@@ -611,7 +611,7 @@
+ char *CLASS = "SDL::JoyHatEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->jhat);
+ OUTPUT:
+ RETVAL
+@@ -683,7 +683,7 @@
+ char *CLASS = "SDL::JoyButtonEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->jbutton);
+ OUTPUT:
+ RETVAL
+@@ -755,7 +755,7 @@
+ char *CLASS = "SDL::ResizeEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->resize);
+ OUTPUT:
+ RETVAL