[FFmpeg-devel] [PATCH] - support Bitrig OS

David Hill dhill at mindcry.org
Thu Jun 14 01:56:29 CEST 2012


On Thu, Jun 14, 2012 at 01:41:53AM +0200, Michael Niedermayer wrote:
>Hi
>
>On Wed, Jun 13, 2012 at 12:21:11AM -0400, David Hill wrote:
>> Hello -
>> 
>> This patch allows ffmpeg to recognize Bitrig OS.  It also adds a local
>> OpenBSD patch.
>> 
>tabs are not allowed in ffmpeg git
>also why dont you just add bitrig to the openbsd case ? the 2 look
>identical. They could always be split when it becomes neccessary
>
>and maybe you would be interrested in running a bitrig fate client ?
>(see doc/fate.texi and fate.ffmpeg.org)
>
>-- 
>Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
>Republics decline into democracies and democracies degenerate into
>despotisms. -- Aristotle

new patch.  I'll look into setting up a fate client.

Thanks

diff --git a/configure b/configure
index ae45e26..221dfd0 100755
--- a/configure
+++ b/configure
@@ -2702,7 +2702,7 @@ case $target_os in
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"
         ;;
-    openbsd)
+    openbsd|bitrig)
         # On OpenBSD 4.5. the compiler does not use PIC unless
         # explicitly using -fPIC. FFmpeg builds fine without PIC,
         # however the generated executable will not do anything
@@ -2711,6 +2711,7 @@ case $target_os in
         enable pic
         disable symver
         SHFLAGS='-shared'
+        SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBVERSION)'
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"
         ;;


More information about the ffmpeg-devel mailing list