diff options
author | mycroft <mycroft@pkgsrc.org> | 1998-04-26 16:21:27 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 1998-04-26 16:21:27 +0000 |
commit | 6369ff13ecb8535fe2fcf3510a3ad65f2459fd4e (patch) | |
tree | b55877c5c794280d8609b19c7a1c7db0312811cf /graphics/xanim | |
parent | 6ced2316a88fd6b03503a06e1a028e31a64eb3db (diff) | |
download | pkgsrc-6369ff13ecb8535fe2fcf3510a3ad65f2459fd4e.tar.gz |
Update to 2.70.7.0.
Diffstat (limited to 'graphics/xanim')
-rw-r--r-- | graphics/xanim/Makefile | 7 | ||||
-rw-r--r-- | graphics/xanim/files/md5 | 2 | ||||
-rw-r--r-- | graphics/xanim/patches/patch-aa | 10 | ||||
-rw-r--r-- | graphics/xanim/patches/patch-ac | 28 |
4 files changed, 21 insertions, 26 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile index da57d4de44a..8307242112a 100644 --- a/graphics/xanim/Makefile +++ b/graphics/xanim/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 1998/04/15 10:38:27 agc Exp $ +# $NetBSD: Makefile,v 1.10 1998/04/26 16:21:27 mycroft Exp $ # -DISTNAME= xanim27064 -PKGNAME= xanim-2.70.6.4 +DISTNAME= xanim27070 +PKGNAME= xanim-2.70.7.0 CATEGORIES= graphics x11 MASTER_SITES= ftp://xanim.va.pubnix.com/\ ftp://xanim.va.pubnix.com/modules/ @@ -32,6 +32,7 @@ USE_IMAKE= yes CAT1= xanim.0 post-extract: + ln -s docs/xanim.man ${WRKSRC} @for file in ${EXTRA_FILES}; do \ ${CP} ${DISTDIR}/$$file ${WRKSRC}; \ ${GUNZIP_CMD} ${WRKSRC}/$$file; \ diff --git a/graphics/xanim/files/md5 b/graphics/xanim/files/md5 index ded4d361d60..015df7e7791 100644 --- a/graphics/xanim/files/md5 +++ b/graphics/xanim/files/md5 @@ -1,4 +1,4 @@ -MD5 (xanim27064.tar.gz) = ce521899a41477016f2e90caf02ecaad +MD5 (xanim27070.tar.gz) = 768253a86b059b4d100e34c602931af6 MD5 (xa2.0_cvid_netbsd386.o.Z) = 80a70d69ea532c7f32a074381fff8468 MD5 (xa2.0_iv32_netbsd386.o.Z) = 1968c29d77e02c53df14bc4f2a29a1c0 MD5 (xa1.0_cyuv_netbsd386.o.Z) = 9f2d2b1a14f4518ffd02c0f45ccbf9e6 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; |