freebsd-ports/emulators/ares/files/patch-nall_GNUmakefile
Stefan Schlosser 9e6023ac0e emulators/ares: update 139.20240809 → 139.20240823
The most notable change to the port is my inclusion of an inofficial
patch to control the behaviour of hotkey execution in the emulator.
This patch is behind the HOTKEYS option, disabled by default.
This patch won't be accepted upstream with its current scope.

Currently hotkeys share the binding space with regular game inputs.
This can be problematic for gamepad-only users who want to bind some
hotkey functions (screenshots, save state, load state, quit emulator,
etc...) to gamepad buttons but who don't have enough unassigned buttons
left on the gamepad. The patch prevents the execution of hotkey actions
unless the emulator is paused. This way users can assign many hotkey
actions to gamepad buttons and access them with pausing the emulator.

Commit changes:
a76847d..3cd82c8

Port changes:
 * add HOTKEYS option, disabled by default
 * remove upstreamed 'unbreak i386 build' patch
 * use SUB_LIST to update recommended librashader version in pkg-message
 * replace 'doas' with 'su' in pkg-message - 'doas' is not in base

PR:	281023
2024-08-24 17:27:00 +03:00

29 lines
727 B
Text

--- nall/GNUmakefile.orig 2024-08-16 16:33:46 UTC
+++ nall/GNUmakefile
@@ -169,8 +169,6 @@ ifeq ($(build),debug)
lto = false
ifeq ($(cl),true)
flags += -Od
- else
- flags += -Og
endif
flags += -DBUILD_DEBUG
else ifeq ($(build),stable)
@@ -178,7 +176,7 @@ else ifeq ($(build),release)
else ifeq ($(build),minified)
flags += -Os -DBUILD_MINIFIED
else ifeq ($(build),release)
- flags += -O2 -DBUILD_RELEASE
+ flags += -DBUILD_RELEASE
else ifeq ($(build),optimized)
ifeq ($(cl),true)
flags += -O2
@@ -323,8 +321,6 @@ ifeq ($(platform),bsd)
# bsd settings
ifeq ($(platform),bsd)
- flags += -I/usr/local/include
- options += -Wl,-rpath=/usr/local/lib
options += -lstdc++ -lm
endif