Fix build on Mc OS X.

This commit is contained in:
gls 2014-08-16 21:01:38 +00:00
parent 5e72bab9b8
commit 4891f73080
3 changed files with 21 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2014/02/23 10:22:13 richard Exp $
# $NetBSD: Makefile,v 1.28 2014/08/16 21:01:38 gls Exp $
#
DISTNAME= jack-audio-connection-kit-${JACK_VERSION}
@ -8,11 +8,12 @@ CATEGORIES= audio
#MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITES= http://jackaudio.org/downloads/
JACK_VERSION= 0.121.3
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jackaudio.org/
COMMENT= JACK audio connection kit
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
JACK_VERSION= 0.121.3
BUILD_DEFS+= JACKD_DEFAULT_TMPDIR
BUILD_DEFS+= JACKD_PROCFS_PATH

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.11 2013/02/27 17:49:14 jperkin Exp $
$NetBSD: distinfo,v 1.12 2014/08/16 21:01:38 gls Exp $
SHA1 (jack-audio-connection-kit-0.121.3.tar.gz) = 7d6e2219660222d1512ee704dd88a534b3e3089e
RMD160 (jack-audio-connection-kit-0.121.3.tar.gz) = 0b41b17b0606a6cffdab765ba6a47d0bc6ac9705
@ -15,6 +15,7 @@ SHA1 (patch-ap) = 64b06cb300940f3e119bfcce033bf47195ab665f
SHA1 (patch-aq) = cf735dd28af1373b4b2511978fca6af032591859
SHA1 (patch-ar) = 892dcd268eef033a9dcb2251560fc48662b54916
SHA1 (patch-as) = 46c609026d53fdebf1d46263d8f196cd8ecbac77
SHA1 (patch-config_os_macosx_pThreadUtilities.h) = ec92c3ad876d4f5ab75ed5497649b14671d972c1
SHA1 (patch-drivers_netjack_netjack__packet.c) = eb70ec5644e960e0cf0258a15d763be31c11bb02
SHA1 (patch-jack_control.h) = 8d6f07fd226b68cacf170501f557503cd674249a
SHA1 (patch-tools_netsource.c) = 836550efb8c53e7f546c2708f8670496b78daec1

View file

@ -0,0 +1,15 @@
$NetBSD: patch-config_os_macosx_pThreadUtilities.h,v 1.1 2014/08/16 21:01:38 gls Exp $
Fix build on Mac OS X
--- config/os/macosx/pThreadUtilities.h.orig 2008-05-29 12:26:05.000000000 +0000
+++ config/os/macosx/pThreadUtilities.h
@@ -66,7 +66,7 @@
#define __PTHREADUTILITIES_H__
#import "pthread.h"
-#import <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
+#import <MacTypes.h>
#define THREAD_SET_PRIORITY 0
#define THREAD_SCHEDULED_PRIORITY 1