From b1f5de69f7edd8a742ba40564f636a7ad6504841 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 20 May 2014 08:39:56 +0000 Subject: - Update to 2.1.2 Changes: from ccaudio2 2.1.1 to ccaudio2 2.1.2 - fixed cmake shared library builds - windows audio fixups from ccaudio2 2.1.0 to ccaudio2 2.1.1 - fixed library naming in CMakeLists.txt - updated spec files - updated lib .so name from ccaudio2 2.0.5 to ccaudio2 2.1.0 - modernized automake - patches from Brandon Invergo for current ucommon - various code cleanups - Fix MASTER_SITE, general description and WWW line in pkg-descr --- audio/ccaudio2/files/patch-src_friends.cpp | 36 ------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 audio/ccaudio2/files/patch-src_friends.cpp (limited to 'audio/ccaudio2/files/patch-src_friends.cpp') diff --git a/audio/ccaudio2/files/patch-src_friends.cpp b/audio/ccaudio2/files/patch-src_friends.cpp deleted file mode 100644 index 3296e00effec..000000000000 --- a/audio/ccaudio2/files/patch-src_friends.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- src/friends.cpp.orig 2011-03-21 08:16:40.000000000 +0100 -+++ src/friends.cpp 2013-02-11 15:09:54.000000000 +0100 -@@ -22,6 +22,13 @@ - #include - #ifdef HAVE_ENDIAN_H - #include -+#else -+#ifdef __FreeBSD__ -+#include -+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN) -+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN) -+#define __BYTE_ORDER _BYTE_ORDER -+#endif - #endif - #include - #include -@@ -1186,16 +1193,16 @@ - if(!dp) - return; - -- fsys::open(dir, dp, fsys::ACCESS_DIRECTORY); -+ dir.open(dp, fsys::RDONLY); - -- while(is(dir) && fsys::read(dir, filename, sizeof(filename)) > 0) { -+ while(is(dir) && dir.read(filename, sizeof(filename)) > 0) { - if(filename[0] == '.') - continue; - - snprintf(path, sizeof(path), "%s/%s", dp, filename); - fsys::load(path); - } -- fsys::close(dir); -+ dir.close(); - #endif - } - -- cgit v1.2.3