mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
Since this is a patch that has already applied to the ffmpeg upstream, we should either apply this patch or upgrade to an fixed upstream version, see: https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/e5163b1d3438 This issue has existed for some time and despite the port being upgraded in between, therefore I'll commit the patch under the "just fix it" exception granted by portmgr, it can be removed by the maintainers when ffmpeg is upgraded to a fixed version. PR: 266299 Reported by: m.ne@gmx.net (Martin Neubauer) Approved by: portmgr (implicit)
26 lines
839 B
Text
26 lines
839 B
Text
--- configure.orig 2020-06-15 18:54:23 UTC
|
|
+++ configure
|
|
@@ -3744,13 +3744,7 @@ target_os_default=$(tolower $(uname -s))
|
|
host_os=$target_os_default
|
|
|
|
# machine
|
|
-if test "$target_os_default" = aix; then
|
|
- arch_default=$(uname -p)
|
|
- strip_default="strip -X32_64"
|
|
- nm_default="nm -g -X32_64"
|
|
-else
|
|
- arch_default=$(uname -m)
|
|
-fi
|
|
+arch_default=$(uname -p)
|
|
cpu="generic"
|
|
intrinsics="none"
|
|
|
|
@@ -6736,7 +6736,7 @@ fi
|
|
|
|
if enabled sdl2; then
|
|
SDL2_CONFIG="${cross_prefix}sdl2-config"
|
|
- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent
|
|
+ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent
|
|
if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then
|
|
sdl2_cflags=$("${SDL2_CONFIG}" --cflags)
|
|
sdl2_extralibs=$("${SDL2_CONFIG}" --libs)
|