freebsd-ports/audio/rezound/files/patch-src-PoolFile-TStaticPoolAccesser.h
Alexey Dokuchaev ba425b79d1 Fix compilation problems with Clang (inaccurate usage of type qualifiers,
lack of this->, some missing #include's) that could be patched via simple
sed(1) calls and one trivial patch.  Linking still fails, and so does the
build with GCC 4.6+; this would be fixed in a separate commit, along with
other issues with the port (dependency on restricted LAME codec, usage of
somewhat old FOX v1.4).

While here, convert large number of optional LIB_DEPENDS conditionals to
helper knobs, reword LARGEFILE_DESC, do not bogusly augment CONFIGURE_ENV,
and stagify.

For users that have ReZound package installed, this commit does not bring
any visible changes, and should not be merged to any "stable" or quarterly
branches alone.
2013-12-25 11:27:31 +00:00

20 lines
662 B
C

--- src/PoolFile/TStaticPoolAccesser.h.orig
+++ src/PoolFile/TStaticPoolAccesser.h
@@ -43,7 +43,7 @@ public:
// stream-like access methods
- void read(pool_element_t buffer[],const l_addr_t count) const;
+ void read(pool_element_t buffer[],l_addr_t count) const;
void write(const pool_element_t buffer[],const l_addr_t count);
void seek(const l_addr_t where);
@@ -112,7 +112,7 @@ public:
mutable l_addr_t position;
- void overflowWrite(const pool_element_t buffer[],const l_addr_t count,const bool append);
+ void overflowWrite(const pool_element_t buffer[],l_addr_t count,const bool append);
void cacheBlock(const l_addr_t where) const;