From c2677e5cfc8e1dd211890be4159fc5d604e9b434 Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Mon, 2 Nov 2015 11:26:28 +0300 Subject: [PATCH] media-video/aegisub: version bump to 3.0.4 Add the last aegisub version that has: - dependency on = 5.1 lua5.1 < 5.2, [with_auto4_lua="yes"], [ + PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1 lua-5.1 < 5.2, [with_auto4_lua="yes"], [ diff --git a/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch b/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch new file mode 100644 index 000000000000..80e1eb9bde19 --- /dev/null +++ b/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch @@ -0,0 +1,30 @@ +diff --git a/aegisub/configure.ac b/aegisub/configure.ac +index d961bd6..8922042 100644 +--- a/aegisub/configure.ac ++++ b/aegisub/configure.ac +@@ -157,23 +157,17 @@ AS_IF([test x$enable_compiler_flags != xno], [ + AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])]) + AC_C_FLAG([-Wno-unused-parameter]) + AC_C_FLAG([-std=gnu99]) +- AC_C_FLAG([-pipe]) +- AC_C_FLAG([-g]) + AC_CXX_FLAG([-Wall]) + AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])]) + AC_CXX_FLAG([-Wno-unused-parameter]) + AC_CXX_FLAG([-Wno-long-long]) +- AC_CXX_FLAG([-fno-strict-aliasing]) +- AC_CXX_FLAG([-pipe]) +- AC_CXX_FLAG([-g]) + + # -O* messes with debugging. + AS_IF([test x$enable_debug = xyes], [ + AC_C_FLAG([-O0]) ++ AC_C_FLAG([-g]) + AC_CXX_FLAG([-O0]) +- ], [ +- AC_C_FLAG([-O2]) +- AC_CXX_FLAG([-O2]) ++ AC_CXX_FLAG([-g]) + ]) + ]) + -- 2.26.2