pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/alsa-utils * Make it build on DragonFly
details: https://anonhg.NetBSD.org/pkgsrc/rev/82c17ffe5bd6
branches: trunk
changeset: 552154:82c17ffe5bd6
user: hasso <hasso%pkgsrc.org@localhost>
date: Tue Dec 30 14:44:14 2008 +0000
description:
* Make it build on DragonFly
* Fix interpreter in alsaconf and make package depend on bash (runtime).
* Bump PKGREVISION
diffstat:
audio/alsa-utils/Makefile | 7 +++++--
audio/alsa-utils/distinfo | 8 ++++----
audio/alsa-utils/patches/patch-ab | 6 +++---
audio/alsa-utils/patches/patch-ac | 4 ++--
audio/alsa-utils/patches/patch-ad | 4 ++--
5 files changed, 16 insertions(+), 13 deletions(-)
diffs (107 lines):
diff -r a4700cd29477 -r 82c17ffe5bd6 audio/alsa-utils/Makefile
--- a/audio/alsa-utils/Makefile Tue Dec 30 14:40:29 2008 +0000
+++ b/audio/alsa-utils/Makefile Tue Dec 30 14:44:14 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2008/12/22 03:18:12 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2008/12/30 14:44:14 hasso Exp $
#
DISTNAME= alsa-utils-1.0.18
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/utils/
EXTRACT_SUFX= .tar.bz2
@@ -11,10 +12,12 @@
COMMENT= Advanced Linux Sound Architecture (ALSA) utilities
GNU_CONFIGURE= yes
-USE_TOOLS= pkg-config gmake
+USE_TOOLS= pkg-config gmake bash:run
USE_PKGLOCALEDIR= yes
USE_NCURSES= yes
+REPLACE_BASH= alsaconf/alsaconf.in
+
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
.include "../../audio/alsa-lib/buildlink3.mk"
diff -r a4700cd29477 -r 82c17ffe5bd6 audio/alsa-utils/distinfo
--- a/audio/alsa-utils/distinfo Tue Dec 30 14:40:29 2008 +0000
+++ b/audio/alsa-utils/distinfo Tue Dec 30 14:44:14 2008 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
+$NetBSD: distinfo,v 1.2 2008/12/30 14:44:14 hasso Exp $
SHA1 (alsa-utils-1.0.18.tar.bz2) = 22ca9c26774550742d77504274b7f3e83fcce0e1
RMD160 (alsa-utils-1.0.18.tar.bz2) = 19725f866477abd5d97c8a18b736d2f4c62773e9
Size (alsa-utils-1.0.18.tar.bz2) = 1039779 bytes
SHA1 (patch-aa) = b3dcc338045b95fd5e531428af4253d356f59944
-SHA1 (patch-ab) = 559275eea8697e085e5969eaa8b639089f6cc285
-SHA1 (patch-ac) = 3d31802758d286e8d5ec3424456a035d96876d00
-SHA1 (patch-ad) = d963e23e5287bdfc1647b1f6514bb43a5f1f92f1
+SHA1 (patch-ab) = b899128edb57bdb3a8b8186b6dd69182a7c1932f
+SHA1 (patch-ac) = 613414c9683255e1a9ed6c32187a220b151beea2
+SHA1 (patch-ad) = 79764fb1a95363839e46e74ed5502bb2ffb18c16
diff -r a4700cd29477 -r 82c17ffe5bd6 audio/alsa-utils/patches/patch-ab
--- a/audio/alsa-utils/patches/patch-ab Tue Dec 30 14:40:29 2008 +0000
+++ b/audio/alsa-utils/patches/patch-ab Tue Dec 30 14:44:14 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
+$NetBSD: patch-ab,v 1.2 2008/12/30 14:44:14 hasso Exp $
--- aplay/aplay.c.orig 2008-12-18 22:21:06.000000000 -0500
+++ aplay/aplay.c
@@ -6,7 +6,7 @@
#include <sys/uio.h>
#include <sys/time.h>
#include <sys/signal.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#else
#include <asm/byteorder.h>
@@ -18,7 +18,7 @@
#define LLONG_MAX 9223372036854775807LL
#endif
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#define open64 open
+#define lseek64 lseek
+#define off64_t off_t
diff -r a4700cd29477 -r 82c17ffe5bd6 audio/alsa-utils/patches/patch-ac
--- a/audio/alsa-utils/patches/patch-ac Tue Dec 30 14:40:29 2008 +0000
+++ b/audio/alsa-utils/patches/patch-ac Tue Dec 30 14:44:14 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
+$NetBSD: patch-ac,v 1.2 2008/12/30 14:44:14 hasso Exp $
--- aplay/formats.h.orig 2008-12-18 22:21:49.000000000 -0500
+++ aplay/formats.h
@@ -6,7 +6,7 @@
#ifndef FORMATS_H
#define FORMATS_H 1
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
diff -r a4700cd29477 -r 82c17ffe5bd6 audio/alsa-utils/patches/patch-ad
--- a/audio/alsa-utils/patches/patch-ad Tue Dec 30 14:40:29 2008 +0000
+++ b/audio/alsa-utils/patches/patch-ad Tue Dec 30 14:44:14 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
+$NetBSD: patch-ad,v 1.2 2008/12/30 14:44:14 hasso Exp $
--- speaker-test/speaker-test.c.orig 2008-12-18 22:24:52.000000000 -0500
+++ speaker-test/speaker-test.c
@@ -6,7 +6,7 @@
#ifdef ENABLE_NLS
#include <locale.h>
#endif
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#define ESTRPIPE EPIPE
+#else
Home |
Main Index |
Thread Index |
Old Index