ports/emulators/fceux/files/patch-src_drivers_Qt_keyscan.cpp
Robert Clausecker 09490acc3f emulators/fceux: Update to 2.6.5
An interim release, gathering bug fixes and improvements from the past
year.

 - move REINPLACE_CMD usage to pre-configure to make make makepatch
   easier to use.
 - commit 2d34c2b for PR #262886 has changed the package list to
   ship a man page we explicitly did not want to ship.  Fix the
   post-install target and pkg-plist to continue not shipping the
   man page.

Changelog: https://fceux.com/web/pressrelease-2.6.5.html

Approved by:	eduardo (mentor)
Differential Revision: https://reviews.freebsd.org/D38517
2023-02-14 21:18:58 +01:00

11 lines
363 B
C++

--- src/drivers/Qt/keyscan.cpp.orig 2023-02-13 00:05:10 UTC
+++ src/drivers/Qt/keyscan.cpp
@@ -46,7 +46,7 @@ static uint32_t AltKeyCodeR = VK_RMENU;
static uint32_t MetaKeyCodeR = VK_RWIN;
static BYTE keyBuf[256];
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
#if defined(_HAS_XKB)
#include <xkbcommon/xkbcommon.h>