aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl12/Makefile1
-rw-r--r--devel/sdl12/files/patch-src_cdrom_freebsd_SDL_syscdrom.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 6c5115669dd7..922dc93c0aaa 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -8,6 +8,7 @@
PORTNAME= sdl
PORTVERSION= 1.2.15
PORTEPOCH= 2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/
DISTNAME= SDL-${PORTVERSION}
diff --git a/devel/sdl12/files/patch-src_cdrom_freebsd_SDL_syscdrom.c b/devel/sdl12/files/patch-src_cdrom_freebsd_SDL_syscdrom.c
new file mode 100644
index 000000000000..79a1074f1634
--- /dev/null
+++ b/devel/sdl12/files/patch-src_cdrom_freebsd_SDL_syscdrom.c
@@ -0,0 +1,11 @@
+--- src/cdrom/freebsd/SDL_syscdrom.c.orig 2012-03-14 08:36:58.000000000 +0100
++++ src/cdrom/freebsd/SDL_syscdrom.c 2012-03-14 08:36:11.000000000 +0100
+@@ -188,7 +188,7 @@
+ char *insert;
+ exists = 1;
+ for ( j=checklist[i][1]; exists; ++j ) {
+- SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%sc", &checklist[i][3]);
++ SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", &checklist[i][3]);
+ insert = SDL_strchr(drive, '?');
+ if ( insert != NULL ) {
+ *insert = j;