[vlc-commits] [Git][videolan/vlc][3.0.x] 3 commits: contrib/zvbi: remove no-longer needed hack

Jean-Baptiste Kempf gitlab at videolan.org
Tue Jun 15 12:23:42 UTC 2021



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
5c053b5e by Felix Paul Kühne at 2021-06-15T11:36:07+00:00
contrib/zvbi: remove no-longer needed hack

- - - - -
ade18afc by Felix Paul Kühne at 2021-06-15T11:36:07+00:00
contrib/lame: fix cross-compilation for i386 on AArch64

- - - - -
627a60fe by Felix Paul Kühne at 2021-06-15T11:36:07+00:00
contrib/vpx: fix cross-compiling for macOS from macOS

- - - - -


4 changed files:

- + contrib/src/lame/lame-fix-i386-on-aarch64.patch
- contrib/src/lame/rules.mak
- contrib/src/vpx/rules.mak
- contrib/src/zvbi/rules.mak


Changes:

=====================================
contrib/src/lame/lame-fix-i386-on-aarch64.patch
=====================================
@@ -0,0 +1,21 @@
+diff -ru lame/configure.in lame/configure.in
+--- lame/configure.in	2021-05-07 10:51:04.000000000 +0200
++++ lame-fixed/configure.in	2021-05-07 10:51:26.000000000 +0200
+@@ -935,7 +935,7 @@
+ 						-mtune=native"
+ 					;;
+ 				*86)
+-					OPTIMIZATION="${OPTIMIZATION} -march=native \
++					OPTIMIZATION="${OPTIMIZATION} -march=i386 \
+ 						-mtune=native"
+ 					;;
+ 				arm*-gnueabi)
+@@ -986,7 +986,7 @@
+ 				-mtune=native"
+ 			;;
+ 		*86)
+-			OPTIMIZATION="${OPTIMIZATION} -march=native \
++			OPTIMIZATION="${OPTIMIZATION} -march=i386 \
+ 				-mtune=native"
+ 			;;
+ 		esac


=====================================
contrib/src/lame/rules.mak
=====================================
@@ -19,6 +19,9 @@ lame: lame-$(LAME_VERSION).tar.gz .sum-lame
 	$(APPLY) $(SRC)/lame/sse.patch
 ifdef HAVE_VISUALSTUDIO
 	$(APPLY) $(SRC)/lame/struct-float-copy.patch
+endif
+ifdef HAVE_DARWIN_OS
+	$(APPLY) $(SRC)/lame/lame-fix-i386-on-aarch64.patch
 endif
 	# Avoid relying on iconv.m4 from gettext, when reconfiguring.
 	# This is only used by the frontend which we disable.


=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -137,6 +137,9 @@ else
 VPX_LDFLAGS := -L$(IOS_SDK)/usr/lib -isysroot $(IOS_SDK) -miphoneos-version-min=8.4
 endif
 endif
+ifdef HAVE_MACOSX
+VPX_LDFLAGS := -L$(MACOSX_SDK)/usr/lib -isysroot $(MACOSX_SDK) -mmacosx-version-min=10.7
+endif
 VPX_LDFLAGS += -arch $(PLATFORM_SHORT_ARCH)
 endif
 


=====================================
contrib/src/zvbi/rules.mak
=====================================
@@ -36,9 +36,6 @@ ZVBICONF := \
 	--without-doxygen \
 	$(HOSTCONF)
 
-ifdef HAVE_MACOSX
-ZVBI_CFLAGS += -fnested-functions
-endif
 ifdef HAVE_WIN32
 ZVBI_CFLAGS += -DPTW32_STATIC_LIB
 endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/afb0acef054046673a7636246da53979762cf9f1...627a60fee0325a26672e4f35c771d967ea3e8d6a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/afb0acef054046673a7636246da53979762cf9f1...627a60fee0325a26672e4f35c771d967ea3e8d6a
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list