HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #428

Ticket #428: libvpx-0.9.2-git.patch

File libvpx-0.9.2-git.patch, 1.7 KB (added by michaelvoliveira, 5 years ago)

All right. A better patch, following thq instructions. Thanks!

  • build/make/configure.sh

    diff -Naur libvpx-0.9.2-git/build/make/configure.sh libvpx-0.9.2-git-haiku/build/make/configure.sh
    old new  
    905908    # Almost every platform uses pthreads. 
    906909    if enabled multithread; then 
    907910        case ${toolchain} in 
    908             *-win*);; 
    909             *) check_header pthread.h && add_extralibs -lpthread 
     911            *-win*) 
     912            ;; 
     913            *linux*|*bsd*) 
     914            check_header pthread.h && add_extralibs -lpthread 
     915            ;; 
     916            *-haiku*) 
     917                check_header pthread.h 
     918                ;; 
    910919        esac 
    911920    fi 
    912921 
  • examples.mk

    diff -Naur libvpx-0.9.2-git/examples.mk libvpx-0.9.2-git-haiku/examples.mk
    old new  
    7272 
    7373 
    7474# Handle extra library flags depending on codec configuration 
     75ifeq ($(TOOLCHAIN),Unix) 
    7576CODEC_EXTRA_LIBS-$(CONFIG_VP8)         += m 
     77endif 
    7678 
    7779# 
    7880# End of specified files. The rest of the build rules should happen 
  • libvpx-0.9.

    diff -Naur libvpx-0.9.2-git/libs.mk libvpx-0.9.2-git-haiku/libs.mk
    old new  
    182182LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO) 
    183183$(BUILD_PFX)$(LIBVPX_SO): $(LIBVPX_OBJS) libvpx.ver 
    184184$(BUILD_PFX)$(LIBVPX_SO): extralibs += -lm -pthread 
     185ifeq ($(TOOLCHAIN),Haiku) 
     186        extralibs += 
     187endif 
    185188$(BUILD_PFX)$(LIBVPX_SO): SONAME = libvpx.so.$(VERSION_MAJOR) 
    186189$(BUILD_PFX)$(LIBVPX_SO): SO_VERSION_SCRIPT = libvpx.ver 
    187190LIBVPX_SO_SYMLINKS      := $(addprefix $(LIBSUBDIR)/, \ 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/