head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.38 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.36 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.34 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.32 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.30 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.28 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.26 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.24 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.22 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.20 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.18 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.16 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.14 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.12 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.10 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2021.08.24.13.50.07; author nia; state Exp; branches; next 1.2; commitid YNYnOXeLdMjnge6D; 1.2 date 2021.07.04.07.47.39; author nia; state Exp; branches; next 1.1; commitid D22BYqhWgR6XTDZC; 1.1 date 2020.06.02.13.25.00; author nia; state Exp; branches; next ; commitid 5qyearl4rF9RwEaC; desc @@ 1.3 log @gearsystem: update to 3.4.0 changes: All platforms: BIOS support. 3D glasses support (choose eye). Janggun mapper. Fix incorrect region detection. Many performance improvements. Several bug fixes. Windows , Linux and Mac (desktop): Fullscreen. Multi-line cheat input to add multiple cheats in batch. BSD support. Debugger: go-to address, double click in jumps, back, memory breakpoints. RetroArch (libretro): Apple TV macOS ARM OpenDingux @ text @$NetBSD: patch-platforms_desktop-shared_Makefile.common,v 1.2 2021/07/04 07:47:39 nia Exp $ Avoid overriding variables we want to pass through pkgsrc. --- platforms/desktop-shared/Makefile.common.orig 2021-08-13 21:24:47.000000000 +0000 +++ platforms/desktop-shared/Makefile.common @@@@ -1,11 +1,5 @@@@ - -CXX = g++ -#CXX = clang++ - EXE = gearsystem -GIT_VERSION := "$(shell git describe --abbrev=7 --dirty --always --tags)" - EMULATOR_SRC=../../src EMULATOR_DESKTOP_SHARED_SRC=../desktop-shared EMULATOR_AUDIO_SRC=$(EMULATOR_SRC)/audio @@@@ -27,14 +21,14 @@@@ OBJS = $(addsuffix .o, $(basename $(notd UNAME_S := $(shell uname -s) -CXXFLAGS = -I../ -I../../ +CXXFLAGS += -I../ -I../../ CXXFLAGS += -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"$(GIT_VERSION)\" DEBUG ?= 0 ifeq ($(DEBUG), 1) CXXFLAGS +=-DDEBUG -g3 else - CXXFLAGS +=-DNDEBUG -O3 -flto + CXXFLAGS +=-DNDEBUG endif SANITIZE ?= 0 @ 1.2 log @gearsystem: update to 3.3.0 All platforms: Many performance improvements. Several bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-platforms_desktop-shared_Makefile.common,v 1.1 2020/06/02 13:25:00 nia Exp $ d5 1 a5 1 --- platforms/desktop-shared/Makefile.common.orig 2021-02-14 19:39:03.000000000 +0000 d14 1 a14 1 -GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always --tags)" d29 1 a29 1 CXXFLAGS +=-DDEBUG -g3 -fsanitize=address d31 1 a31 1 - CXXFLAGS +=-DNDEBUG -O3 d35 1 a35 28 LIBS = @@@@ -48,7 +42,7 @@@@ ifeq ($(UNAME_S), Linux) #LINUX LIBS += -lGL -lGLEW -ldl `sdl2-config --libs` CXXFLAGS += `sdl2-config --cflags` - CFLAGS = $(CXXFLAGS) + CFLAGS += $(CXXFLAGS) endif ifeq ($(UNAME_S), Darwin) #APPLE @@@@ -58,7 +52,7 @@@@ ifeq ($(UNAME_S), Darwin) #APPLE CXXFLAGS += `sdl2-config --cflags` CXXFLAGS += -I/usr/local/include -I/opt/local/include - CFLAGS = $(CXXFLAGS) + CFLAGS += $(CXXFLAGS) endif ifeq ($(findstring MINGW,$(UNAME_S)),MINGW) @@@@ -95,7 +89,7 @@@@ all: $(EXE) @@echo Build complete for $(ECHO_MESSAGE) $(EXE): $(OBJS) - $(CXX) -o $@@ $^ $(CXXFLAGS) $(LIBS) + $(CXX) -o $@@ $^ $(LDFLAGS) $(LIBS) clean: rm -f $(EXE) $(OBJS) @ 1.1 log @emulators: add gearsystem Gearsystem is a cross-platform Sega Master System / Game Gear / SG-1000 emulator written in C++. ## Features - Accurate Z80 core, including undocumented opcodes and behaviour like R and MEMPTR registers. - Multi-Mapper support: SEGA, Codemasters, Korean, MSX, SG-1000, and ROM only cartridges. - External RAM support with save files. - Automatic region detection: NTSC-JAP, NTSC-USA, PAL-EUR. - Accurate VDP emulation including timing and SMS2 only 224 mode support. - Internal database for rom detection. - Audio emulation using SDL Audio and Sms_Snd_Emu library. - Saves battery powered RAM cartridges to file. - Save states. - Compressed rom support (ZIP deflate). - Game Genie and Pro Action Replay cheat support. - Full debugger with disassembler, breakpoints, debug symbols, memory editor, IO inspector and and VRAM viewer including tiles, sprites, backgrounds and palettes. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- platforms/desktop-shared/Makefile.common.orig 2020-05-23 18:52:56.000000000 +0000 d7 13 a19 1 @@@@ -27,14 +27,14 @@@@ OBJS = $(addsuffix .o, $(basename $(notd d29 1 a29 2 - CXXFLAGS +=-DDEBUG -g3 + CXXFLAGS +=-DDEBUG d36 1 a36 1 @@@@ -48,7 +48,7 @@@@ ifeq ($(UNAME_S), Linux) #LINUX d45 1 a45 1 @@@@ -58,7 +58,7 @@@@ ifeq ($(UNAME_S), Darwin) #APPLE d54 1 a54 1 @@@@ -95,7 +95,7 @@@@ all: $(EXE) @