pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

SuperCollider: Temporarily drop patches not applying to new version



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Sep 22 00:42:44 2016 +0200
Changeset:	014fe816e7448d87f76b455711656f77eb57d26a

Modified Files:
	SuperCollider/distinfo
Removed Files:
	SuperCollider/patches/patch-CMakeLists.txt
	SuperCollider/patches/patch-common_SC__DirUtils.cpp
	SuperCollider/patches/patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp
	SuperCollider/patches/patch-include_common_SC__Endian.h
	SuperCollider/patches/patch-lang_CMakeLists.txt
	SuperCollider/patches/patch-lang_LangPrimSource_PyrFilePrim.cpp
	SuperCollider/patches/patch-lang_LangPrimSource_PyrPrimitive.cpp
	SuperCollider/patches/patch-lang_LangPrimSource_PyrSched.cpp
	SuperCollider/patches/patch-lang_LangPrimSource_SC__ComPort.cpp
	SuperCollider/patches/patch-lang_LangSource_PyrMathSupport.cpp
	SuperCollider/patches/patch-platform_CMakeLists.txt
	SuperCollider/patches/patch-platform_mac_clean-compile.sh
	SuperCollider/patches/patch-platform_mac_compile.sh
	SuperCollider/patches/patch-server_plugins_CMakeLists.txt
	SuperCollider/patches/patch-server_scsynth_CMakeLists.txt
	SuperCollider/patches/patch-server_scsynth_SC__Carbon.cpp
	SuperCollider/patches/patch-server_scsynth_SC__ComPort.cpp

Log Message:
SuperCollider: Temporarily drop patches not applying to new version

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=014fe816e7448d87f76b455711656f77eb57d26a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 SuperCollider/distinfo                             | 17 -----------
 SuperCollider/patches/patch-CMakeLists.txt         | 24 ---------------
 .../patches/patch-common_SC__DirUtils.cpp          | 15 ----------
 ...s_sc-ide_widgets_code__editor_autocompleter.cpp | 35 ----------------------
 .../patches/patch-include_common_SC__Endian.h      | 15 ----------
 SuperCollider/patches/patch-lang_CMakeLists.txt    | 19 ------------
 .../patch-lang_LangPrimSource_PyrFilePrim.cpp      | 33 --------------------
 .../patch-lang_LangPrimSource_PyrPrimitive.cpp     | 17 -----------
 .../patches/patch-lang_LangPrimSource_PyrSched.cpp | 14 ---------
 .../patch-lang_LangPrimSource_SC__ComPort.cpp      | 15 ----------
 .../patch-lang_LangSource_PyrMathSupport.cpp       | 15 ----------
 .../patches/patch-platform_CMakeLists.txt          | 14 ---------
 .../patches/patch-platform_mac_clean-compile.sh    | 15 ----------
 .../patches/patch-platform_mac_compile.sh          | 24 ---------------
 .../patches/patch-server_plugins_CMakeLists.txt    | 15 ----------
 .../patches/patch-server_scsynth_CMakeLists.txt    | 15 ----------
 .../patches/patch-server_scsynth_SC__Carbon.cpp    | 15 ----------
 .../patches/patch-server_scsynth_SC__ComPort.cpp   | 15 ----------
 18 files changed, 332 deletions(-)

diffs:
diff --git a/SuperCollider/distinfo b/SuperCollider/distinfo
index 063c8e0..b84f466 100644
--- a/SuperCollider/distinfo
+++ b/SuperCollider/distinfo
@@ -4,20 +4,3 @@ SHA1 (SuperCollider-3.7.2-Source.tar.bz2) = 823e35d3a347f02a4cbd6074b4a5cbbdd201
 RMD160 (SuperCollider-3.7.2-Source.tar.bz2) = 439594ff49145eae43f8b63d11699745a361b084
 SHA512 (SuperCollider-3.7.2-Source.tar.bz2) = 8ce249b60ccf0ae05bef5f31ca3705e78ed6f58edafb331bf6f0028b20fa1d3394b6abf665f190b77ace108979afea7b2ece8ef3c8aeed7348a0b45d4b668292
 Size (SuperCollider-3.7.2-Source.tar.bz2) = 10526566 bytes
-SHA1 (patch-CMakeLists.txt) = 4f61abf2d4b7747630ee616c0def1847d04ce7be
-SHA1 (patch-common_SC__DirUtils.cpp) = 756d8369df95c6d3e6f485bcb7b234c7c410bcac
-SHA1 (patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp) = 8eaef8e153ef25b4bde37081286c1f5c21d6f126
-SHA1 (patch-include_common_SC__Endian.h) = 1e2f07ceb9863406ae94146900d289cd7b866d7b
-SHA1 (patch-lang_CMakeLists.txt) = 1ec6c0f6f7ddb2a4bcd21d8a617107e2f139de0b
-SHA1 (patch-lang_LangPrimSource_PyrFilePrim.cpp) = 4be1ece503773cd53565fdbc4c8441298f177a98
-SHA1 (patch-lang_LangPrimSource_PyrPrimitive.cpp) = 38e16bab3216b13ec43f57bfdaa4a33fddcdc982
-SHA1 (patch-lang_LangPrimSource_PyrSched.cpp) = ac2ee54910d559b9f6a05a519618a0b0b8b8aeee
-SHA1 (patch-lang_LangPrimSource_SC__ComPort.cpp) = 01668490cc405dde83305f6aabff30b636c88e2c
-SHA1 (patch-lang_LangSource_PyrMathSupport.cpp) = 9c5f783bfed64307ccd7b272b09ad48fdec99944
-SHA1 (patch-platform_CMakeLists.txt) = eeb6ec9b2b04108a3d86867f7a10acc6e47c769e
-SHA1 (patch-platform_mac_clean-compile.sh) = 2a36ce4fbeb047441a373ea9d44141eeb6bf5252
-SHA1 (patch-platform_mac_compile.sh) = 8918e83714c797366d1055a38d66bd072d2d03d3
-SHA1 (patch-server_plugins_CMakeLists.txt) = d7af6a0d8d45a289922e6716bfcdbf584093d7a9
-SHA1 (patch-server_scsynth_CMakeLists.txt) = cba995719b4402b275281ce171b2023bda48b5b6
-SHA1 (patch-server_scsynth_SC__Carbon.cpp) = 7dea2bac298f5d163ba0da997c36a4c404e065be
-SHA1 (patch-server_scsynth_SC__ComPort.cpp) = 1d525ee4f6657211e9670bffb65886885ff844ee
diff --git a/SuperCollider/patches/patch-CMakeLists.txt b/SuperCollider/patches/patch-CMakeLists.txt
deleted file mode 100644
index ddaf8aa..0000000
--- a/SuperCollider/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Handle NetBSD like FreeBSD.
-
---- CMakeLists.txt.orig	2013-11-27 12:54:02.000000000 +0000
-+++ CMakeLists.txt
-@@ -108,7 +108,7 @@ if(APPLE)
- 		PROPERTY COMPILE_DEFINITIONS SC_DARWIN)
- elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
- 	add_definitions(-DSC_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/SuperCollider")
--elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-+elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- 	add_definitions("-DSC_FREEBSD")
- 	add_definitions(-DSC_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/SuperCollider")
- endif()
-@@ -325,7 +325,7 @@ add_subdirectory(lang)
- add_subdirectory(editors)
- add_subdirectory(platform)
- 
--if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-+if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
-     install(DIRECTORY include/common include/plugin_interface include/server include/lang
-         DESTINATION ${CMAKE_INSTALL_PREFIX}/include/SuperCollider
- 	FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp"
diff --git a/SuperCollider/patches/patch-common_SC__DirUtils.cpp b/SuperCollider/patches/patch-common_SC__DirUtils.cpp
deleted file mode 100644
index 01f8b59..0000000
--- a/SuperCollider/patches/patch-common_SC__DirUtils.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-common_SC__DirUtils.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Add NetBSD support.
-
---- common/SC_DirUtils.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ common/SC_DirUtils.cpp
-@@ -148,7 +148,7 @@ bool sc_IsNonHostPlatformDir(const char 
- 	const char a[] = "linux", b[] = "windows", c[]="iphone";
- #elif defined(__linux__)
- 	const char a[] = "osx", b[] = "windows", c[]="iphone";
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__NetBSD__)
- 	const char a[] = "osx", b[] = "windows", c[]="iphone";
- #elif defined(_WIN32)
- 	const char a[] = "osx", b[] = "linux", c[]="iphone";
diff --git a/SuperCollider/patches/patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp b/SuperCollider/patches/patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp
deleted file mode 100644
index a2f3f26..0000000
--- a/SuperCollider/patches/patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-editors_sc-ide_widgets_code__editor_autocompleter.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-QGtkStyle is not a public symbol.
-
---- editors/sc-ide/widgets/code_editor/autocompleter.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ editors/sc-ide/widgets/code_editor/autocompleter.cpp
-@@ -187,24 +187,10 @@ public:
-         mLabel->setTextFormat( Qt::RichText );
-         mLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- 
--#ifdef Q_WS_X11
--        QStyle *style = this->style();
--        if (QProxyStyle *proxyStyle = qobject_cast<QProxyStyle*>(style))
--            style = proxyStyle->baseStyle();
--        if ( qobject_cast<QGtkStyle*>(style) ) {
--            QPalette p;
--            p.setColor( QPalette::Window, QColor(255, 255, 220) );
--            p.setColor( QPalette::WindowText, Qt::black );
--            setPalette(p);
--        }
--        else
--#endif
--        {
--            QPalette p( palette() );
--            p.setColor( QPalette::Window, p.color(QPalette::ToolTipBase) );
--            setPalette(p);
--            mLabel->setForegroundRole(QPalette::ToolTipText);
--        }
-+        QPalette p( palette() );
-+        p.setColor( QPalette::Window, p.color(QPalette::ToolTipBase) );
-+        setPalette(p);
-+        mLabel->setForegroundRole(QPalette::ToolTipText);
-     }
- 
-     void showMethod( const AutoCompleter::MethodCall & methodCall,
diff --git a/SuperCollider/patches/patch-include_common_SC__Endian.h b/SuperCollider/patches/patch-include_common_SC__Endian.h
deleted file mode 100644
index a424651..0000000
--- a/SuperCollider/patches/patch-include_common_SC__Endian.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-include_common_SC__Endian.h,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Add NetBSD support.
-
---- include/common/SC_Endian.h.orig	2013-11-27 12:54:02.000000000 +0000
-+++ include/common/SC_Endian.h
-@@ -35,7 +35,7 @@
- 
- # include <machine/endian.h>
- 
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__NetBSD__)
- 
- # include <machine/endian.h>
- # include <netinet/in.h>
diff --git a/SuperCollider/patches/patch-lang_CMakeLists.txt b/SuperCollider/patches/patch-lang_CMakeLists.txt
deleted file mode 100644
index 943146b..0000000
--- a/SuperCollider/patches/patch-lang_CMakeLists.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-lang_CMakeLists.txt,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-SC_LID.cpp is Linux-specific.
-
---- lang/CMakeLists.txt.orig	2013-11-27 12:54:02.000000000 +0000
-+++ lang/CMakeLists.txt
-@@ -139,8 +139,10 @@ if(UNIX)
- 		if(ALSA_FOUND)
- 			list(APPEND sclang_sources LangPrimSource/SC_AlsaMIDI.cpp)
- 		endif()
--		list(APPEND sclang_sources LangPrimSource/SC_LID.cpp)
--		add_definitions(-DHAVE_LID)
-+		if(LINUX)
-+			list(APPEND sclang_sources LangPrimSource/SC_LID.cpp)
-+			add_definitions(-DHAVE_LID)
-+		endif(LINUX)
- 	endif(APPLE)
- else(UNIX)
- endif(UNIX)
diff --git a/SuperCollider/patches/patch-lang_LangPrimSource_PyrFilePrim.cpp b/SuperCollider/patches/patch-lang_LangPrimSource_PyrFilePrim.cpp
deleted file mode 100644
index d461225..0000000
--- a/SuperCollider/patches/patch-lang_LangPrimSource_PyrFilePrim.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-lang_LangPrimSource_PyrFilePrim.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Use proper interface.
-
---- lang/LangPrimSource/PyrFilePrim.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ lang/LangPrimSource/PyrFilePrim.cpp
-@@ -323,23 +323,15 @@ int prFilePos(struct VMGlobals *g, int n
- 	PyrSlot *a;
- 	PyrFile *pfile;
- 	FILE *file;
--	fpos_t pos;
--	int length;
-+	off_t length;
- 
- 	a = g->sp;
- 	pfile = (PyrFile*)slotRawObject(a);
- 	file = (FILE*)slotRawPtr(&pfile->fileptr);
- 	if (file == NULL) return errFailed;
--	if (fgetpos(file, &pos)) return errFailed;
--
--#ifdef __linux__
--	// sk: hack alert!
--	length = pos.__pos;
--#else
--	length = pos;
--#endif
-+	if ((length=ftell(file)) == -1) return errFailed;
- 
--	SetInt(a, length);
-+	SetInt(a, (int)length);
- 	return errNone;
- }
- 
diff --git a/SuperCollider/patches/patch-lang_LangPrimSource_PyrPrimitive.cpp b/SuperCollider/patches/patch-lang_LangPrimSource_PyrPrimitive.cpp
deleted file mode 100644
index e4f0d4f..0000000
--- a/SuperCollider/patches/patch-lang_LangPrimSource_PyrPrimitive.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-lang_LangPrimSource_PyrPrimitive.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Mark Linux-specific code.
-
---- lang/LangPrimSource/PyrPrimitive.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ lang/LangPrimSource/PyrPrimitive.cpp
-@@ -4214,8 +4214,10 @@ void initMIDIPrimitives();
- #endif
- 
- #if !defined(SC_WIN32) && !defined(SC_IPHONE)
-+#if defined(__linux__)
- void initHIDPrimitives();
- 	initHIDPrimitives();
-+#endif
- 
- void initSpeechPrimitives();
- 	initSpeechPrimitives();
diff --git a/SuperCollider/patches/patch-lang_LangPrimSource_PyrSched.cpp b/SuperCollider/patches/patch-lang_LangPrimSource_PyrSched.cpp
deleted file mode 100644
index 8bbdb77..0000000
--- a/SuperCollider/patches/patch-lang_LangPrimSource_PyrSched.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-lang_LangPrimSource_PyrSched.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Add missing header for strerror().
-
---- lang/LangPrimSource/PyrSched.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ lang/LangPrimSource/PyrSched.cpp
-@@ -29,6 +29,7 @@
- #endif
- #include <stdarg.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <math.h>
- #include <limits>
- 
diff --git a/SuperCollider/patches/patch-lang_LangPrimSource_SC__ComPort.cpp b/SuperCollider/patches/patch-lang_LangPrimSource_SC__ComPort.cpp
deleted file mode 100644
index 57a3617..0000000
--- a/SuperCollider/patches/patch-lang_LangPrimSource_SC__ComPort.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lang_LangPrimSource_SC__ComPort.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Fix for NetBSD.
-
---- lang/LangPrimSource/SC_ComPort.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ lang/LangPrimSource/SC_ComPort.cpp
-@@ -37,7 +37,7 @@
- # include <errno.h>
- #endif
- 
--#ifdef __FreeBSD__
-+#if defined (__FreeBSD__) || defined(__NetBSD__)
- # include <errno.h>
- #endif
- 
diff --git a/SuperCollider/patches/patch-lang_LangSource_PyrMathSupport.cpp b/SuperCollider/patches/patch-lang_LangSource_PyrMathSupport.cpp
deleted file mode 100644
index 5d11bb5..0000000
--- a/SuperCollider/patches/patch-lang_LangSource_PyrMathSupport.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lang_LangSource_PyrMathSupport.cpp,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Add NetBSD support.
-
---- lang/LangSource/PyrMathSupport.cpp.orig	2013-11-10 21:08:21.000000000 +0000
-+++ lang/LangSource/PyrMathSupport.cpp
-@@ -26,7 +26,7 @@
- #include <stdlib.h>
- #include <math.h>
- 
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
- # include <complex.h>
- #endif
- 
diff --git a/SuperCollider/patches/patch-platform_CMakeLists.txt b/SuperCollider/patches/patch-platform_CMakeLists.txt
deleted file mode 100644
index ea15502..0000000
--- a/SuperCollider/patches/patch-platform_CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-platform_CMakeLists.txt,v 1.1 2014/09/06 22:22:36 thomasklausner Exp $
-
-Add NetBSD support.
-
---- platform/CMakeLists.txt.orig	2013-11-27 12:54:02.000000000 +0000
-+++ platform/CMakeLists.txt
-@@ -7,6 +7,6 @@ elseif(WIN32)
- endif()
- 
- # NB freebsd currently OK to ride on linux for this subdir. eventually may need separating.
--if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-+if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- 	add_subdirectory(linux)
- endif()
diff --git a/SuperCollider/patches/patch-platform_mac_clean-compile.sh b/SuperCollider/patches/patch-platform_mac_clean-compile.sh
deleted file mode 100644
index 3db8469..0000000
--- a/SuperCollider/patches/patch-platform_mac_clean-compile.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-platform_mac_clean-compile.sh,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Fix unportable test(1) construct.
-
---- platform/mac/clean-compile.sh.orig	2013-11-27 12:54:02.000000000 +0000
-+++ platform/mac/clean-compile.sh
-@@ -3,7 +3,7 @@
- # This script cleans all targets, then invokes compile.sh
- 
- # Replicate warning from compile.sh, because it's user-friendly for it to be the first output:
--if [ $# == 0 ]; then
-+if [ $# = 0 ]; then
- 	echo "--------------------------------------------------------------------------------
- Building SuperCollider as a UNIVERSAL BINARY (intel + ppc).
- For faster build, or if you don't have UB versions of the libs (e.g. libsndfile),
diff --git a/SuperCollider/patches/patch-platform_mac_compile.sh b/SuperCollider/patches/patch-platform_mac_compile.sh
deleted file mode 100644
index 051823b..0000000
--- a/SuperCollider/patches/patch-platform_mac_compile.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-platform_mac_compile.sh,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Fix unportable test(1) construct.
-
---- platform/mac/compile.sh.orig	2013-11-27 12:54:02.000000000 +0000
-+++ platform/mac/compile.sh
-@@ -2,7 +2,7 @@
- 
- # This script builds the server, the plugins and the application (sclang), one after another.
- 
--if [ $# == 0 ]; then
-+if [ $# = 0 ]; then
- 	echo "--------------------------------------------------------------------------------
- Building SuperCollider as a 32 bit UNIVERSAL BINARY (intel + ppc).
- For faster build, or if you don't have UB versions of the libs 
-@@ -20,7 +20,7 @@ switchableConfig="Deployment"
- buildArg=$*
- for opt in $*
- do
--    if [ $opt == "ARCHS=32_64" ]; then
-+    if [ $opt = "ARCHS=32_64" ]; then
- 		switchableConfig="Deployment32-64"
- 		buildArg=""
-         echo "Building 32/64 bit sclang, scsynth and plugins"
diff --git a/SuperCollider/patches/patch-server_plugins_CMakeLists.txt b/SuperCollider/patches/patch-server_plugins_CMakeLists.txt
deleted file mode 100644
index d7bfd99..0000000
--- a/SuperCollider/patches/patch-server_plugins_CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-server_plugins_CMakeLists.txt,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Handle FreeBSD and NetBSD like Linux.
-
---- server/plugins/CMakeLists.txt.orig	2013-11-27 12:54:02.000000000 +0000
-+++ server/plugins/CMakeLists.txt
-@@ -220,7 +220,7 @@ foreach (plugin ${supernova_plugins})
-     endif()
- endforeach()
- 
--if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-+if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- 	find_package(X11 REQUIRED)
- 
- 	if (NOT X11_Xt_FOUND)
diff --git a/SuperCollider/patches/patch-server_scsynth_CMakeLists.txt b/SuperCollider/patches/patch-server_scsynth_CMakeLists.txt
deleted file mode 100644
index 7ea9858..0000000
--- a/SuperCollider/patches/patch-server_scsynth_CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-server_scsynth_CMakeLists.txt,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Add NetBSD support.
-
---- server/scsynth/CMakeLists.txt.orig	2013-11-27 12:54:02.000000000 +0000
-+++ server/scsynth/CMakeLists.txt
-@@ -168,7 +168,7 @@ elseif(NOT NO_LIBSNDFILE)
- 	message(SEND_ERROR "Cannot find libsndfile")
- endif(SNDFILE_FOUND)
- 
--if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-+if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- 	add_definitions(-DSC_PLUGIN_DIR="${CMAKE_INSTALL_PREFIX}/lib/SuperCollider/plugins")
- endif()
- 
diff --git a/SuperCollider/patches/patch-server_scsynth_SC__Carbon.cpp b/SuperCollider/patches/patch-server_scsynth_SC__Carbon.cpp
deleted file mode 100644
index 26f6cc1..0000000
--- a/SuperCollider/patches/patch-server_scsynth_SC__Carbon.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-server_scsynth_SC__Carbon.cpp,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Add NetBSD support.
-
---- server/scsynth/SC_Carbon.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ server/scsynth/SC_Carbon.cpp
-@@ -128,7 +128,7 @@ bool sc_HasVectorUnit()
- void sc_SetDenormalFlags()
- {
- }
--#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(__SSE__)
-+#elif (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)) && defined(__SSE__)
- # include <xmmintrin.h>
- 
- // cpuid function that works with -fPIC from `minor' at http://red-bean.com
diff --git a/SuperCollider/patches/patch-server_scsynth_SC__ComPort.cpp b/SuperCollider/patches/patch-server_scsynth_SC__ComPort.cpp
deleted file mode 100644
index 4490d1d..0000000
--- a/SuperCollider/patches/patch-server_scsynth_SC__ComPort.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-server_scsynth_SC__ComPort.cpp,v 1.1 2014/09/06 22:22:37 thomasklausner Exp $
-
-Add NetBSD support.
-
---- server/scsynth/SC_ComPort.cpp.orig	2013-11-27 12:54:02.000000000 +0000
-+++ server/scsynth/SC_ComPort.cpp
-@@ -38,7 +38,7 @@
- 	#include <netinet/tcp.h>
- #endif
- 
--#if defined(__linux__) || defined(__FreeBSD__)
-+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
- 	#include <errno.h>
- 	#include <unistd.h>
- #endif


Home | Main Index | Thread Index | Old Index