aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64plus-sdlinput
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-05-20 19:06:15 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-05-20 19:06:15 +0000
commit168ce6617b795931cf862fe93c3226a4d4a3b9fe (patch)
tree5da0fdaeac817d72f0cf4bd7d7773705db8d6ab9 /emulators/mupen64plus-sdlinput
parent78e0a6f37b6c267c36ae168547d2edd38a107c47 (diff)
downloadports-168ce6617b795931cf862fe93c3226a4d4a3b9fe.tar.gz
ports-168ce6617b795931cf862fe93c3226a4d4a3b9fe.zip
Notes
Diffstat (limited to 'emulators/mupen64plus-sdlinput')
-rw-r--r--emulators/mupen64plus-sdlinput/Makefile24
-rw-r--r--emulators/mupen64plus-sdlinput/files/patch-blight_input_SDL_ttf.c19
2 files changed, 43 insertions, 0 deletions
diff --git a/emulators/mupen64plus-sdlinput/Makefile b/emulators/mupen64plus-sdlinput/Makefile
new file mode 100644
index 000000000000..62db916570da
--- /dev/null
+++ b/emulators/mupen64plus-sdlinput/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: mupen64plus-sdlinput
+# Date created: 2008-05-16
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -sdlinput
+
+COMMENT= Blight's SDL input plugin for Mupen64plus
+
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
+
+FIXFILES= #
+
+USE_SDL= sdl ttf
+
+PLUGIN_NAME= blight_input
+
+MASTERDIR= ${.CURDIR}/../mupen64plus-base
+
+OPTIONS= #
+
+.include "${MASTERDIR}/Makefile"
diff --git a/emulators/mupen64plus-sdlinput/files/patch-blight_input_SDL_ttf.c b/emulators/mupen64plus-sdlinput/files/patch-blight_input_SDL_ttf.c
new file mode 100644
index 000000000000..54d968d417df
--- /dev/null
+++ b/emulators/mupen64plus-sdlinput/files/patch-blight_input_SDL_ttf.c
@@ -0,0 +1,19 @@
+--- blight_input/SDL_ttf.c 2007-10-08 01:36:42.000000000 -0500
++++ blight_input/SDL_ttf.c 2007-10-08 01:39:03.000000000 -0500
+@@ -48,7 +48,6 @@
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+ */
+-#include <freetype/internal/ftobjs.h>
+
+ #ifndef FT_OPEN_STREAM
+ #define FT_OPEN_STREAM ft_open_stream
+@@ -275,7 +274,7 @@
+ }
+ memset(stream, 0, sizeof(*stream));
+
+- stream->memory = library->memory;
++ stream->memory = NULL;
+ stream->read = RWread;
+ stream->descriptor.pointer = src;
+ stream->pos = (unsigned long)position;