[Ffmpeg-devel] ffmpeg build patches

Nikns Siankin nikns
Fri Dec 8 15:06:30 CET 2006


On Fri, Dec 08, 2006 at 02:58:29PM +0100, Diego Biurrun wrote:
>On Fri, Dec 08, 2006 at 03:47:38PM +0200, Nikns Siankin wrote:
>> Updating OpenBSD ffmpeg port, I have made patches which could be
>> commited into ffmpeg project.
>
>The patch arrived badly mangled.
Right. My mistake.

>
>> --- 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
>
>wrong
Why should we have lib/pkgconfig/libswscaler.pc
if we don't build that library?

>
>> --- 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)'
>
>Why?
OpenBSD make use only of shared libraries with version numbers.

>
>> @@ -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
>
>Probably OK.
OK. ;]

>
>Diego
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list