Re: WIP: libvpx update - need help debugging build problem

2012-02-23 Thread Brad Smith

On 23/02/12 4:36 AM, David Coppa wrote:

On Wed, Feb 22, 2012 at 7:06 PM, Brad Smith  wrote:

Here is what I have started with towards updating libvpx but I'm looking for
some assistance with trying to figure out where/why the build is failing
trying to call this libvpx.so target.


Hi Brad,

I think I've properly fixed it: have a look at the attached patch.

ciao
David


Thank you. That seems to be it.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WIP: libvpx update - need help debugging build problem

2012-02-23 Thread David Coppa
On Wed, Feb 22, 2012 at 7:06 PM, Brad Smith  wrote:
> Here is what I have started with towards updating libvpx but I'm looking for
> some assistance with trying to figure out where/why the build is failing
> trying to call this libvpx.so target.

Hi Brad,

I think I've properly fixed it: have a look at the attached patch.

ciao
David


patch-examples_mk
Description: Binary data


WIP: libvpx update - need help debugging build problem

2012-02-22 Thread Brad Smith
Here is what I have started with towards updating libvpx but I'm looking for
some assistance with trying to figure out where/why the build is failing
trying to call this libvpx.so target.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile17 Mar 2011 16:54:16 -  1.7
+++ Makefile30 Jan 2012 02:10:24 -
@@ -2,14 +2,14 @@
 
 COMMENT=   Google VP8 video codec
 
-V= 0.9.6
+V= 1.0.0
 DISTNAME=  libvpx-v${V}
 PKGNAME=   libvpx-${V}
 CATEGORIES=multimedia
 MASTER_SITES=  http://webm.googlecode.com/files/
 EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS=   vpx 2.0
+SHARED_LIBS=   vpx 3.0
 
 HOMEPAGE=  http://www.webmproject.org/
 
@@ -20,6 +20,7 @@ PERMIT_PACKAGE_CDROM= Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
+
 WANTLIB=   c m pthread
 
 BUILD_DEPENDS+=shells/bash
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo17 Mar 2011 16:54:16 -  1.3
+++ distinfo30 Jan 2012 02:10:39 -
@@ -1,5 +1,5 @@
-MD5 (libvpx-v0.9.6.tar.bz2) = OD8/B6dgmWgqu0P3m2krcg==
-RMD160 (libvpx-v0.9.6.tar.bz2) = uFA4uS2RGymzuRLD1xxg4T+JpVE=
-SHA1 (libvpx-v0.9.6.tar.bz2) = o1Ir0rc9Ujgbp2fe0cv0dg6cxvg=
-SHA256 (libvpx-v0.9.6.tar.bz2) = KL2KjvIW+1cJEvDTeGaAUdmWgb8Tc1tZ5ooSrXnyqnM=
-SIZE (libvpx-v0.9.6.tar.bz2) = 1230418
+MD5 (libvpx-v1.0.0.tar.bz2) = 2Ye1FAQS7dN9LGsQwprUhA==
+RMD160 (libvpx-v1.0.0.tar.bz2) = LuWi5/TLLxJsbQ2aNuhjZFX0KRU=
+SHA1 (libvpx-v1.0.0.tar.bz2) = KRnhEHT+9y/GHvGnUWAFD/qtYHQ=
+SHA256 (libvpx-v1.0.0.tar.bz2) = B87bChmkTm2B119S7qhk9Z7xDGxyXLhgQxvsZkHq/iE=
+SIZE (libvpx-v1.0.0.tar.bz2) = 1641411
Index: patches/patch-build_make_Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-build_make_Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-build_make_Makefile
--- patches/patch-build_make_Makefile   4 Oct 2010 23:56:16 -   1.1.1.1
+++ patches/patch-build_make_Makefile   30 Jan 2012 02:13:26 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-build_make_Makefile,v 1.1.1.1 2010/10/04 23:56:16 ckuethe Exp $
 build/make/Makefile.orig   Thu Sep  2 14:56:47 2010
-+++ build/make/MakefileSat Sep 25 16:48:26 2010
-@@ -222,8 +222,7 @@ define so_template
+--- build/make/Makefile.orig   Fri Jan 27 13:36:39 2012
 build/make/MakefileSun Jan 29 21:11:03 2012
+@@ -247,8 +247,7 @@ define so_template
  # This needs further abstraction for dealing with non-GNU linkers.
  $(1):
$(if $(quiet),@echo "[LD] $$@")
@@ -11,7 +11,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.
  -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
  $$(filter %.o,$$?) $$(extralibs)
  endef
-@@ -291,7 +290,7 @@ LIBS=$(call enabled,LIBS)
+@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS)
  .libs: $(LIBS)
@touch $@
  $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib
Index: patches/patch-build_make_configure_sh
===
RCS file: 
/home/cvs/ports/multimedia/libvpx/patches/patch-build_make_configure_sh,v
retrieving revision 1.3
diff -u -p -r1.3 patch-build_make_configure_sh
--- patches/patch-build_make_configure_sh   17 Mar 2011 16:54:16 -  
1.3
+++ patches/patch-build_make_configure_sh   30 Jan 2012 02:13:24 -
@@ -1,25 +1,16 @@
 $OpenBSD: patch-build_make_configure_sh,v 1.3 2011/03/17 16:54:16 edd Exp $
 build/make/configure.sh.orig   Fri Mar  4 15:40:37 2011
-+++ build/make/configure.shTue Mar  8 21:12:29 2011
+--- build/make/configure.sh.orig   Fri Jan 27 13:36:39 2012
 build/make/configure.shSun Jan 29 21:13:12 2012
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!${BASH}
  ##
  ##  configure.sh
  ##
-@@ -880,8 +880,6 @@ process_common_toolchain() {
- esac
- ;;
- gcc*)
--add_cflags  -m${bits}
--add_ldflags -m${bits}
- link_with_cc=gcc
- tune_cflags="-march="
- setup_gnu_toolchain
-@@ -975,7 +973,7 @@ EOF
- if enabled multithread; then
+@@ -1019,7 +1019,7 @@ EOF
  case ${toolchain} in
  *-win*);;
+ *-android-gcc);;
 -*) check_header pthread.h && add_extralibs -lpthread
 +*) check_header pthread.h && add_extralibs -pthread
  esac
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- patches/patch-configure 17 M