summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-11-18 16:05:07 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-11-18 16:05:07 +0000
commit34669c4d0f4c0b428aa46797bd70a9d4ae247b0e (patch)
tree3d9c35eb8120a75636deafb91d9dc284b4c47e94 /dev-perl/sdl-perl/files
parentRemove old versions. (diff)
downloadgentoo-2-34669c4d0f4c0b428aa46797bd70a9d4ae247b0e.tar.gz
gentoo-2-34669c4d0f4c0b428aa46797bd70a9d4ae247b0e.tar.bz2
gentoo-2-34669c4d0f4c0b428aa46797bd70a9d4ae247b0e.zip
Bug 95051, patch from Mark
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'dev-perl/sdl-perl/files')
-rw-r--r--dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r33
-rw-r--r--dev-perl/sdl-perl/files/sdl-perl-2.1.3-gfxPie.patch33
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r3 b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r3
new file mode 100644
index 000000000000..8f50e1ed9e03
--- /dev/null
+++ b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r3
@@ -0,0 +1,3 @@
+MD5 6ce26e1b710ce52def4ec22637cd5176 SDL_Perl-2.1.3.tar.gz 782794
+RMD160 26a4d317d9a5761fc893b732f2236eaad8d12b88 SDL_Perl-2.1.3.tar.gz 782794
+SHA256 055e4eee85089cf9f7305e68580082fabb624c28199840cf91838b673539b082 SDL_Perl-2.1.3.tar.gz 782794
diff --git a/dev-perl/sdl-perl/files/sdl-perl-2.1.3-gfxPie.patch b/dev-perl/sdl-perl/files/sdl-perl-2.1.3-gfxPie.patch
new file mode 100644
index 000000000000..461eccd9ed38
--- /dev/null
+++ b/dev-perl/sdl-perl/files/sdl-perl-2.1.3-gfxPie.patch
@@ -0,0 +1,33 @@
+--- src/SDL.xs~ 2003-03-27 12:17:23.000000000 +0200
++++ src/SDL.xs 2005-02-25 20:32:07.353170226 +0200
+@@ -71,6 +71,7 @@
+ #include <SDL_gfxPrimitives.h>
+ #include <SDL_framerate.h>
+ #include <SDL_imageFilter.h>
++#define PERL_SDL_GFXVERSION SDL_VERSIONNUM(SDL_GFXPRIMITIVES_MAJOR,SDL_GFXPRIMITIVES_MINOR,SDL_GFXPRIMITIVES_MICRO)
+ #endif
+
+ #ifdef USE_THREADS
+@@ -3742,7 +3743,11 @@
+ Sint16 end;
+ Uint32 color;
+ CODE:
++#if PERL_SDL_GFXVERSION >= 2012
++ RETVAL = filledPieColor( dst, x, y, rad, start, end, color );
++#else
+ RETVAL = filledpieColor( dst, x, y, rad, start, end, color );
++#endif
+ OUTPUT:
+ RETVAL
+
+@@ -3759,7 +3764,11 @@
+ Uint8 b;
+ Uint8 a;
+ CODE:
++#if PERL_SDL_GFXVERSION >= 2012
++ RETVAL = filledPieRGBA( dst, x, y, rad, start, end, r, g, b, a );
++#else
+ RETVAL = filledpieRGBA( dst, x, y, rad, start, end, r, g, b, a );
++#endif
+ OUTPUT:
+ RETVAL