SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
45
x11/vlc/patches/patch-configure_ac
Normal file
45
x11/vlc/patches/patch-configure_ac
Normal file
|
@ -0,0 +1,45 @@
|
|||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -127,8 +127,7 @@ case "${host_os}" in
|
||||
;;
|
||||
openbsd*)
|
||||
SYS=openbsd
|
||||
- CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/usr/X11R6/include"
|
||||
- LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/usr/X11R6/lib/"
|
||||
+ ac_cv_ld_z_defs=no
|
||||
;;
|
||||
netbsd*)
|
||||
SYS=netbsd
|
||||
@@ -1123,22 +1122,6 @@ AC_ARG_ENABLE(optimizations,
|
||||
dnl Check for various optimization flags
|
||||
AS_IF([test "${enable_optimizations}" != "no"], [
|
||||
|
||||
- dnl -O3 only in production builds
|
||||
- AS_IF([test "${enable_debug}" = "no"], [
|
||||
- VLC_SAVE_FLAGS
|
||||
- CFLAGS="${CFLAGS} -O3"
|
||||
- CXXFLAGS="${CXXFLAGS} -O3"
|
||||
- OBJCFLAGS="${OBJCFLAGS} -O3"
|
||||
- AC_CACHE_CHECK([if $CC accepts -O3], [ac_cv_c_o3], [
|
||||
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
|
||||
- ac_cv_c_o3=yes
|
||||
- ], [
|
||||
- ac_cv_c_o3=no
|
||||
- ])
|
||||
- ])
|
||||
- AS_IF([test "${ac_cv_c_o3}" = "no"], [VLC_RESTORE_FLAGS])
|
||||
- ])
|
||||
-
|
||||
dnl Check for fast maths
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CFLAGS])
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CXXFLAGS])
|
||||
@@ -1664,7 +1647,7 @@ AC_ARG_ENABLE(lua,
|
||||
[disable LUA scripting support (default enabled)])])
|
||||
if test "${enable_lua}" != "no"
|
||||
then
|
||||
- PKG_CHECK_MODULES(LUA, lua5.2,
|
||||
+ PKG_CHECK_MODULES(LUA, lua52,
|
||||
[ have_lua=yes ],
|
||||
[
|
||||
AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua 5.1 instead])
|
Loading…
Add table
Add a link
Reference in a new issue