On Wed, Dec 21, 2011 at 11:22:34AM -0800, Dan Dennedy wrote:
D> > - A typo: param.h, not xparam.h
D> 
D> oops that was a remnant of an intentional negative test because
D> sys/param.h exists on Linux as well.

Actually, it exists almost everywhere, so including via #ifdef __unix__
is a good idea, like suggested here:

http://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.html

D> maybe because I put it in "". I wanted to retain CFLAGS set through an
D> environment variable, but perhaps that is not important in this
D> context.

Sure.

D> I will try to merge those, but I might not check that location
D> periodically. Often times I receive patches from FreeBSD and NetBSD
D> folk on the mailing list or SourceForge tracker, which I prefer. I do
D> not have the patience to find and review every distro's package
D> changes.

I understand you. May be you can email port maintainers prior to
releases to ask them to do test builds.

D> > Also, the git snapshot doesn't build now:
D> >
D> > g++ -O -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre 
-ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -DARCH_X86_64 -fPIC -pthread -Wall -DPIC   -O2 -pipe 
-fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE 
-DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DARCH_X86_64 -fPIC 
-pthread -I../.. -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre 
-ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -DARCH_X86_64 -fPIC -pthread -Wno-deprecated -Wno-multichar 
-fno-rtti -D__LINUX_OSS__   -c -o RtAudio.o RtAudio.cpp
D> > RtAudio.cpp:6376:23: error: soundcard.h: No such file or directory
D> > RtAudio.cpp: In member function 'virtual unsigned int 
RtApiOss::getDeviceCount()':
D> > ...
D> >
D> > soundcard.h seems to be a Linux-only interface. If this module isn't
D> 
D> No, it is for OSS. The FreeBSD wiki page http://wiki.freebsd.org/Sound
D> led me to believe FreeBSD led me to believe it still supports OSS.
D> 
D> > critical for MLT operation, it can be disabled on FreeBSD, if you
D> > don't have resources to make it portable.
D> 
D> OK, I will disable this plugin when not Linux, Windows, or OS X.

Oh, don't hurry with disabling it. I may mistake on soundcard.h

-- 
Totus tuus, Glebius.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to