Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx Fix building multimedia/libvpx on Da...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75cbb70d9b88
branches:  trunk
changeset: 437715:75cbb70d9b88
user:      js <js%pkgsrc.org@localhost>
date:      Sun Aug 30 12:33:29 2020 +0000

description:
Fix building multimedia/libvpx on Darwin

This should also fix other platforms that don't like empty .a files.

diffstat:

 multimedia/libvpx/distinfo              |   4 ++--
 multimedia/libvpx/patches/patch-libs.mk |  22 +++++++++++++++++++++-
 2 files changed, 23 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 3f9cbb03ee05 -r 75cbb70d9b88 multimedia/libvpx/distinfo
--- a/multimedia/libvpx/distinfo        Sun Aug 30 12:09:44 2020 +0000
+++ b/multimedia/libvpx/distinfo        Sun Aug 30 12:33:29 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2020/08/24 08:35:07 wiz Exp $
+$NetBSD: distinfo,v 1.41 2020/08/30 12:33:29 js Exp $
 
 SHA1 (libvpx-1.9.0.tar.gz) = 2ab8203ad8922bdf3256e4a197d1348fa8db9a62
 RMD160 (libvpx-1.9.0.tar.gz) = 6189b855a38cd5f2e34a5120d5a48cc945b623b1
@@ -9,4 +9,4 @@
 SHA1 (patch-build_make_gen_asm_deps.sh) = c55bd4d0e12176b73ba62c3c4741b58de77923e6
 SHA1 (patch-configure) = 738871dc9ffa44a809e594849915a875a97ac40b
 SHA1 (patch-examples.mk) = 17410f43ff9952d616be3211ca697f37c107610a
-SHA1 (patch-libs.mk) = 5da8377ca81db70f34c833ce0049060d05ef107c
+SHA1 (patch-libs.mk) = cdbd8b590746f3b366f25ba9b2a8636ff790d930
diff -r 3f9cbb03ee05 -r 75cbb70d9b88 multimedia/libvpx/patches/patch-libs.mk
--- a/multimedia/libvpx/patches/patch-libs.mk   Sun Aug 30 12:09:44 2020 +0000
+++ b/multimedia/libvpx/patches/patch-libs.mk   Sun Aug 30 12:33:29 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-libs.mk,v 1.4 2020/08/24 08:35:07 wiz Exp $
+$NetBSD: patch-libs.mk,v 1.5 2020/08/30 12:33:29 js Exp $
 
 Do not install debug library.
 
@@ -23,3 +23,23 @@
  
  SO_VERSION_MAJOR := 6
  SO_VERSION_MINOR := 3
+@@ -384,15 +383,15 @@ ifeq ($(CONFIG_VP9_ENCODER),yes)
+   RC_RTC_OBJS=$(call objs,$(RC_RTC_SRCS))
+   RC_RTC_OBJS=$(call objs,$(RC_RTC_SRCS))
+   OBJS-yes += $(RC_RTC_OBJS)
+-  LIBS-yes += $(BUILD_PFX)libvp9rc.a $(BUILD_PFX)libvp9rc_g.a
+-  $(BUILD_PFX)libvp9rc_g.a: $(RC_RTC_OBJS)
++  LIBS-yes += $(BUILD_PFX)libvp9rc.a
++  $(BUILD_PFX)libvp9rc.a: $(RC_RTC_OBJS)
+ endif
+ 
+ ifeq ($(CONFIG_VP9_ENCODER)$(CONFIG_RATE_CTRL),yesyes)
+   SIMPLE_ENCODE_OBJS=$(call objs,$(SIMPLE_ENCODE_SRCS))
+   OBJS-yes += $(SIMPLE_ENCODE_OBJS)
+-  LIBS-yes += $(BUILD_PFX)libsimple_encode.a $(BUILD_PFX)libsimple_encode_g.a
+-  $(BUILD_PFX)libsimple_encode_g.a: $(SIMPLE_ENCODE_OBJS)
++  LIBS-yes += $(BUILD_PFX)libsimple_encode.a
++  $(BUILD_PFX)libsimple_encode.a: $(SIMPLE_ENCODE_OBJS)
+ endif
+ 
+ endif # ifeq ($(CONFIG_EXTERNAL_BUILD),yes)



Home | Main Index | Thread Index | Old Index