aboutsummaryrefslogtreecommitdiff
path: root/audio/cheesetracker
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cheesetracker')
-rw-r--r--audio/cheesetracker/Makefile7
-rw-r--r--audio/cheesetracker/files/patch-SConstruct14
-rw-r--r--audio/cheesetracker/files/patch-cheesetracker-trackercore-saver.cpp14
-rw-r--r--audio/cheesetracker/files/patch-common-components-audio-resampler_manager.h11
-rw-r--r--audio/cheesetracker/files/patch-common-components-data-property_bridges.h11
-rw-r--r--audio/cheesetracker/files/patch-common-drivers-posix-sound_driver_jack.h11
6 files changed, 65 insertions, 3 deletions
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile
index b063743f4e1a..1ce261e7b540 100644
--- a/audio/cheesetracker/Makefile
+++ b/audio/cheesetracker/Makefile
@@ -21,8 +21,9 @@ LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
jack.0:${PORTSDIR}/audio/jack
USE_QT_VER= 3
-MAKE_ENV= QTDIR="${QT_PREFIX}"
+MAKE_ENV+= QTDIR="${QT_PREFIX}"
USE_SCONS= yes
+SCONS_ENV+= CXX="${CXX}"
.include <bsd.port.pre.mk>
@@ -30,6 +31,10 @@ USE_SCONS= yes
BROKEN= Does not compile on alpha
.endif
+.if ${OSVERSION} < 600020
+BROKEN= Requires MSG_NOSIGNAL
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,%%CFLAGS%%,${CFLAGS},' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's,%%QT_PREFIX%%,${QT_PREFIX},' ${WRKSRC}/detect.py
diff --git a/audio/cheesetracker/files/patch-SConstruct b/audio/cheesetracker/files/patch-SConstruct
index b7c6fcaf5a7b..8a5d0fdf59e5 100644
--- a/audio/cheesetracker/files/patch-SConstruct
+++ b/audio/cheesetracker/files/patch-SConstruct
@@ -1,5 +1,15 @@
---- SConstruct.orig Tue Mar 27 22:35:53 2007
-+++ SConstruct Tue Mar 27 22:36:54 2007
+--- SConstruct.orig Fri Apr 23 07:51:57 2004
++++ SConstruct Mon Apr 9 19:20:43 2007
+@@ -53,8 +53,8 @@
+ env.make_so = None
+ env.detect = detect.Detect()
+
++env['CXX'] = os.environ['CXX']
+ if os.environ.has_key('DISTCC_HOSTS'):
+- env['CXX'] = os.environ['CXX']
+ env['ENV']['DISTCC_HOSTS'] = os.environ['DISTCC_HOSTS']
+ env['ENV']['HOME'] = os.environ['HOME']
+
@@ -87,7 +87,7 @@
env.optimize_resampler_hack=0
diff --git a/audio/cheesetracker/files/patch-cheesetracker-trackercore-saver.cpp b/audio/cheesetracker/files/patch-cheesetracker-trackercore-saver.cpp
new file mode 100644
index 000000000000..8e3fef004aeb
--- /dev/null
+++ b/audio/cheesetracker/files/patch-cheesetracker-trackercore-saver.cpp
@@ -0,0 +1,14 @@
+--- cheesetracker/trackercore/saver.cpp.orig Thu Apr 12 00:12:30 2007
++++ cheesetracker/trackercore/saver.cpp Thu Apr 12 00:13:52 2007
+@@ -35,11 +35,8 @@
+
+ #include "saver.h"
+
+-namespace Audio {
+-
+
+ Saver::Saver(){
+ }
+ Saver::~Saver(){
+ }
+-}; // end of namespace declaration
diff --git a/audio/cheesetracker/files/patch-common-components-audio-resampler_manager.h b/audio/cheesetracker/files/patch-common-components-audio-resampler_manager.h
new file mode 100644
index 000000000000..11ca2a5faeb3
--- /dev/null
+++ b/audio/cheesetracker/files/patch-common-components-audio-resampler_manager.h
@@ -0,0 +1,11 @@
+--- common/components/audio/resampler_manager.h.orig Thu Apr 12 00:03:58 2007
++++ common/components/audio/resampler_manager.h Thu Apr 12 00:04:14 2007
+@@ -34,7 +34,7 @@
+
+ public:
+
+- static Resampler_Manager * Resampler_Manager::get_resampler_manager();
++ static Resampler_Manager * get_resampler_manager();
+ int get_resampler_count();
+ Resampler * get_resampler(int p_index);
+
diff --git a/audio/cheesetracker/files/patch-common-components-data-property_bridges.h b/audio/cheesetracker/files/patch-common-components-data-property_bridges.h
new file mode 100644
index 000000000000..71ecd9500b66
--- /dev/null
+++ b/audio/cheesetracker/files/patch-common-components-data-property_bridges.h
@@ -0,0 +1,11 @@
+--- common/components/data/property_bridges.h.orig Wed Apr 11 23:57:19 2007
++++ common/components/data/property_bridges.h Thu Apr 12 00:02:25 2007
+@@ -41,7 +41,7 @@
+ */
+
+ #define BRIDGE_COPY_VALUE(T) \
+- virtual bool T::copy_value(const Property_Bridge& rvalue) {\
++ virtual bool copy_value(const Property_Bridge& rvalue) {\
+ T* rcast = dynamic_cast<T*>((T*)&rvalue);\
+ if (rcast) {\
+ set(rcast->get());\
diff --git a/audio/cheesetracker/files/patch-common-drivers-posix-sound_driver_jack.h b/audio/cheesetracker/files/patch-common-drivers-posix-sound_driver_jack.h
new file mode 100644
index 000000000000..8f5df7e06548
--- /dev/null
+++ b/audio/cheesetracker/files/patch-common-drivers-posix-sound_driver_jack.h
@@ -0,0 +1,11 @@
+--- common/drivers/posix/sound_driver_jack.h.orig Thu Apr 12 00:09:04 2007
++++ common/drivers/posix/sound_driver_jack.h Thu Apr 12 00:09:21 2007
+@@ -72,7 +72,7 @@
+
+ int jack_callback_nframes;
+
+- Sound_Driver::Status Sound_Driver_JACK::process();
++ Sound_Driver::Status process();
+
+ static int process_jack_callback(jack_nframes_t nframes,void *arg);
+ static int jack_set_mixfreq(jack_nframes_t nframes,void *arg);