[Ffmpeg-devel] ffmpeg build patches

Nikns Siankin nikns
Fri Dec 8 14:47:38 CET 2006


Updating OpenBSD ffmpeg port, I have made patches which could be
commited into ffmpeg project.


--- Makefile.orig       Tue Dec  5 19:18:20 2006
+++ Makefile    Tue Dec  5 19:18:49 2006
@@ -154,7 +154,9 @@ install-headers:
 ifeq ($(CONFIG_PP),yes)
        $(MAKE) -C libpostproc install-headers
 endif
+ifeq ($(CONFIG_SWSCALER),yes)
        $(MAKE) -C libswscale  install-headers
+endif

 uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man 
uninstall-vhook
--- configure.orig Wed Nov 29 01:55:24 2006
+++ configure Fri Dec 8 10:52:55 2006 @@ 
-692,6 +692,10 @@ make="gmake"

 LIBOBJFLAGS="\$(PIC)"
 LDCONFIG="ldconfig -m \$(shlibdir)"
 add_extralibs "-lossaudio"
+SHFLAGS='-shared'
+SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)'
+SLIBNAME_WITH_VERSION='$(SLIBNAME)'
+SLIBNAME_WITH_MAJOR='$(SLIBNAME)'
 ;;
 FreeBSD)
 video4linux="no"
@@ -1413,7 +1417,7 @@ check_func memalign

 if test "$memalign" = "no" -a "$mmx" = "yes" -a \
         "$memalign_hack" != "yes" -a "$targetos" != "Darwin" -a \
-        "$targetos" != "FreeBSD" ; then
+        "$targetos" != "FreeBSD" -a "$targetos" != "OpenBSD"; then
     die "Error, no memalign() but SSE enabled, disable it or use 
--enable-memalign-hack."
 fi





More information about the ffmpeg-devel mailing list