pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ardour: Make it build
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Jun 18 17:16:02 2016 +0200
Changeset: 11c3a5554ffcb40e16cce8b9e76edfaf94d91769
Added Files:
ardour/patches/patch-libs_ardouralsautil_wscript
ardour/patches/patch-libs_fst_wscript
ardour/patches/patch-libs_pbd_wscript
ardour/patches/patch-libs_vfork_wscript
Log Message:
ardour: Make it build
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11c3a5554ffcb40e16cce8b9e76edfaf94d91769
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ardour/patches/patch-libs_ardouralsautil_wscript | 18 +++++++++++++++
ardour/patches/patch-libs_fst_wscript | 12 ++++++++++
ardour/patches/patch-libs_pbd_wscript | 29 ++++++++++++++++++++++++
ardour/patches/patch-libs_vfork_wscript | 16 +++++++++++++
4 files changed, 75 insertions(+)
diffs:
diff --git a/ardour/patches/patch-libs_ardouralsautil_wscript b/ardour/patches/patch-libs_ardouralsautil_wscript
new file mode 100644
index 0000000..cf1c96f
--- /dev/null
+++ b/ardour/patches/patch-libs_ardouralsautil_wscript
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- libs/ardouralsautil/wscript.orig 2016-02-19 01:28:56.000000000 +0000
++++ libs/ardouralsautil/wscript
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/pkg/bin/python2.7
+ from waflib.extras import autowaf as autowaf
+ from waflib import Options
+ import os
+@@ -51,6 +51,7 @@ def build(bld):
+ obj.defines = [
+ '_POSIX_SOURCE',
+ '_XOPEN_SOURCE=500',
++ '_NETBSD_SOURCE',
+ 'ARD_PROG_NAME="ardour-request-device"',
+ 'ARD_APPL_NAME="Ardour ALSA Backend"',
+ ]
diff --git a/ardour/patches/patch-libs_fst_wscript b/ardour/patches/patch-libs_fst_wscript
new file mode 100644
index 0000000..b3f93a0
--- /dev/null
+++ b/ardour/patches/patch-libs_fst_wscript
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- libs/fst/wscript.orig 2016-06-18 14:53:24.121637455 +0000
++++ libs/fst/wscript
+@@ -83,6 +83,7 @@ def build(bld):
+ obj.includes = [ '../pbd/', '../ardour/', '.' ]
+ obj.defines = [
+ '_POSIX_SOURCE',
++ '_NETBSD_SOURCE',
+ 'USE_WS_PREFIX',
+ 'VST_SCANNER_APP',
+ 'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
diff --git a/ardour/patches/patch-libs_pbd_wscript b/ardour/patches/patch-libs_pbd_wscript
new file mode 100644
index 0000000..150bfdf
--- /dev/null
+++ b/ardour/patches/patch-libs_pbd_wscript
@@ -0,0 +1,29 @@
+$NetBSD$
+
+--- libs/pbd/wscript.orig 2016-02-19 01:28:56.000000000 +0000
++++ libs/pbd/wscript
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/pkg/bin/python2.7
+ from waflib.extras import autowaf as autowaf
+ from waflib import Options
+ from waflib import TaskGen
+@@ -97,7 +97,7 @@ def configure(conf):
+ conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False)
+ conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
+ if not Options.options.ppc:
+- conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600', define_name='HAVE_POSIX_MEMALIGN', mandatory=False)
++ conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600 -D_NETBSD_SOURCE', define_name='HAVE_POSIX_MEMALIGN', mandatory=False)
+ conf.check(function_name='localtime_r', header_name='time.h', define_name='HAVE_LOCALTIME_R',mandatory=False)
+
+ conf.write_config_header('libpbd-config.h', remove=False)
+@@ -143,6 +143,9 @@ def build(bld):
+ obj.install_path = bld.env['LIBDIR']
+ obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
+
++ if sys.platform.startswith('netbsd'):
++ obj.linkflags = '-lexecinfo'
++
+ if bld.env['build_target'] == 'x86_64':
+ obj.defines += [ 'USE_X86_64_ASM' ]
+ if bld.env['build_target'] == 'mingw':
diff --git a/ardour/patches/patch-libs_vfork_wscript b/ardour/patches/patch-libs_vfork_wscript
new file mode 100644
index 0000000..d73682d
--- /dev/null
+++ b/ardour/patches/patch-libs_vfork_wscript
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- libs/vfork/wscript.orig 2016-02-19 01:28:56.000000000 +0000
++++ libs/vfork/wscript
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/pkg/bin/python2.7
+ from waflib.extras import autowaf as autowaf
+ from waflib import TaskGen
+ import os
+@@ -25,4 +25,5 @@ def build(bld):
+ obj.defines = [
+ '_POSIX_SOURCE',
+ '_XOPEN_SOURCE=500',
++ '_NETBSD_SOURCE',
+ ]
Home |
Main Index |
Thread Index |
Old Index