diff options
author | mycroft <mycroft> | 1998-04-26 16:21:27 +0000 |
---|---|---|
committer | mycroft <mycroft> | 1998-04-26 16:21:27 +0000 |
commit | 6c0b1d3ce87a90c53a3c32130746d6aa143e49a5 (patch) | |
tree | b55877c5c794280d8609b19c7a1c7db0312811cf /graphics/xanim/patches | |
parent | 06dd40411da32f473c524f8bd730d7b4ed1b56d7 (diff) | |
download | pkgsrc-6c0b1d3ce87a90c53a3c32130746d6aa143e49a5.tar.gz |
Update to 2.70.7.0.
Diffstat (limited to 'graphics/xanim/patches')
-rw-r--r-- | graphics/xanim/patches/patch-aa | 10 | ||||
-rw-r--r-- | graphics/xanim/patches/patch-ac | 28 |
2 files changed, 16 insertions, 22 deletions
diff --git a/graphics/xanim/patches/patch-aa b/graphics/xanim/patches/patch-aa deleted file mode 100644 index 4a939cb36de..00000000000 --- a/graphics/xanim/patches/patch-aa +++ /dev/null @@ -1,10 +0,0 @@ ---- xa_x11.c.orig Sun Jan 26 17:22:05 1997 -+++ xa_x11.c Sun Feb 15 21:17:44 1998 -@@ -482,6 +482,7 @@ - x11_depth = vis[vis_i].depth; - x11_class = vis[vis_i].class; - x11_cmap_size = vis[vis_i].colormap_size; -+ if (x11_cmap_size > 256) x11_cmap_size = 256; - /* POD - For testing purposes only */ - if ( (pod_max_colors > 0) && (pod_max_colors < x11_cmap_size) ) - x11_cmap_size = pod_max_colors; diff --git a/graphics/xanim/patches/patch-ac b/graphics/xanim/patches/patch-ac index 76dc471ec15..1908dbfa887 100644 --- a/graphics/xanim/patches/patch-ac +++ b/graphics/xanim/patches/patch-ac @@ -1,18 +1,25 @@ ---- xa_audio.c.orig Sun Jan 26 11:22:03 1997 -+++ xa_audio.c Sat Mar 7 07:56:29 1998 -@@ -4479,26 +4479,57 @@ - AUDIO_INITINFO(&a_info); +--- xa_audio.c.orig Mon Mar 23 18:54:59 1998 ++++ xa_audio.c Sun Apr 26 12:04:40 1998 +@@ -4508,31 +4508,53 @@ a_info.blocksize = 1024; ioctl(devAudio, AUDIO_SETINFO, &a_info); -+#ifdef AUDIO_ENCODING_SLINEAR -+ /* Use new encoding names */ AUDIO_INITINFO(&a_info); +- +-#ifndef AUDIO_ENCODING_SLINEAR - a_info.play.encoding = AUDIO_ENCODING_PCM16; -+ a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL; +-#else +- /* NetBSD-1.3 */ +- a_info.play.encoding = AUDIO_ENCODING_SLINEAR; /* Signed, nativeorder */ +-#endif +- ioctl(devAudio, AUDIO_SETINFO, &a_info); +- AUDIO_INITINFO(&a_info); + a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL; ioctl(devAudio, AUDIO_SETINFO, &a_info); ++#ifdef AUDIO_ENCODING_SLINEAR ++ /* Use new encoding names */ AUDIO_INITINFO(&a_info); + a_info.play.encoding = AUDIO_ENCODING_SLINEAR; -+ a_info.play.precision = 16; + a_info.play.precision = 16; + if (ioctl(devAudio, AUDIO_SETINFO, &a_info) < 0) { + AUDIO_INITINFO(&a_info); + a_info.play.encoding = AUDIO_ENCODING_ULINEAR; @@ -21,11 +28,8 @@ + } +#else + AUDIO_INITINFO(&a_info); - a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL; - ioctl(devAudio, AUDIO_SETINFO, &a_info); - AUDIO_INITINFO(&a_info); + a_info.play.encoding = AUDIO_ENCODING_PCM16; - a_info.play.precision = 16; ++ a_info.play.precision = 16; + if (ioctl(devAudio, AUDIO_SETINFO, &a_info) < 0) { + AUDIO_INITINFO(&a_info); + a_info.play.encoding = AUDIO_ENCODING_PCM; |