summaryrefslogtreecommitdiff
path: root/emulators/mame/patches
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r--emulators/mame/patches/patch-3rdparty_bx_include_bx_os.h3
-rw-r--r--emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h3
-rw-r--r--emulators/mame/patches/patch-3rdparty_genie_build_gmake.bsd_genie.make34
-rw-r--r--emulators/mame/patches/patch-3rdparty_genie_build_gmake.solaris_genie.make34
-rw-r--r--emulators/mame/patches/patch-src_osd_sdl_sdlptty__unix.c14
5 files changed, 86 insertions, 2 deletions
diff --git a/emulators/mame/patches/patch-3rdparty_bx_include_bx_os.h b/emulators/mame/patches/patch-3rdparty_bx_include_bx_os.h
index 66fc1c7648a..9c9109004eb 100644
--- a/emulators/mame/patches/patch-3rdparty_bx_include_bx_os.h
+++ b/emulators/mame/patches/patch-3rdparty_bx_include_bx_os.h
@@ -1,6 +1,7 @@
-$NetBSD: patch-3rdparty_bx_include_bx_os.h,v 1.3 2015/10/02 07:55:53 wiz Exp $
+$NetBSD: patch-3rdparty_bx_include_bx_os.h,v 1.4 2015/11/13 14:11:49 wiz Exp $
Add NetBSD support.
+https://github.com/mamedev/mame/pull/464
--- 3rdparty/bx/include/bx/os.h.orig 2015-09-30 06:29:01.000000000 +0000
+++ 3rdparty/bx/include/bx/os.h
diff --git a/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h b/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
index 07872214e9d..ec8f5145315 100644
--- a/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
+++ b/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
@@ -1,6 +1,7 @@
-$NetBSD: patch-3rdparty_bx_include_bx_platform.h,v 1.3 2015/10/02 07:55:53 wiz Exp $
+$NetBSD: patch-3rdparty_bx_include_bx_platform.h,v 1.4 2015/11/13 14:11:49 wiz Exp $
Add NetBSD support.
+https://github.com/mamedev/mame/pull/464
--- 3rdparty/bx/include/bx/platform.h.orig 2015-09-30 06:29:01.000000000 +0000
+++ 3rdparty/bx/include/bx/platform.h
diff --git a/emulators/mame/patches/patch-3rdparty_genie_build_gmake.bsd_genie.make b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.bsd_genie.make
new file mode 100644
index 00000000000..a45ea3986b6
--- /dev/null
+++ b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.bsd_genie.make
@@ -0,0 +1,34 @@
+$NetBSD: patch-3rdparty_genie_build_gmake.bsd_genie.make,v 1.1 2015/11/13 14:11:49 wiz Exp $
+
+Remove reference to non-existing file.
+https://github.com/mamedev/mame/pull/464
+
+--- 3rdparty/genie/build/gmake.bsd/genie.make.orig 2015-10-28 07:06:12.000000000 +0000
++++ 3rdparty/genie/build/gmake.bsd/genie.make
+@@ -56,7 +56,6 @@ ifeq ($(config),release)
+ $(OBJDIR)/src/host/os_chdir.o \
+ $(OBJDIR)/src/host/os_copyfile.o \
+ $(OBJDIR)/src/host/os_getcwd.o \
+- $(OBJDIR)/src/host/os_getversion.o \
+ $(OBJDIR)/src/host/os_is64bit.o \
+ $(OBJDIR)/src/host/os_isdir.o \
+ $(OBJDIR)/src/host/os_isfile.o \
+@@ -134,7 +133,6 @@ ifeq ($(config),debug)
+ $(OBJDIR)/src/host/os_chdir.o \
+ $(OBJDIR)/src/host/os_copyfile.o \
+ $(OBJDIR)/src/host/os_getcwd.o \
+- $(OBJDIR)/src/host/os_getversion.o \
+ $(OBJDIR)/src/host/os_is64bit.o \
+ $(OBJDIR)/src/host/os_isdir.o \
+ $(OBJDIR)/src/host/os_isfile.o \
+@@ -252,10 +250,6 @@ $(OBJDIR)/src/host/os_getcwd.o: ../../sr
+ @echo $(notdir $<)
+ $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
+
+-$(OBJDIR)/src/host/os_getversion.o: ../../src/host/os_getversion.c
+- @echo $(notdir $<)
+- $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
+-
+ $(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c
+ @echo $(notdir $<)
+ $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
diff --git a/emulators/mame/patches/patch-3rdparty_genie_build_gmake.solaris_genie.make b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.solaris_genie.make
new file mode 100644
index 00000000000..28fbd900992
--- /dev/null
+++ b/emulators/mame/patches/patch-3rdparty_genie_build_gmake.solaris_genie.make
@@ -0,0 +1,34 @@
+$NetBSD: patch-3rdparty_genie_build_gmake.solaris_genie.make,v 1.1 2015/11/13 14:11:49 wiz Exp $
+
+Remove reference to non-existing file.
+https://github.com/mamedev/mame/pull/464
+
+--- 3rdparty/genie/build/gmake.solaris/genie.make.orig 2015-10-28 07:06:12.000000000 +0000
++++ 3rdparty/genie/build/gmake.solaris/genie.make
+@@ -56,7 +56,6 @@ ifeq ($(config),release)
+ $(OBJDIR)/src/host/os_chdir.o \
+ $(OBJDIR)/src/host/os_copyfile.o \
+ $(OBJDIR)/src/host/os_getcwd.o \
+- $(OBJDIR)/src/host/os_getversion.o \
+ $(OBJDIR)/src/host/os_is64bit.o \
+ $(OBJDIR)/src/host/os_isdir.o \
+ $(OBJDIR)/src/host/os_isfile.o \
+@@ -134,7 +133,6 @@ ifeq ($(config),debug)
+ $(OBJDIR)/src/host/os_chdir.o \
+ $(OBJDIR)/src/host/os_copyfile.o \
+ $(OBJDIR)/src/host/os_getcwd.o \
+- $(OBJDIR)/src/host/os_getversion.o \
+ $(OBJDIR)/src/host/os_is64bit.o \
+ $(OBJDIR)/src/host/os_isdir.o \
+ $(OBJDIR)/src/host/os_isfile.o \
+@@ -252,10 +250,6 @@ $(OBJDIR)/src/host/os_getcwd.o: ../../sr
+ @echo $(notdir $<)
+ $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
+
+-$(OBJDIR)/src/host/os_getversion.o: ../../src/host/os_getversion.c
+- @echo $(notdir $<)
+- $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
+-
+ $(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c
+ @echo $(notdir $<)
+ $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
diff --git a/emulators/mame/patches/patch-src_osd_sdl_sdlptty__unix.c b/emulators/mame/patches/patch-src_osd_sdl_sdlptty__unix.c
new file mode 100644
index 00000000000..b0451afb489
--- /dev/null
+++ b/emulators/mame/patches/patch-src_osd_sdl_sdlptty__unix.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_osd_sdl_sdlptty__unix.c,v 1.1 2015/11/13 14:11:49 wiz Exp $
+
+https://github.com/mamedev/mame/pull/464
+
+--- src/osd/sdl/sdlptty_unix.c.orig 2015-10-28 07:06:12.000000000 +0000
++++ src/osd/sdl/sdlptty_unix.c
+@@ -19,6 +19,7 @@
+ # include <termios.h>
+ # include <libutil.h>
+ #elif defined(SDLMAME_NETBSD) || defined(SDLMAME_MACOSX)
++# include <termios.h>
+ # include <util.h>
+ #elif defined(SDLMAME_OPENBSD)
+ # include <termios.h>