FreeBSD Bugzilla – Attachment 105483 Details for
Bug 145967
New port: audio/alsa-utils Compatibility layer for ALSA support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
alsa-utils.shar
alsa-utils.shar (text/plain), 5.76 KB, created by
Aragon Gouveia
on 2010-04-23 04:50:01 UTC
(
hide
)
Description:
alsa-utils.shar
Filename:
MIME Type:
Creator:
Aragon Gouveia
Created:
2010-04-23 04:50:01 UTC
Size:
5.76 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># alsa-utils ># alsa-utils/files ># alsa-utils/files/patch-alsa-utils ># alsa-utils/Makefile ># alsa-utils/distinfo ># alsa-utils/pkg-descr ># alsa-utils/pkg-plist ># >echo c - alsa-utils >mkdir -p alsa-utils > /dev/null 2>&1 >echo c - alsa-utils/files >mkdir -p alsa-utils/files > /dev/null 2>&1 >echo x - alsa-utils/files/patch-alsa-utils >sed 's/^X//' >alsa-utils/files/patch-alsa-utils << 'bdfbd87a46a9bb66a851fde4600a04b8' >X--- aplay/aplay.c.orig 2010-04-16 13:11:06.000000000 +0200 >X+++ aplay/aplay.c 2010-04-23 04:17:13.000000000 +0200 >X@@ -28,7 +28,9 @@ >X >X #define _GNU_SOURCE >X #include <stdio.h> >X+#ifndef __FreeBSD__ >X #include <malloc.h> >X+#endif >X #include <unistd.h> >X #include <stdlib.h> >X #include <string.h> >X@@ -45,7 +47,11 @@ >X #include <sys/uio.h> >X #include <sys/time.h> >X #include <sys/signal.h> >X+#ifndef __FreeBSD__ >X #include <asm/byteorder.h> >X+#else >X+#include <sys/stat.h> >X+#endif >X #include "aconfig.h" >X #include "gettext.h" >X #include "formats.h" >X@@ -116,6 +122,11 @@ >X static int use_strftime = 0; >X volatile static int recycle_capture_file = 0; >X >X+typedef off_t off64_t; >X+ >X+#define lseek64 lseek >X+#define open64 open >X+ >X static int fd = -1; >X static off64_t pbrec_count = LLONG_MAX, fdcount; >X static int vocmajor, vocminor; >X@@ -1086,8 +1097,8 @@ >X err = snd_pcm_hw_params_get_buffer_time_max(params, >X &buffer_time, 0); >X assert(err >= 0); >X- if (buffer_time > 500000) >X- buffer_time = 500000; >X+ /* if (buffer_time > 500000) XXX WHO CARES?!?!? >X+ buffer_time = 500000; */ >X } >X if (period_time == 0 && period_frames == 0) { >X if (buffer_time > 0) >X--- aplay/formats.h.orig 2009-08-31 23:13:36.000000000 +0800 >X+++ aplay/formats.h 2009-09-15 01:22:05.000000000 +0800 >X@@ -1,8 +1,15 @@ >X #ifndef FORMATS_H >X #define FORMATS_H 1 >X >X+#ifdef __FreeBSD__ >X+#include <sys/endian.h> >X+#define bswap_16(x) bswap16(x) >X+#define bswap_32(x) bswap32(x) >X+#define bswap_64(x) bswap64(x) >X+#else >X #include <endian.h> >X #include <byteswap.h> >X+#endif >X >X /* Definitions for .VOC files */ >X >X--- configure.orig 2009-08-31 23:14:25.000000000 +0800 >X+++ configure 2009-09-14 12:36:45.000000000 +0800 >X@@ -6480,7 +6480,7 @@ >X LDFLAGS="$LDFLAGS $ALSA_LIBS" >X fi >X >X-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" >X+ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread" >X LIBS="$ALSA_LIBS $LIBS" >X { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 >X echo "${ECHO_T}$ALSA_LIBS" >&6; } >X--- speaker-test/speaker-test.c.orig 2009-08-31 23:13:36.000000000 +0800 >X+++ speaker-test/speaker-test.c 2009-09-15 01:22:48.000000000 +0800 >X@@ -44,7 +44,9 @@ >X #include <getopt.h> >X #include <inttypes.h> >X #include <ctype.h> >X+#ifndef __FreeBSD__ >X #include <byteswap.h> >X+#endif >X >X #define ALSA_PCM_NEW_HW_PARAMS_API >X #define ALSA_PCM_NEW_SW_PARAMS_API >bdfbd87a46a9bb66a851fde4600a04b8 >echo x - alsa-utils/Makefile >sed 's/^X//' >alsa-utils/Makefile << 'df9ce1ac463ce601c733de19b7471fbd' >X# New ports collection makefile for: alsa-utils >X# Date created: June 29, 2009 >X# Whom: Aragon Gouveia <aragon@phat.za.net> >X# >X >XPORTNAME= alsa-utils >XPORTVERSION= 1.0.23 >XCATEGORIES= audio >XMASTER_SITES= ftp://ftp.silug.org/pub/alsa/utils/ \ >X ftp://gd.tuwien.ac.at/opsys/linux/alsa/utils/ \ >X http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/ \ >X ftp://ftp.alsa-project.org/pub/utils/ >X >XMAINTAINER= aragon@phat.za.net >XCOMMENT= ALSA compatibility utils >X >XLIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib >XBUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto >XRUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins >XUSE_BZIP2= yes >XUSE_GMAKE= yes >XHAS_CONFIGURE= yes >XGNU_CONFIGURE= yes >XCONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ >X LDFLAGS="-L${LOCALBASE}/lib" >XCONFIGURE_ARGS+= --disable-nls >X >XMANLANG= "" fr >XMAN1_EN= aconnect.1 alsactl.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \ >X arecordmidi.1 aseqdump.1 aseqnet.1 iecset.1 speaker-test.1 >XMAN7_EN= alsactl_init.7 >XMAN8_EN= alsaconf.8 >XMAN8_FR= alsaconf.8 >XMLINKS_EN= aplay.1 arecord.1 >X >X.include <bsd.port.mk> >df9ce1ac463ce601c733de19b7471fbd >echo x - alsa-utils/distinfo >sed 's/^X//' >alsa-utils/distinfo << '926218de52538c84a3a458d5d6a59327' >XMD5 (alsa-utils-1.0.23.tar.bz2) = cb0cf46029ac9549cf3a31bff6a4f4e1 >XSHA256 (alsa-utils-1.0.23.tar.bz2) = b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666a1f7b0 >XSIZE (alsa-utils-1.0.23.tar.bz2) = 1076937 >926218de52538c84a3a458d5d6a59327 >echo x - alsa-utils/pkg-descr >sed 's/^X//' >alsa-utils/pkg-descr << 'fd0c3a1bfaeaa5fca3a23798365eaa60' >XThe Advanced Linux Sound Architecture (ALSA) utils >X >XWWW: http://www.alsa-project.org/ >fd0c3a1bfaeaa5fca3a23798365eaa60 >echo x - alsa-utils/pkg-plist >sed 's/^X//' >alsa-utils/pkg-plist << '63a046e91f8a23784f35f2a44a5074dc' >Xbin/aconnect >Xbin/alsamixer >Xbin/amidi >Xbin/amixer >Xbin/aplay >Xbin/aplaymidi >Xbin/arecord >Xbin/arecordmidi >Xbin/aseqdump >Xbin/aseqnet >Xbin/iecset >Xbin/speaker-test >Xsbin/alsaconf >Xsbin/alsactl >Xshare/alsa/init/00main >Xshare/alsa/init/default >Xshare/alsa/init/hda >Xshare/alsa/init/help >Xshare/alsa/init/info >Xshare/alsa/init/test >Xshare/alsa/speaker-test/sample_map.csv >Xshare/sounds/alsa/Front_Center.wav >Xshare/sounds/alsa/Front_Left.wav >Xshare/sounds/alsa/Front_Right.wav >Xshare/sounds/alsa/Noise.wav >Xshare/sounds/alsa/Rear_Center.wav >Xshare/sounds/alsa/Rear_Left.wav >Xshare/sounds/alsa/Rear_Right.wav >Xshare/sounds/alsa/Side_Left.wav >Xshare/sounds/alsa/Side_Right.wav >X@dirrm share/sounds/alsa >X@dirrm share/sounds >X@dirrm share/alsa/speaker-test >X@dirrm share/alsa/init >X@dirrm share/alsa >63a046e91f8a23784f35f2a44a5074dc >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 145967
: 105483 |
105484