Commit graph

82 commits

Author SHA1 Message Date
micha
ce33a90c00 Fixed patch-src_video_SDL__pixels.c for NetBSD 7
Declaration of local variable 'byte' moved out of for loop because this syntax
requires C99 (breaks e.g. NetBSD 7 because LANGUAGES= c99 is not defined by
package).
2019-07-24 14:08:23 +00:00
nia
441be33376 SDL: Backport fixes from upstream's hg for the following CVEs:
CVE-2019-7572 - buffer-overflow
CVE-2019-7573 - heap-overflow
CVE-2019-7574 - heap-overflow
CVE-2019-7575 - heap-overflow
CVE-2019-7576 - heap-overflow
CVE-2019-7577 - buffer-overflow
CVE-2019-7578 - heap-overflow
CVE-2019-7635 - heap-overflow
CVE-2019-7636 - heap-overflow
CVE-2019-7637 - heap-overflow
CVE-2019-7638 - heap-overflow

Bump PKGREVISION.
2019-07-21 11:14:37 +00:00
ryoon
7b51e67ca1 Include dev/hid/hid.h for recent NetBSD-current to fix build 2017-12-25 00:18:39 +00:00
nat
3ac2d4c072 Enable oss dma backend for NetBSD-8.
Bump PKG_REVISION.

OK wiz@.
2017-10-27 01:28:53 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
nat
fa033b1bef Remove delay whilst writing audio. Improves latency.
Make it so wscons video will initialize without keyboard and mouse.

This commit was approved by wiz@
2015-05-31 09:17:53 +00:00
jmcneill
0f86df7444 Read from uhid device and insert events until there are no more events
to consume. Matches SDL2 BSD joystick driver behavior, and makes things
like "iBUFFALO Classic USB Gamepad" work with Retroarch.
2015-03-03 19:14:04 +00:00
jmcneill
4d8cf04af3 flush any pending events from the joystick device when opening on netbsd, bump PKGREVISION 2015-02-25 12:45:59 +00:00
jmcneill
4e722967ca Instead of naming USB joysticks by device name ("/dev/uhid3"), try to give
it a more helpful name ("Logitech Cordless RumblePad 2 @ /dev/uhid3")
2015-02-06 01:27:25 +00:00
wiz
a165e20428 regen (hi jared) 2015-02-05 08:57:53 +00:00
wiz
760ae23508 Include limits.h for UINT_MAX (build fix on NetBSD). 2015-01-30 12:02:49 +00:00
jmcneill
07969393f3 add wsmouse mousewheel support 2015-01-29 12:31:07 +00:00
jmcneill
3e00b81a82 initialize keysym->unicode in wskbd input path 2015-01-29 12:22:04 +00:00
jmcneill
945644a075 fix wscons keyboard 2015-01-29 11:28:50 +00:00
jmcneill
fa3a517ce9 add wsmouse support to wscons driver 2015-01-29 01:56:02 +00:00
jmcneill
79e90b58a7 Add USB keyboard support to the wscons driver. 2015-01-28 17:14:47 +00:00
wiz
13b551552d Fix SDL_LoadObject to try the soname itself first, without any prefixes,
and only fallback to other places when that fails.
Bump PKGREVISION.
2014-08-17 09:24:47 +00:00
adam
81eb353c95 Fix building on newer OS X. Courtesy of Jan Danielsson. 2014-04-14 19:27:46 +00:00
asau
3183c34317 Fix capitalization and make it build on FreeBSD 9-10. 2014-03-24 20:29:01 +00:00
wiz
a74f7fd449 Add comments to patches. 2012-09-14 13:20:20 +00:00
jdc
a95ae1db62 Add checksum for new patch (patch-src_video_x11_SDL_x11video.c). 2012-02-20 14:57:06 +00:00
wiz
9428731fc7 Update to 1.2.15:
General Notes

   * Fixed assembly register clobbering in CPU info routines
   * Fixed memory stomp when using stretch blit on large images
   * Fixed pixel corruption with overlapping blits
   * SDL_JOYSTICK_DEVICE can be a colon separated list of joystick devices
   * Disabled MMX blitters since they don't compile on modern compilers

Unix Notes

   * Fixed crash in joystick code on newer Linux kernels
   * Fixed channel swizzling for ALSA target with 6-channel output
   * Use the OpenGL GLX_EXT_swap_control extension if available
   * XRandR support is disabled by default because it causes desktop reconfiguring. It can be enabled with the SDL_VIDEO_X11_XRANDR=1
     environment variable, or by applying this patch: http://hg.libsdl.org/SDL/raw-rev/8ec3036098df

Windows Notes

   * Fixed SDL_GL_ACCELERATED_VISUAL handling
   * Fixed application state handling with ALT-Tab
   * Fixed occasional crash handling WM_ACTIVATEAPP in Direct X code
   * Fixed UTF-8 decoding of Russian characters

Mac OS X Notes

   * Fixed building and running on Mac OS X 10.7 (Lion)
2012-01-28 10:33:31 +00:00
wiz
5ef0e78923 Another fix for keyboard handling, from Opolo Remo,
and a fix for the color patterns, also from him.
Bump PKGREVISION.
2012-01-24 15:17:05 +00:00
jmcneill
28318b6a07 use AUDIO_GETBUFINFO when available; bump pkg revision 2011-12-29 10:00:49 +00:00
wiz
1a5cda2348 Fix typo in ifdef.
Bump PKGREVISION.
2011-12-26 12:28:46 +00:00
taca
fae5c8ec48 Fix build problem without WSKBD_TYPE_ZAURUS environment; NetBSD 4_STABLE.
Extra "case" was existed before default label of case statement.
2011-12-11 10:48:58 +00:00
wiz
ae5d56d84b Compile in wscons support on NetBSD.
From Opolo Remo in private mail.
Bump PKGREVISION.
2011-12-01 10:48:07 +00:00
joerg
9e9b529406 Adjust assembler constraint to work with Clang. From FreeBSD. 2011-08-02 17:02:38 +00:00
adam
92be753cf3 Changes 1.2.14:
* Added cast macros for correct usage with C++:
	SDL_reinterpret_cast(type, expression)
	SDL_static_cast(type, expression)
* Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for
  SDL_VIDEO_FULLSCREEN_HEAD on X11.
* Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal
  up/down events for Caps-Lock and Num-Lock keys.
2009-10-23 06:05:07 +00:00
wiz
801971a4ab Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION.

From mrg@
2009-09-02 21:19:53 +00:00
ahoka
4ae83da67b Various (including critical) bugfixes in the pulseaudio backend:
Fix assertion triggered in pulsaudio by returning "unknown" instead
of NULL pointer when guessing application name.

Own improvements:
- Use getprogname on NetBSD as it wont return NULL
- Also identify stream as "SDL Application"

3rd party bugfixes:
- Pull buffer size and other fixes from pulsaudio developers.
  http://0pointer.de/blog/projects/pa-plugin-for-sdl.html

Bump revision.
2008-12-26 17:46:07 +00:00
reinoud
1199482e9b Apply patch to first unlock the CD before trying to eject it. Since SDL
doesn't seem to have lock/unlock primitives, this looks like the right thing
to do.

Fixes audio/tcd's eject function too.
2008-10-13 17:15:44 +00:00
wiz
977555b87d Update to 1.2.13:
SDL 1.2.13 is a minor bug fix release.

  General Notes

     * Fixed link error when building with Intel Compiler 10.
     * Removed stray C++ comment from public headers.

  Unix Notes

     * Fixed crash in SDL_SoftStretch() on secure operating systems.
     * Fixed undefined symbol on X11 implementations without UTF-8 support.
     * Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
     * Scan for all joysticks on Linux instead of stopping at one that was removed.
     * Fixed use of sdl-config arguments in sdl.m4

  Mac OS X Notes

     * SDL now builds on Mac OS X 10.5 (Leopard).
     * Fixed high frequency crash involving text input.
     * Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
     * Improved trackpad scrolling support.
     * Fixed joystick hat reporting for certain joysticks.
2008-01-13 15:57:59 +00:00
tron
b41f4c1a12 Fix build under Mac OS X Leopard. 2007-12-17 20:40:00 +00:00
wiz
0b0c6183c6 Update to 1.2.12:
1.2.12:
	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling
	of the screensaver on Mac OS X and X11.

Also, many pkgsrc patches were integrated.
2007-07-25 23:31:08 +00:00
ben
4a6b339bdc Fix patch-aa to correctly use strcat, and to be C89 compliant.
Patch supplied by Christian Biere in PR#34738.
2006-10-08 18:40:23 +00:00
rillig
8f989358e3 Added two patches for Solaris 8. The X11 implementation does not define
the xEvent structure unless NEED_EVENTS is defined.
2006-08-03 20:21:20 +00:00
wiz
ec83c20805 Update to 1.2.11:
SDL 1.2.11 is a minor bug fix release.

Unix Notes

Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden.  This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX.

Fixed building SDL with Xinerama disabled.

Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().

Added pkgconfig configuration support.


Mac OS X Notes

The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
2006-07-03 21:49:13 +00:00
jmmv
7b0118cb1f Revert previous because it changed the libraries libSDL was linked to.
Instead, try to dlopen the libraries straight from the directories they
are in.

Bump PKGREVISION to 2.

Requested and reviewed by wiz@.
2006-07-01 19:08:36 +00:00
wiz
5931798a35 Update to 1.2.10.
Package changes:
Merge SDL-arts, SDL-esound, and SDL-nas packages back as options,
all defaulting to on (add "-arts -esound -nas" to PKG_OPTIONS.SDL
to get the previous behaviour of this package). Reason: trying to
get and stay in sync with upstream, who decided not to take back
the relevant changes. Ok jmmv@

Also follow upstream w.r.t. library version numbers; bump
BUILDLINK_API_DEPENDS for that (no real reason to diverge here).

Most patches have been integrated upstream.

Changes in 1.2.10:

1.2.10:
	If SDL_OpenAudio() is passed zero for the desired format
	fields, the following environment variables will be used
	to fill them in:
		SDL_AUDIO_FREQUENCY
		SDL_AUDIO_FORMAT
		SDL_AUDIO_CHANNELS
		SDL_AUDIO_SAMPLES
	If an environment variable is not specified, it will be set
	to a reasonable default value.

	Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment
	variable, currently supported on X11 Xinerama configurations.

	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.

	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.

	Added current_w and current_h to the SDL_VideoInfo structure,
	which is set to the desktop resolution during video intialization,
	and then set to the current resolution when a video mode is set.

	SDL_SetVideoMode() now accepts 0 for width or height and will use
	the current video mode (or the desktop mode if no mode has been set.)

	Added SDL_GetKeyRepeat()

	Added SDL_config.h, with defaults for various build environments.
2006-06-12 16:20:44 +00:00
wiz
f9403f57e9 Remove some chunks that should not be necessary any longer. 2006-02-07 18:15:50 +00:00
adam
05bc5ada2b Changes 1.2.9:
* Added support for direct color 8-bpp surfaces
* Altivec optimized blitters
* SDL.dll works on Windows 95 again
* Dropping a document onto an SDL app passes it as a command line parameter in MacOS X
* Fixed crash trying to allocate hardware surfaces on MacOS X
* Fixed short read problem with SDL_RWFromMem()
* Fixed gcc parse errors in SDL_audio.h on Windows
* Added support for Tru64 UNIX 4.X
* Improved RISC OS support
* Numerous improvements to the Atari port
* SDL_OPENGLBLIT is officially obsolete
2005-09-07 10:15:39 +00:00
wiz
7319db0a4e Better DragonFlyBSD support from Joerg Sonnenberger.
. find USB headers
. fix joystick support
2005-05-31 17:37:50 +00:00
wiz
76785f1db5 Support for DragonFlyBSD, based on patches from Joerg Sonnenberger. 2005-05-20 20:08:40 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
kristerw
81d15a073e GCC 2 does not understand the MMX asm core. Fall back to the C source
for GCC 2.
2005-01-12 22:58:19 +00:00
drochner
1031ae2e10 The "+" constraint modifier was yoo much. While it seems correct to me, it
caused gcc complaints in some cases. Pointed out by Nicolas Joly.
PR pkg/28882 should be fixed now.
2005-01-06 16:32:01 +00:00
drochner
9711cbfc62 tighten an inline asm constraint for amd64 2005-01-06 12:25:23 +00:00
adam
f94bbda334 Changes 1.2.8:
* Fixed compiling under newer versions of gcc
* Fixed floating point exception with Linux 2.6 joysticks
* Added 4/6 channel surround sound support on ALSA (not 3D audio)
* Fixed mouse coordinate inversion on MacOS X
* Added a CoreAudio sound driver for MacOS X
* Added MacOS X Xcode build environment support
* Updated QNX support for QNX6
* Improved Atari port, including OSMesa support
* Numerous other bug fixes and platform support improvements
2005-01-05 12:05:19 +00:00
dillo
a0e044de84 Reduce audio delay in the *BSD audio driver (by configuring audio
device with shorter block size and lower water marks).
PKGREVISION++
2004-07-26 20:42:27 +00:00