pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators emulators/snes9x[-gtk]: update to 1.58.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7b6709674a9
branches:  trunk
changeset: 317180:e7b6709674a9
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 01 22:16:14 2019 +0000

description:
emulators/snes9x[-gtk]: update to 1.58.

also, rework gtk libretro-snes9x to use emulators/snes9x/Makefile.common

take maintainership since i was basically maintaining the libretro package
which was already the most up to date version in pkgsrc and now everything
uses Makefile.common.

Changelog:

Snes9x 1.58
- Move the LICENSE file to the base directory and use a stub
  in all the source files referring to it.
- Adjust Chou Aniki timing hack.
- Use 1-based numbering when displaying pressed keys.
- Hide controller port if disabled when displaying keys.
- Fix movie playback. (OV2, BearOso)

 libretro:
- Fix interlaced modes when overscan crop is enabled.
- Allow overriding -flto. (orbea)

 GTK+:
- Use shared snes_ntsc implementation.
- Remove extra LGPL licensing to avoid confusion.
- Don't translate config file entries. Fixes breakage on
  non-C languages.
- Fix issue where config file doesn't contain all configurable
  entries.
- Remove config options for Netplay, Joystick, and JMA. SDL 2.0
  is now mandatory.
- Updated gettext and removed intltool. update-po should now catch
  all translatable strings.
- If available, reduce input lag option will now use fences instead
  of glFinish to prevent hogging the CPU.
- Onscreen text can be variable width and will show up in some more
  cases now.

 Win32:
- Add audio device selection (XAudio2 only)

Snes9x 1.57
- Various seta010 emulation fixes.                          (kps501)
- Pass blargg OAM tests with proper write behavior.         (BearOso)
- Prevent interlacing in BG modes 1-4.                      (BearOso)
- Corrected IRQ and NMI emulation to allow more games to
  work properly.                                            (BearOso, OV2)
- Use 1 instead of 0 for initial PPU left window coordinate,
  fixing garbage in left column of pixels in some games.    (turhope)
- Added interpolation option hack for DSP.                  (kps501, mudlord,
                                                            BearOso)
- Added sprite-tile limit disabling hack.                   (Tatsuya79)
- Added libretro's fast snapshot support.                   (OV2)
- Add overclocking hack that increases IPC                  (retrotalker)
- Fix controller initialization issues preventing some games
  from using multitap.                                      (retrotalker)
- Proper write behavior for register $2122.                 (BearOso)
- Fix transparency issue with Star Fox asteroids.           (redguy, BearOso)
- Increase SuperFX speed to more accurately represent
  hardware, and fix bugs with Stunt Race FX and Yoshi's
  Island.                                                   (BearOso)
- Resize viewport on state load.                            (retrotalker)
- Many fixes to variables not saved or saved incorrectly in
  save states.                                              (Dwedit)
- Pass decimal tests in blargg's math test ROMs.            (BearOso)
- Remove memory leak in loadzip.cpp.                        (bonimy)
- Fix screen size not reverting when overscan is turned on
  then off mid-frame.                                       (BearOso)

 Win32:
- Include DirectDraw libraries and compile with DirectDraw
  support by default.                                       (OV2)
- Add a link to DirectX installer in error message displayed
  when the needed DirectX libraries can't be found.         (OV2)
- Save window position when exiting via menu                (OV2)
- Make custom ROM dialog resizable.                         (OV2)
- Fix various cheat dialog issues.                          (OV2)
- Remove d3d9x DLL dependency by using DirectXMath.         (OV2)
- Remove rarely-used HLSL shader option.                    (OV2)
- Add InitialSnapshotFilename support.                      (BearOso)
- Disable BG toggle keys by default.                        (BearOso)
- Proper centering and cropping for overscanned and
  regular height modes.                                     (OV2)
- Remove ability to disable the SNES's hires modes.         (OV2)
- Added a Super Famicom-style icon resource to the EXE.     (BearOso)

 MacOS:
- Partial support for new cheats format.                    (OV2)
- Fix MacOS build.                                          (marconett)
- Set default for new config options.                       (tmkk)
- Fix compilation on Mac OS Mojave                          (meepingsnesroms)

 libretro:
- Massive update of libretro code to latest downstream.      (fr500, kps501,
                                                             OV2, twinaphex,
                                                             BearOso,
                                                             hiddenasbestos,
                                                             m4xw, kxyxz,
                                                             claudiuslollarius)

 GTK+:
- Use datarootdir instead of datadir on install.            (orbea)
- Fix --with-system-zip configure flag.                     (BearOso)
- Draw interlaced fields when ready.                        (BearOso)
- Initial Wayland support.                                  (remicalixte)
- Allow XV only in X11.                                     (BearOso)
- Add Wayland support via EGL.                              (BearOso)
- Significant rewrite of OpenGL driver to support newer
  standards. This won't work on cards < OpenGL ~1.5.        (BearOso)
- Changed frameskip option to speed throttling option with
  simpler, but more relevant methods of speed control.      (BearOso)
- Add support for relative-style save slots.                (ichigo-0, BearOso)
- Remove XML config file format in favor of one more like
  Win32. Make joystick bindings and more options human-
  readable and editable.                                    (BearOso)
- Try more device nodes when initializing OSS.              (BearOso)

Snes9x 1.56.2
- Fixed IRQ corner case that caused Umihara Kawase's water
  to cover the whole screen.                                (BearOso)
- Adjusted IRQ timing slightly. Fixes Dragon Ball Z - Super
  Butouden 2.                                               (BearOso)
- Clear WAI when IRQLine is active. Fixes Top Gear 3000.    (BearOso)
- Fix reading the wrong tile data in mosaic drawing. Gets
  rid of glitch at top of FF6 battle transitions.           (BearOso)
- Break a specific opcode into cycles. Fixes Little Magic.  (BearOso)
- Win32: Don't mix garbage into the last line with NTSC
  filter.                                                   (OV2)
- Win32: Allow disabling scanlines in NTSC filter.          (BearOso)
- GTK+: Added an undo load state option.                    (BearOso)
- GTK+: Fixed compilation on big-endian systems.            (OV2)
- Win32, GTK+: Added integer scaling option.                (BearOso)
- GTK+, Unix: Preserve current joypad state when rewinding. (BearOso)

Snes9x 1.56.1
- Automatic input rate now only works for close multiples   (BearOso)
  of 60Hz.
- Win32: Cheats are now shown in the correct order in the   (BearOso)
  list view.
- GTK+: Check for version greater than 3.22 when using GTK+ (BearOso)
  3.
- GTK+: Don't resize code and description field in GTK+ 2.  (BearOso)

Snes9x 1.56
- Increased the speed of SA1 emulation to match hardware    (BearOso)
  more closely.
- Fixed negative SA1 division                               (BearOso, Jonas Quinn)
- Changed the location where we poll input to potentially   (Brunnis, BearOso)
  reduce lag.
- Fixed the interlace fields being swapped after skipping   (BearOso)
  frames.
- More updates for BS-X support.                            (LuigiBlood)
- Updated xBRZ to version 1.6.                              (zenju, OV2)
- Added a DMA timing hack for rpgone's Koryu no Mimi        (OV2)
  translation.
- Updated HDMA to not update indirect addresses until after (BearOso)
  transfers are completed.
- Improved cheats support. This stores cheats in a human-   (BearOso, OV2)
  readable and editable format as gamename.cht. Cheats are
  converted from the old format on load. They can be added
  in many different formats, but they will convert to the
  simple address=condition?byte format.
  Also, now included is mightymo's cheat database, and the
  ability to match a game and automatically load cheats
  from it.
- Don't reset a pending NMI on vblank end. Fixes Super      (furrykef)
  Punch-Out.
- Redo NMI timing. Fixes Secret of Evermore (PAL).          (BearOso)
- Test for transparency before dithering on SuperFX. This   (RedGuy(yyy))
  fixes some graphical artifacts in Star Fox.
- Change some of the SDD1 guesswork mapping. Fixes a Tales  (BearOso)
  of Phantasia hack.
- Return PPU1 MDR for reads of $2137 instead of CPU MDR.    (BearOso)
  Fixes Mario's Time Machine graphical glitch.
- Memset less memory for sprite calculations.               (Nebuleon)
- Don't spuriously update register 14 when running SuperFX. (BearOso)
  Fixes graphical glitches in Doom.
- Added a SuperFX clock modifier variable.                  (BearOso)
- Write CPU MDR during some DMA and HDMA transfers. Fixes   (BearOso)
  Speedy Gonzales and Funaki Masakatsu Hybrid Wrestler.
- Calculate next IRQ time in advance instead of continously (BearOso, OV2)
  checking for it.
- Added some IRQ timing quirks. Fixes at least Marko's      (BearOso, OV2)
  Magic Football.
- Fixed wrong tile selection in offset-per-tile mode.       (BearOso)
- Advance the VRAM pointer even if VRAM writes at the time  (kps501)
  are invalid.
- Return 0x80 instead of 0xff in DSP1 simulation. Fixes     (kps501)
  Powerfest '94 Mario Kart.
- Initialize controllers on reset. Fixes Looney Tunes       (kps501)
  B-Ball multitap.
- Attached APU instruction tracer and made some additions   (BearOso)
  to debugging output.
- Fix line doubling in interlaced mode.                     (kps501)
- Added support for M.A.C.S. rifle peripheral.              (kps501)
- Fixed a bug where the MSU1 channels were reversed.        (qwertymodo)
- Win32: Added dynamic rate control support for XAudio2     (OV2)
- Win32: Added different volume level configuration for     (OV2)
  regular and turbo speed.
- Win32: Added option to disable EPX scaling for messages   (OV2)
- Win32: Improve multi-rom loading.                         (OV2)
- Win32: Add libpng and zlib dependencies as submodules for (qwertymodo, OV2)
  easier compiling from source.
- Win32: Fixed icon registration.                           (OV2)
- Win32: Better support for running while unfocused.        (OV2)
- Win32: Changed icon.                                      (BearOso)
- Win32: Report hidpi support.                              (BearOso)
- Win32: Added mute hotkey and hotkeys for saving/loading   (OV2)
  from file.
- Win32: Disabled hotplugging in favor of a menu option to  (OV2)
  reconfigure joysticks.
- Win32: Added a reduce input lag option.                   (BearOso)
- Win32: Added ability to use GLSLP shaders with OpenGL,    (OV2)
  including a dialog to tweak custom parameters.
- GTK+: Added dynamic rate control support for audio to     (BearOso)
  reduce buffer overflows and underflows.
- GTK+: Increased SDL requirement to version 2.0. This      (BearOso)
  improves joystick compatibility.
- GTK+: Improved GTK+ 3.0 support and made it the default.  (BearOso)
- GTK+: Added ability to start from a snapshot on the       (julien2512)
  command line.
- GTK+: Added automatic input rate handling.                (BearOso)
- GTK+: Use 16-bit 5-6-5 pixel format for better colors.    (BearOso)
- GTK+: Now disables the compositor in fullscreen mode.     (BearOso)
- GTK+: Changed icon.                                       (BearOso)
- GTK+: Require libepoxy for OpenGL support.                (BearOso)
- GTK+: Add full compatibility with GLSLP shaders, with a   (BearOso)
  parameters dialog to configure them.
- Unix: Add xinerama support and window position hints.     (Francesco149)

Snes9x 1.55
- Added support for the MSU-1 coprocessor.                  (qwertymodo)
- Added support for MSU-1 distribution pack.                (qwertymodo)
- Added support for BS-X Satellaview memory packs and data  (LuigiBlood)
  files.
- Improved BS-X memory mapping accuracy.                    (LuigiBlood)
- Fixed APU error causing issues with some games.           (byuu, qwertymodo)
- Added option to ignore patch checksums.                   (qwertymodo)
- Fixed build warnings / undefined behavior.                (bonimy)
- Correct pixel placement in hires.                         (BearOso, OV2)
- Fixed RAM mapping for Light Fantasy.                      (hex_usr, BearOso)
- Added Circuit USA APU timing hack.                        (BearOso)
- libretro: Merged some changes from downstream repository. (OV2)
- GTK+: Allow use of XDG config directory.                  (BearOso)
- GTK+: Add 10th save slot.                                 (YamashitaRen)
- GTK+: Updated Spanish translation.                        (jristz)
- Win32: Switched to Studio 2017.                           (OV2)
- Win32: Fixed problems when minimized in d3d.              (OV2)
- Win32: Split Patch/Rom directory.                         (OV2)
- Win32: Simplified compilation by removing or including
  some dependencies (included CG headers, completely
  removed FMOD and FMOD_EX, moved direct draw to compile
  switch) and reworking solution/configurations.            (bonimy, OV2)
- Win32: Fixed crash with movie dialog                      (OV2)
- Win32: Changed hotplugging                                (OV2)

Snes9x 1.54.1
- GTK+: Properly use --std=c++11 when compiling xBRZ.       (BearOso)
- Win32: Save window position when toggling fullscreen.     (OV2)
- Win32: Do not assign down-left binding to down-right.     (OV2)

Snes9x 1.54
- Changed the S-SMP core module to one written by byuu.     (byuu, BearOso)
  This has the effect of increased accuracy, fewer
  speed hacks, but also regresses a few speed-hack games.
- Improved IRQ emulation in several cases.                  (OV2)
- Added rewind support.                                     (Themaister, OV2)
- Included libretro port.                                   (OV2, libretro team)
- Added bps soft-patching support                           (OV2)
- Fixed MMC bank register bit 7, restored 64mbit ExLoRom
  map                                                       (FuSoYa)
- GTK+, Windows: Added xBRZ filter                          (Zenju, OV2, nmagre)
- GTK+: Fixed several issues with GTK+3.                    (BearOso)
- GTK+: Added extra aspect ratio options.                   (BearOso)
- GTK+: Added option to mute sound when using turbo mode.   (BearOso)
- GTK+: Fixed expose handling to reduce overdraw and        (BearOso)
  improve performance.
- GTK+: Updated and universalized Spanish translation.      (jristz)
- Unix: Added Xv support and fixed several bugs.            (greg-kennedy)
- Win32: Added CG meta shader support                       (OV2, Themaister)
- Win32: Added support to detect joypad changes             (OV2)
- Win32: Fixed unicode command line parameters,
  Fixed controller command line parameters                  (OV2)
- Win32: Added quit hotkey                                  (OV2)
- Win32: Fixed custom rom dialog                            (OV2)
- Win32: Fixed various cheat dialog issues                  (gocha, OV2)
- Win32: Added hotkey for fast forward toggling             (gocha)
- Win32: Added drag and drop support for movies             (gocha)
- Win32: Fixed blargg filter for regular width hires        (OV2)
- Win32: Fixed snapshot loading from unicode paths          (OV2)
- Win32: Changed open-with file-association method, should
  no longer change explorer icons for otherwise
  unassociated extensions; removed legacy extensions        (OV2)

Snes9x 1.53

- Rebuilt IRQ handling.                                     (zones)
- Improved overall timings, now Snes9x can handle events in
  a opcode a little.                                        (zones)
- Improved screen interlace and sprite interlace supports.  (OV2, zones)
- Fixed Hi-Res pixel plotter.                               (BearOso, zones, OV2)
- Fixed C4 for Mega Man X2's "weapon get" screen.           (Jonas Quinn)
- Fixed Super Buster Bros. graphics after reset.            (Jonas Quinn)
- Improved SA-1 support.                                    (zones)
- Added SA-1 CC2 support.                                   (Jonas Quinn, byuu)
- Fixed SA-1 NMI override mode.                             (zones)
- Fixed Dual Orb 2 sound glitch.                            (byuu)
- New APU timing hack, fixes various games that exhibit
  problems with Blargg's SNES_SPC library.                  (OV2)
- Fixed the problem that echo buffer breaks IPL ROM.        (zones, OV2)
- Fixed movie snapshot unfreeze inconsistency.              (gocha)
- Faster config file saving.                                (OV2)
- Fixed BlockInvalidVRAMAccess config file option.
  (windows port, unix port and gtk legacy config)           (Jonas Quinn)
- Remove POSIX dup and access calls, and rename qword to
  fix compilation with Cell SDK.                            (BearOso)
- Fixed PS3 version save state crash by using heap
  allocation for soundsnapshot.                             (danieldematteis)
- Fixed crash relating to double-closed descriptor.         (BearOso)
- Removed CPUShutdown speedhack, DisableHDMA and
  DisableIRQ options.                                       (zones)
- Removed remaining outdated asm code.                      (zones)
- JMA 64 bit support.                                       (kode54, Nach, friedrich.goepel)
- GTK+, Win32, Mac: Added optional Hi-Res blending.         (BearOso, OV2, zones)
- GTK+, Win32: Support for bsnes-style XML shaders.         (BearOso, OV2)
- Win32: Full unicode support.                              (OV2)
- Win32: Restored OpenGL mode.                              (OV2)
- Win32: x64 version.                                       (OV2)
- Win32: HLSL shader support.                               (mudlord)
- Win32: Win7 jumplist synchronizes with recent roms list.  (OV2)
- Win32: Updated menu structure.                            (OV2)
- Win32: Drag&Drop support for ROMs.                        (gocha, OV2)
- Win32: Reworked movie-recording with size selection.      (gocha, OV2)
- Win32: Restored SPC save option.                          (OV2)
- Win32: Fixed vsync in DirectDraw.                         (OV2)
- Win32: Improved window position saving.                   (OV2)
- Win32: Restored compile with DEBUGGER.                    (gocha)
- Win32: Fixed various edge-case errors and/or possible
  leaks.                                                    (Brian Friesen)
- Win32: Config file option to always center image.         (OV2)
- Win32: Fixed "Turbo Down mode" hotkey assignment.         (gocha)
- Win32: Added and fixed Autofire for D-pad.                (gocha)
- Win32: Fixed aggressive soundsync wait.                   (OV2)
- Win32: Added window size presets.                         (OV2)
- Mac  : Added pause and frame advance functions.           (zones)
- Mac  : Now you can choose any folder for saving files.    (zones)
- Mac  : Updated Music Box (mostly internally).             (zones)
- Mac  : Fixed gliches in open/save dialogs on 10.6.        (zones)
- Mac  : Fixed display configuration in windowed mode.      (zones)
- Unix : Fixed segfault and hang-up with -DNOSOUND.         (zones)
- GTK+ : Added ability to set specific folders for SRAM,
  patches, snapshots, etc.                                  (BearOso)
- GTK+ : Fixed many permissions issues with config folders. (BearOso)
- GTK+ : Updated compatibility with latest GTK+ and
  GtkBuilder. Added experimental support for GTK+ 3.x.      (BearOso)
- GTK+ : Updated software output to use cairo and added the
  ability to use bilinear-filtering with it.                (BearOso)
- GTK+ : Fixed issues where cheats wouldn't stay enabled.   (BearOso)
- GTK+ : Fixed focus issue when there is no window manager. (BearOso)
- GTK+ : Fixed X Visual incompatibilities and expose
  problems in the Xv and OpenGL outputs.                    (BearOso)
- GTK+ : Fixed vsync with new X Server and NVIDIA drivers.  (BearOso)
- GTK+ : Added "Reduce input lag" option to OpenGL output.  (BearOso)
- GTK+ : Added a visual indication of the expected video
  refresh rate for the currently selected sound input rate. (BearOso)

Snes9x 1.52
- IMPORTANT NOTICE: The structure of savestates (also known
  as snapshots / freeze files) is incompatible with older
  versions! Snes9x 1.52 cannot read the savestates created
  by 1.51 or older.                                         (zones)
- Highly acculate SPC700 and S-DSP emulation.               (Blargg)
- Replaced APU emulation cores (SPC700 and S-DSP) with
  ones provided by Blargg's SNES_SPC library. This renders
  savestates incompatible with older versions.              (BearOso, zones)
- SPC7110 emulation.                                        (byuu, neviksti)
- Merged bsnes' SPC7110 emulation code. Note that the .rtc
  file of Far East of Eden Zero is incompatible with older
  versions.                                                 (zones)
- Removed graphics pack support. It's no more necessary.    (zones)
- Replaced S-RTC emulation code with bsnes' one to keep the
  good compatibility of .rtc files between the two
  emulators. As a result, Daikaijuu Monogatari 2 now
  outputs the .rtc file, and its .srm file is incompatible
  with older versions.                                      (zones)
- Added savestate supports for DSP-2, DSP-4, ST-010 and
  OBC1.                                                     (zones)
- Added UPS support.                                        (byuu)
- Fixed DSP-4 AI problem.                                   (Jonas Quinn)
- Fixed invalid memory accesses in C4 and OBC1 codes.       (zones)
- Fixed invalid memory accesses in BSX codes. My mistake.   (zones)
- Fixed the read value of $213e, $4210 and $4211.           (zones)
- Fixed the writing of word values at the memory boundary.  (zones)
- Fixed the bug that the unnecessary SA-1 emulation
  continues once any SA-1 games are launched.               (zones)
- Removed old color blending codes.                         (zones)
- Removed too-old Snes96 and ZSNES snapshot support.        (zones)
- Updated command-line options.                             (zones)
- Code cleaning.                                            (zones)
- GTK+ : Added a port of Snes9x to the GTK+ toolkit.        (BearOso)
- Unix : Reconstructed and simplified all the contents.
  Some features have been removed to be simple, and many
  options have changed. GTK+ port is recommended for most
  of Linux users.                                           (zones)
- Win32: Now uses snes9x.conf to prevent problems with
  modified meaning of settings.                             (OV2)
- Win32: Removed broken OpenGL mode.                        (OV2)
- Win32: Removed support for 8bit output.                   (OV2)
- Win32: Reworked settings dialogues to accomodate the
  new APU core and display settings.                        (OV2)
- Win32: Updated defaults to use D3D and XA2 (better
  Vista and Win7 support).                                  (OV2)
- Win32: Direct3D and XAudio2 support.                      (OV2)
- Win32: Added Blargg's ntsc filter (three presets).        (OV2)
- Mac  : Fixed corrupted screenshot on Intel Mac.           (zones)
- Mac  : Fixed sudden abort in QuickTime movie export on
  Intel Mac.                                                (zones)
- Mac  : Changed sound settings for the new APU core.       (zones)
- Mac  : Changed the default folder which Snes9x looks for
  to 'Application Support' folder.                          (zones)
- Mac  : Changed folder names: 'IPSs' -> 'Patches',
  'BIOSs' -> 'BIOSes'.                                      (zones)
- Mac  : Added Blargg's ntsc filter.                        (zones)
- Mac  : Internal changes for Leopard and Snow Leopard.     (zones)

Snes9x 1.51
- Added DSP1 and SuperFX savestate support.                 (nitsuja)
- Added screen state GFX to save states. (optional)         (nitsuja)
- Fixed desync when loading inconsistent state in playback. (nitsuja)
- When playback reaches a movie's end, recording continues
  instead of the movie suddenly closing. (after recording)  (nitsuja)
- can now record resets and mouse/superscope/justifier(s)   (nitsuja)
- Added same-line-comment support for config files.         (nitsuja)
- input display for all controllers (including peripherals) (nitsuja)
- Win32: Now uses .cfg file instead of Windows registry.    (nitsuja)
- Win32: open ROM dialog bugfixes and speedup and facelift  (nitsuja)
- Win32: option to use standard file open dialog for ROMs   (nitsuja)
- Win32: maintain aspect ratio and bilinear filter stretch  (nitsuja)
- Win32: optional removal of the dreaded "black bar"        (nitsuja)
- Win32: Added EPX,EPX2,EPX3,HQ2X,HQ3X,TV3X,DM3X filters.   (nitsuja)
- Win32: Added hires support for Interlace and TV Mode.     (nitsuja)
- Win32: text removed from .avi output (optional)           (nitsuja)
- Win32: better directory management, customizeable         (nitsuja)
- Win32: Screenshot support is back.                        (nitsuja)
- Win32: Netplay is back (but still not very good).         (nitsuja)
- Win32: Made OpenGL Bi-linear an advanced .cfg option.     (nitsuja)
- Win32: cheat search improvements (address, watch, SuperFX)(nitsuja)
- Win32: Added non-modal ("active") cheat search option.    (nitsuja)
- Win32: new hotkey-config dialog and configurable hotkeys  (nitsuja)
- Win32: Fixed joystick config in input dialog.             (nitsuja)
- Win32: Fixed hires and extended height .avi output.       (nitsuja)
- Win32: various small GUI improvements                     (nitsuja)
- Win32: Netplay fixes.                                     (nitsuja)
- "Fake Mute" desync workaround option for movies, until
  all ports have deterministic sound.                       (Bisqwit, nitsuja)
- Fix for save state blocks > 999999 bytes.                 (Bisqwit)
- C4 games now save C4 data in save states.                 (DeHackEd)
- Unix: Framework for high-speed seeking. Specify a frame
  number in a movie, and the emulator will run at
  maximum speed to that frame. Untested.                    (DeHackEd)
- X11: Support for window exposure. When a window is
  damaged due to overlay, being iconified, etc. it will
  be repainted correctly.                                   (DeHackEd)
- Unix: parameter: -autodemo <filename> loads a movie for
  playback on startup. Only the x11 code handles this
  right now.                                                (DeHackEd)
- Unix: parameter: -oldturbo,  the turbo button renders all
  frames when fast-forwarding.                              (DeHackEd)
- Unix: parameter: -upanddown, override U+D and
  L+R protection.                                           (DeHackEd)
- Unix: parameter: -mute, currently linux only, blocks out
  audio output from your speakers while still emulating
  sound. Not fully tested.                                  (DeHackEd)
- Unix: parameter: -maxframes <target> during movie
  playback, snes9x will exit when the target is hit.        (DeHackEd)
- Unix: parameter: -keypress shows to stderr and on-screen
  the currently pressed buttons on joypad 1.                (DeHackEd)
- Unix: Stream dumping (NOT COMPLETE). With -dumpstreams,
  raw video and raw audio are dumped to videostream%d.dat
  and audiostream%d.dat, where %d increments on each CPU
  reset, starting at zero.                                  (DeHackEd)
- Unix: Non-blocking sound on Linux. It makes seeking nicer.(DeHackEd)
- Unix: Configurable sound device.                          (pierredavidbelanger)
- configure.in now requires a sufficiently new version of
  autoconf.                                                 (anomie)
- Fixed slow versions of branch opcodes.                    (anomie)
- Fixed the mosaic offset bug.                              (anomie)
- No sorting by priority in C4 command 00 00. MegaMan X2
  can go behind the legs of the intro stage boss.           (anomie)
- New RTO discovery, fixes Super Conflict: The Mideast
  title screen.                                             (anomie, byuu)
- A 1->0 transition on $2100.7 causes OAM Address Reset.    (anomie, byuu)
- The final HDMA Indirect Address load is only weird
  on the last channel of the scanline.
  Touge Densetsu Saisoku Battle problem solved.             (anomie, byuu)
- Fixed BGnVOFS bug. Only HOFS needs ~&7 update.            (byuu)
- Fixed superfluous VIRQ triggers.                          (zones)
- Fixed missing IRQ trigger just after the previous one.    (zones)
- Fixed missing IRQ while writing to $4200.                 (zones)
- Fixed IRQ timing after WRAM refresh.                      (zones)
- Fixed NMA timing after DMA transfer.                      (zones)
- Fixed superfluous auto-joypad-reading.                    (zones)
- Fixed missing WRAM refresh during DMA transfer.           (zones)
- Fixed DMA so that HDMA and any HC triggered events can
  run during DMA transfer.                                  (zones)
- Roughly fixed the case that HDMA and DMA use the same
  channel at the same time. HDMA kills DMA. Thanks byuu.    (zones)
- Changed initial DMA registers values.                     (zones)
- Slightly modified APU execute timings.                    (zones)
- Fixed APU I/O registers to get/set the proper value.      (zones)
- Blocked invalid VRAM writings, though you can turn off
  this option due to Snes9x's inaccurate timings.           (zones)
- Omitted SPCTOOL, no one uses it.                          (zones)
- Added Sufami Turbo support.                               (zones)
- Added Same Game add-on cart support.                      (zones)
- Fixed HiROM SRAM and DSP1-4 memory maps a little.         (zones)
- Improved mirroring.                                       (Nach, grinvader, byuu)
- CRC32 on BS dumps now follows uCONSRT standard.           (Nach)
- BS dumps now always run in NTSC mode.                     (Nach)
- Unknown regions (generally betas) default to NTSC.        (Nach)
- Now support NSRT headers for setting up controllers.      (Nach, nitsuja)
- Unix: Fixed command line help output.                     (Nach)
- Unix: Sound now defaults to 32KHz, Stereo, Interpolation
  so Snes9x finally sounds like a real SNES by default.     (Nach)
- Win32: Saner defaults for movie record.                   (Nach)
- Unix: Fixed crashing with mouse or super scope.           (Nach)
- Removed some weird code which was crashing Korean
  League and its varients.                                  (Nach)
- Win32: Can now compile with MinGW.                        (Jonas Quinn, Nach)
- Win32: Can now cross compile Snes9xw.                     (Nach)
- Unix: SSnes9x compiles again.                             (Nach)
- Win32: ZSNES C4 and SuperFX compiles once again.          (Jonas Quinn)
- Unix: Netplay Fixes.                                      (Nach)
- Unix: Netplay Improvements.                               (Fabianx)

Snes9x 1.5
- Pseudo-hires rendering flush, Old 2xsai endian fix        (anomie)
- Added 'oops' auto-snapshot support                        (anomie)
- Fixed usage messages (Unix)                               (anomie)
- Old split-ROM-in-zip bugfix                               (anomie)
- ./configure fix for detecting libpng                      (anomie)
- Fix "no PNG support" error message                        (anomie)
- Anomie's control remapping patch                          (anomie)
- Support for IPS patches in the zip file                   (anomie)
- OBC1 savestate fix                                        (Overload)
- Fix turbo frameskip, X11 keyboard auto-repeat, VRAM reads (anomie)
- Add some missing ifdefs (UNZIP_SUPPORT and ZLIB),
  from AaronOneal                                           (anomie)
- Config file for Unix/X11 and Unix/SVGA                    (anomie)
- CPU instruction fixes (mostly emulation mode & timing)    (anomie)
- Mode 7 fixes                                              (anomie)
- Rewrote the renderer. Enjoy!                              (anomie)
- Correct-ish memmap boundary testing.                      (anomie)
- Add support for saner directory structures under Unix     (anomie)
- Unix: Fixed detection of newer libpng (spotted by vapier) (PBortas)
- Added 4-point gaussian interpolation and proper envelopes
  many thanks to Brad Martin and TRAC.                      (zones)
- Fixed several sound problems.                             (zones)
- Fixed the memory access problem in C++ Super FX core.     (zones)
- Speed adjustment of C++ Super FX emulation.               (zones)
- Various timing fixes: NMI, IRQ, WRAM refresh,
  cycles per line, HBlank start, etc.
  Many thanks to byuu for much information.                 (zones)
- Removed some game specific hacks.                         (zones)
- Added partial Satellaview (BS) emulation.                 (Dreamer Nom, zones)
- Added the Katakana font for onscreen messages.            (107)
- Updated JMA to v1                                         (Nach)
- Unix: Fixed JMA options in config                         (Nach)
- Unix: Removed --with(out)-asmcpu option in config
  because the i386 assembler CPU core is out of date.       (zones)
- Unix: Changed the default settings in config.             (zones)
- Updated porting.html (porting.txt) in sync with 1.5.      (zones)
- Fixed buffer over/under flow due to incorrect logical
  operator in S-RTC code                                    (byuu)
- Fixed HDMA flags bug.                                     (byuu, anomie)
- Fixed bugs causing crashing in Unix.                      (Nach)
- Ported Snes9x to AMD64.                                   (John Weidman, Nach, zones)
- Completed DSP-1 code.                                     (Andreas Naive, Overload, Nach)
- Updated DSP-3 code.                                       (Nach, z80 gaiden)
- Updated DSP-4 code.                                       (Dreamer Nom, Nach, z80 gaiden)
- Overhauled BS detection.                                  (Nach)
- Improved Unix portability.                                (Nach, zones)
- Fixed infiniti loop and invalid read bug in
  C++ C4 core.                                              (Nach)

diffstat:

 emulators/libretro-snes9x/Makefile                  |   14 +-
 emulators/libretro-snes9x/distinfo                  |   10 +-
 emulators/snes9x-gtk/Makefile                       |   65 +-
 emulators/snes9x-gtk/PLIST                          |   13 +-
 emulators/snes9x-gtk/distinfo                       |   14 +-
 emulators/snes9x-gtk/options.mk                     |   49 +-
 emulators/snes9x-gtk/patches/patch-aa               |   13 -
 emulators/snes9x-gtk/patches/patch-configure        |   16 -
 emulators/snes9x-gtk/patches/patch-gtk_configure.ac |   20 +
 emulators/snes9x-gtk/patches/patch-src_gtk__s9x.cpp |   25 -
 emulators/snes9x/Makefile                           |  131 ++----
 emulators/snes9x/Makefile.common                    |   16 +
 emulators/snes9x/PLIST                              |   13 +-
 emulators/snes9x/distinfo                           |   32 +-
 emulators/snes9x/patches/patch-aa                   |   65 ---
 emulators/snes9x/patches/patch-ab                   |   13 -
 emulators/snes9x/patches/patch-ac                   |   18 -
 emulators/snes9x/patches/patch-ad                   |   18 -
 emulators/snes9x/patches/patch-ae                   |   15 -
 emulators/snes9x/patches/patch-af                   |   13 -
 emulators/snes9x/patches/patch-ag                   |  389 --------------------
 emulators/snes9x/patches/patch-ah                   |   19 -
 emulators/snes9x/patches/patch-ai                   |   20 -
 emulators/snes9x/patches/patch-aj                   |   14 -
 emulators/snes9x/patches/patch-ak                   |   13 -
 emulators/snes9x/patches/patch-al                   |   13 -
 emulators/snes9x/patches/patch-am                   |   13 -
 emulators/snes9x/patches/patch-an                   |   13 -
 emulators/snes9x/patches/patch-ao                   |   13 -
 emulators/snes9x/patches/patch-ap                   |   97 ----
 emulators/snes9x/patches/patch-aq                   |  186 ---------
 emulators/snes9x/patches/patch-ar                   |   14 -
 emulators/snes9x/patches/patch-as                   |   16 -
 emulators/snes9x/patches/patch-ba                   |   26 -
 emulators/snes9x/patches/patch-bc                   |   16 -
 emulators/snes9x/patches/patch-unix_configure       |   20 +
 36 files changed, 194 insertions(+), 1261 deletions(-)

diffs (truncated from 1663 to 300 lines):

diff -r 43109f22b30c -r e7b6709674a9 emulators/libretro-snes9x/Makefile
--- a/emulators/libretro-snes9x/Makefile        Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/libretro-snes9x/Makefile        Tue Jan 01 22:16:14 2019 +0000
@@ -1,22 +1,16 @@
-# $NetBSD: Makefile,v 1.3 2018/12/18 00:56:54 nia Exp $
+# $NetBSD: Makefile,v 1.4 2019/01/01 22:16:15 nia Exp $
 
-DISTNAME=      libretro-snes9x-1.58
-CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=snes9xgit/}
-GITHUB_PROJECT=        snes9x
+.include "../../emulators/snes9x/Makefile.common"
+
+PKGNAME=       libretro-snes9x-${SNES9X_VERSION}
 
 MAINTAINER=    nia%NetBSD.org@localhost
 HOMEPAGE=      https://docs.libretro.com/library/snes9x/
 COMMENT=       Libretro core based on the snes9x Super Nintendo emulator
-LICENSE=       snes9x-license
 
-EXTRACT_USING= bsdtar
-
-WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 BUILD_DIRS=    libretro
 
 USE_TOOLS+=    gmake
-USE_LANGUAGES= c c++11
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 MAKE_FLAGS+=   LTO=
diff -r 43109f22b30c -r e7b6709674a9 emulators/libretro-snes9x/distinfo
--- a/emulators/libretro-snes9x/distinfo        Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/libretro-snes9x/distinfo        Tue Jan 01 22:16:14 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/12/18 00:56:54 nia Exp $
+$NetBSD: distinfo,v 1.3 2019/01/01 22:16:15 nia Exp $
 
-SHA1 (libretro-snes9x-1.58.tar.gz) = c94ceb8d7b322b4bfa030b1327d815b697e4176a
-RMD160 (libretro-snes9x-1.58.tar.gz) = 51f7fe17f003998b35204046ca7d193d37980da1
-SHA512 (libretro-snes9x-1.58.tar.gz) = 51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d
-Size (libretro-snes9x-1.58.tar.gz) = 2830667 bytes
+SHA1 (snes9x-1.58.tar.gz) = c94ceb8d7b322b4bfa030b1327d815b697e4176a
+RMD160 (snes9x-1.58.tar.gz) = 51f7fe17f003998b35204046ca7d193d37980da1
+SHA512 (snes9x-1.58.tar.gz) = 51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d
+Size (snes9x-1.58.tar.gz) = 2830667 bytes
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/Makefile
--- a/emulators/snes9x-gtk/Makefile     Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/snes9x-gtk/Makefile     Tue Jan 01 22:16:14 2019 +0000
@@ -1,38 +1,45 @@
-# $NetBSD: Makefile,v 1.61 2018/11/14 22:21:26 kleink Exp $
+# $NetBSD: Makefile,v 1.62 2019/01/01 22:16:14 nia Exp $
+
+.include "../../emulators/snes9x/Makefile.common"
+
+PKGNAME=       snes9x-gtk-${SNES9X_VERSION}
 
-DISTNAME=      snes9x-1.53-src
-PKGNAME=       snes9x-gtk-1.53.81
-PKGREVISION=   40
-CATEGORIES=    emulators
-MASTER_SITES=  http://snes9x-gtk.googlecode.com/files/
-EXTRACT_SUFX=  .tar.bz2
+MAINTAINER=    nia%NetBSD.org@localhost
+COMMENT=       Super Nintendo Entertainment System (SNES) emulator (GUI version)
+
+CONFIGURE_DIRS+=       gtk
+BUILD_DIRS+=           gtk
+GNU_CONFIGURE=         yes
+
+USE_TOOLS+=    autoreconf autoconf automake pkg-config
+USE_TOOLS+=    msgfmt xgettext msgmerge
+USE_TOOLS+=    gawk
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.snes9x.com/phpbb3/viewtopic.php?p=22874
-COMMENT=       SNES emulator with GTK frontend
-LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2.1
+BUILD_DEPENDS+=                gettext-m4-[0-9]*:../../devel/gettext-m4
+
+.include "../../mk/oss.buildlink3.mk"
 
-WRKSRC=                ${WRKDIR}/${DISTNAME}/gtk
-GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++03
-USE_TOOLS+=    intltool msgfmt msgmerge perl pkg-config xgettext
+.if ${OSS_TYPE} != "none"
+SUBST_CLASSES+=                oss
+SUBST_STAGE.oss=       pre-configure
+SUBST_MESSAGE.oss=     Correct path to OSS device.
+SUBST_FILES.oss+=      gtk/src/gtk_sound_driver_oss.cpp
+SUBST_SED.oss=         -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+.endif
 
-LDFLAGS.SunOS+=        -lsocket -lnsl
+BUILDLINK_TRANSFORM+=  rm:-ldl
+
+pre-configure:
+       cd ${WRKSRC}/gtk && ./autogen.sh
 
 .include "options.mk"
-
-.if ${MACHINE_ARCH} == "i386"
-BUILD_DEPENDS+=                nasm>=0.98:../../devel/nasm
-.endif
-
-.include "../../audio/portaudio-devel/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/libglade/buildlink3.mk"
-.include "../../graphics/gtkglext/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.10.0
-.include "../../x11/gtk2/buildlink3.mk"
-.include "../../x11/libXtst/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libXv/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/PLIST
--- a/emulators/snes9x-gtk/PLIST        Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/snes9x-gtk/PLIST        Tue Jan 01 22:16:14 2019 +0000
@@ -1,7 +1,16 @@
-@comment $NetBSD: PLIST,v 1.4 2010/02/05 12:57:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/01/01 22:16:14 nia Exp $
 bin/snes9x-gtk
 share/applications/snes9x.desktop
+share/icons/hicolor/128x128/apps/snes9x.png
 share/icons/hicolor/16x16/apps/snes9x.png
 share/icons/hicolor/24x24/apps/snes9x.png
+share/icons/hicolor/256x256/apps/snes9x.png
 share/icons/hicolor/32x32/apps/snes9x.png
-share/icons/hicolor/scalable/apps/snes9x.svg
+share/icons/hicolor/64x64/apps/snes9x.png
+share/locale/es/LC_MESSAGES/snes9x-gtk.mo
+share/locale/fr_FR/LC_MESSAGES/snes9x-gtk.mo
+share/locale/ja/LC_MESSAGES/snes9x-gtk.mo
+share/locale/pt_BR/LC_MESSAGES/snes9x-gtk.mo
+share/locale/ru/LC_MESSAGES/snes9x-gtk.mo
+share/locale/sr@latin/LC_MESSAGES/snes9x-gtk.mo
+share/snes9x/cheats.bml
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/distinfo
--- a/emulators/snes9x-gtk/distinfo     Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/snes9x-gtk/distinfo     Tue Jan 01 22:16:14 2019 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 20:31:02 agc Exp $
+$NetBSD: distinfo,v 1.10 2019/01/01 22:16:14 nia Exp $
 
-SHA1 (snes9x-1.53-src.tar.bz2) = 57be6480369f66b9aaaeb722789ce114f58ed1e2
-RMD160 (snes9x-1.53-src.tar.bz2) = b3f7ba73caee5373951ec1e1decef1ab6c7207f2
-SHA512 (snes9x-1.53-src.tar.bz2) = 3ded506d1b3b6cff4e8e3de77ad557d97981eb97ea23ffc68ce5abbbd4677aca819776f1d11b9aa47f5b1a785b19455acf6ad4dbc536d3581d62c192ebdfbd8c
-Size (snes9x-1.53-src.tar.bz2) = 1838746 bytes
-SHA1 (patch-aa) = bb32e36bd1d0c82dc4c68c3fb280f7474d1cf493
-SHA1 (patch-configure) = 3c6491a83a124be05bb0ded5af70e4d92053316d
-SHA1 (patch-src_gtk__s9x.cpp) = b440b1884a1d81a1e5cc557f2c5bcf56237b8222
+SHA1 (snes9x-1.58.tar.gz) = c94ceb8d7b322b4bfa030b1327d815b697e4176a
+RMD160 (snes9x-1.58.tar.gz) = 51f7fe17f003998b35204046ca7d193d37980da1
+SHA512 (snes9x-1.58.tar.gz) = 51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d
+Size (snes9x-1.58.tar.gz) = 2830667 bytes
+SHA1 (patch-gtk_configure.ac) = fa992d626d0cfc8b567d648f802c3d0944310cc5
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/options.mk
--- a/emulators/snes9x-gtk/options.mk   Tue Jan 01 20:22:55 2019 +0000
+++ b/emulators/snes9x-gtk/options.mk   Tue Jan 01 22:16:14 2019 +0000
@@ -1,8 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2013/07/06 16:19:41 rodent Exp $
+# $NetBSD: options.mk,v 1.2 2019/01/01 22:16:14 nia Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.snes9x-gtk
-PKG_SUPPORTED_OPTIONS= alsa opengl png pulseaudio xrandr xvideo zlib
-PKG_SUGGESTED_OPTIONS+=        png xrandr xvideo zlib
+PKG_OPTIONS_VAR=               PKG_OPTIONS.snes9x-gtk
+PKG_SUPPORTED_OPTIONS=         alsa opengl pulseaudio
+PKG_OPTIONS_REQUIRED_GROUPS=   gtk
+PKG_OPTIONS_GROUP.gtk=         gtk2 gtk3
+PKG_SUGGESTED_OPTIONS+=                gtk3 opengl
+PKG_SUGGESTED_OPTIONS.Linux+=  alsa
 
 .include "../../mk/bsd.options.mk"
 
@@ -12,38 +15,28 @@
 CONFIGURE_ARGS+=       --without-alsa
 .endif
 
+.if !empty(PKG_OPTIONS:Mgtk2)
+.include "../../x11/gtk2/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-gtk2
+.else
+CONFIGURE_ARGS+=       --without-gtk2
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+.include "../../x11/gtk3/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-gtk3
+.else
+CONFIGURE_ARGS+=       --without-gtk3
+.endif
+
 .if !empty(PKG_OPTIONS:Mopengl)
 .include "../../graphics/MesaLib/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-opengl
 .endif
 
-.if !empty(PKG_OPTIONS:Mpng)
-.include "../../graphics/png/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --without-screenshot
-.endif
-
 .if !empty(PKG_OPTIONS:Mpulseaudio)
 .include "../../audio/pulseaudio/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-pulseaudio
 .endif
-
-.if !empty(PKG_OPTIONS:Mxrandr)
-.include "../../x11/libXrandr/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --without-xrandr
-.endif
-
-.if !empty(PKG_OPTIONS:Mxvideo)
-.include "../../x11/libXv/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --without-xv
-.endif
-
-.if !empty(PKG_OPTIONS:Mzlib)
-.include "../../devel/zlib/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --without-zlib
-.endif
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/patches/patch-aa
--- a/emulators/snes9x-gtk/patches/patch-aa     Tue Jan 01 20:22:55 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2010/02/05 12:57:27 wiz Exp $
-
---- src/gtk_sound_driver_oss.cpp.orig  2009-11-30 22:37:11.000000000 +0000
-+++ src/gtk_sound_driver_oss.cpp
-@@ -125,7 +125,7 @@ S9xOSSSoundDriver::open_device (void)
-     printf ("OK\n");
- 
-     printf ("    --> (Frequency: %d)...", Settings.SoundPlaybackRate);
--    if (ioctl (filedes, SNDCTL_DSP_SPEED, &Settings.SoundPlaybackRate) < 0)
-+    if (ioctl (filedes, SNDCTL_DSP_SPEED, (void *)&Settings.SoundPlaybackRate) < 0)
-         goto close_fail;
- 
-     printf ("OK\n");
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/patches/patch-configure
--- a/emulators/snes9x-gtk/patches/patch-configure      Tue Jan 01 20:22:55 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2011/05/02 13:39:40 wiz Exp $
-
-Do not hardcode libdl, it doesn't exist on e.g. NetBSD. Use DL_LIBS
-variable set by dlopen.builtlink.mk.
-
---- configure.orig     2011-05-02 13:26:47.000000000 +0000
-+++ configure
-@@ -6316,7 +6316,7 @@ else
-   CFLAGS="$CFLAGS -fomit-frame-pointer"
- fi
- 
--LIBS="$LIBS -lX11 -ldl -lXext"
-+LIBS="$LIBS -lX11 ${DL_LIBS} -lXext"
- 
- ZSNESFX='#ZSNESFX=yes'
- ZSNESC4='#ZSNESC4=yes'
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/patches/patch-gtk_configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/snes9x-gtk/patches/patch-gtk_configure.ac       Tue Jan 01 22:16:14 2019 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-gtk_configure.ac,v 1.1 2019/01/01 22:16:15 nia Exp $
+
+Attempt to fix the zlib detection.
+
+--- gtk/configure.ac.orig      2018-12-16 17:04:59.000000000 +0000
++++ gtk/configure.ac
+@@ -330,11 +330,10 @@ fi
+ CFLAGS="$CFLAGS -DNETPLAY_SUPPORT -DJMA_SUPPORT"
+ 
+ if test yes = "$with_zlib"; then
+-  AC_CHECK_HEADERS(zlib.h)
+-  AC_CHECK_LIB(z, gzread, [
++  AC_CHECK_HEADERS(zlib.h, [
+         CFLAGS="$CFLAGS -DZLIB"
+         LIBS="$LIBS -lz"
+-      ], ,)
++      ])
+ fi
+ 
+ if test yes = "$enable_dangerous_hacks"; then
diff -r 43109f22b30c -r e7b6709674a9 emulators/snes9x-gtk/patches/patch-src_gtk__s9x.cpp
--- a/emulators/snes9x-gtk/patches/patch-src_gtk__s9x.cpp       Tue Jan 01 20:22:55 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000




Home | Main Index | Thread Index | Old Index