sync ports with The Matrix

This commit is contained in:
purplerain 2023-08-18 18:38:43 +00:00
parent 2c0afcbbf3
commit b72ce7a5e9
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
1248 changed files with 11809 additions and 12798 deletions

View file

@ -1,37 +0,0 @@
Index: Build.PL
--- Build.PL.orig
+++ Build.PL
@@ -35,7 +35,7 @@ my %subsystems =
SDL => {
file => {
from => 'src/SDL.xs',
- to => 'src/SDL_perl.xs',
+ to => './SDL_perl.xs',
},
libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx
png jpeg smpeg )],
@@ -43,14 +43,14 @@ my %subsystems =
OpenGL => {
file => {
from => 'src/OpenGL.xs',
- to => 'src/SDL/OpenGL.xs',
+ to => 'SDL/OpenGL.xs',
},
libraries => [qw( SDL GL GLU )],
},
SFont => {
file => {
from => 'src/SFont.xs',
- to => 'src/SDL/SFont.xs',
+ to => 'SDL/SFont.xs',
},
libraries => [qw( SDL SDL_image )],
},
@@ -123,6 +123,7 @@ my %xs = map { $subsystems{$_}{file}{from} => $subsyst
keys %subsystems;
my $build = SDL::Build->new(
+ module_name => 'SDL',
dist_name => 'SDL_Perl',
license => 'lgpl',
dist_version_from => 'lib/SDL.pm',

View file

@ -1,11 +0,0 @@
--- src/OpenGL.xs.orig Wed Oct 5 02:25:49 2005
+++ src/OpenGL.xs Mon May 25 14:07:37 2009
@@ -23,7 +23,7 @@
#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFF
#endif /* GL_ALL_CLIENT_BITS */
-#include "../defines.h"
+#include "../src/defines.h"
SV* sdl_perl_nurbs_error_hook;
void

View file

@ -5,17 +5,8 @@ the wrong function, but the handshake accepts it.
Index: src/SDL.xs
--- src/SDL.xs.orig
+++ src/SDL.xs
@@ -69,7 +69,7 @@ static int sdl_perl_use_smpeg_audio = 0;
#define HAVE_TLS_CONTEXT
#endif
-#include "defines.h"
+#include "src/defines.h"
Uint32
sdl_perl_timer_callback ( Uint32 interval, void* param )
@@ -189,13 +189,13 @@ sdl_perl_atexit (void)
#endif
@@ -219,13 +219,13 @@ sdl_perl_atexit (void)
SDL_Quit();
}
-void boot_SDL();
@ -30,21 +21,3 @@ Index: src/SDL.xs
}
MODULE = SDL_perl PACKAGE = SDL
@@ -3911,7 +3911,7 @@ GFXFilledpieColor ( dst, x, y, rad, start, end, color
Sint16 end;
Uint32 color;
CODE:
- RETVAL = filledpieColor( dst, x, y, rad, start, end, color );
+ RETVAL = filledPieColor( dst, x, y, rad, start, end, color );
OUTPUT:
RETVAL
@@ -3928,7 +3928,7 @@ GFXFilledpieRGBA ( dst, x, y, rad, start, end, r, g, b
Uint8 b;
Uint8 a;
CODE:
- RETVAL = filledpieRGBA( dst, x, y, rad, start, end, r, g, b, a );
+ RETVAL = filledPieRGBA( dst, x, y, rad, start, end, r, g, b, a );
OUTPUT:
RETVAL

View file

@ -1,13 +0,0 @@
--- src/SFont.xs.orig Wed Oct 5 02:25:49 2005
+++ src/SFont.xs Mon May 25 14:09:52 2009
@@ -23,8 +23,8 @@
#define HAVE_TLS_CONTEXT
#endif
-#include "../defines.h"
-#include "../SFont.h"
+#include "../src/defines.h"
+#include "../src/SFont.h"
#ifdef HAVE_SDL_IMAGE
#include <SDL_image.h>

View file

@ -1,10 +0,0 @@
--- typemap.orig Wed Oct 5 02:25:49 2005
+++ typemap Mon May 25 14:08:13 2009
@@ -54,6 +54,7 @@ GLboolean T_U_CHAR
GLUnurbsObj * T_PTR
GLUtesselator * T_PTR
GLuint T_UV
+GLint T_IV
GLint* T_PTR
float * T_PTR
float T_NV