summaryrefslogtreecommitdiff
path: root/audio/ccaudio2/files/patch-src_friends.cpp
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-05-20 08:39:56 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-05-20 08:39:56 +0000
commitb1f5de69f7edd8a742ba40564f636a7ad6504841 (patch)
treeba0595c6140d2a5cc50501cbdff346ca9e9402e4 /audio/ccaudio2/files/patch-src_friends.cpp
parent- Chase devel/ucommon shlib version bump (diff)
- 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
Notes
Notes: svn path=/head/; revision=354617
Diffstat (limited to 'audio/ccaudio2/files/patch-src_friends.cpp')
-rw-r--r--audio/ccaudio2/files/patch-src_friends.cpp36
1 files changed, 0 insertions, 36 deletions
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 <ctype.h>
- #ifdef HAVE_ENDIAN_H
- #include <endian.h>
-+#else
-+#ifdef __FreeBSD__
-+#include <sys/endian.h>
-+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
-+#define __BYTE_ORDER _BYTE_ORDER
-+#endif
- #endif
- #include <ucommon/export.h>
- #include <ccaudio2.h>
-@@ -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
- }
-