mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Remove -D_POSIX_C_SOURCE=200112 from CFLAGS
fixes some inline assembly crashes (libswscale.so) Reported by: avg (on freebsd-multimedia@)
This commit is contained in:
parent
89a54a2085
commit
30bca21ace
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266157
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ffmpeg
|
||||
DISTVERSION= 2010-11-30
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia audio ipv6 net
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= mm
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- configure.orig 2010-11-04 11:38:39.000000000 +0100
|
||||
+++ configure 2010-11-30 13:49:43.509425851 +0100
|
||||
+++ configure 2010-12-13 00:26:47.034162631 +0100
|
||||
@@ -1556,7 +1556,7 @@
|
||||
nm_opts='-g'
|
||||
|
||||
@ -9,6 +9,24 @@
|
||||
cpu="generic"
|
||||
|
||||
# OS
|
||||
@@ -1603,7 +1603,7 @@
|
||||
|
||||
CC_O='-o $@'
|
||||
|
||||
-host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
|
||||
+host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
|
||||
host_libs='-lm'
|
||||
|
||||
target_path='$(CURDIR)'
|
||||
@@ -2249,7 +2249,7 @@
|
||||
die "C compiler test failed."
|
||||
fi
|
||||
|
||||
-add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
|
||||
+add_cppflags -D_ISOC99_SOURCE
|
||||
check_cflags -std=c99
|
||||
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
|
||||
#include <stdlib.h>
|
||||
@@ -2824,8 +2824,8 @@
|
||||
fi
|
||||
fi
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= ffmpeg
|
||||
PORTVERSION= 0.6.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= multimedia audio ipv6 net
|
||||
MASTER_SITES= http://ffmpeg.org/releases/
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- configure.orig 2010-06-15 21:44:30.000000000 +0200
|
||||
+++ configure 2010-08-01 20:32:42.201110812 +0200
|
||||
+++ configure 2010-12-12 22:19:20.533163967 +0100
|
||||
@@ -1469,7 +1469,7 @@
|
||||
nm_opts='-g'
|
||||
|
||||
@ -9,6 +9,24 @@
|
||||
cpu="generic"
|
||||
|
||||
# OS
|
||||
@@ -1514,7 +1514,7 @@
|
||||
|
||||
CC_O='-o $@'
|
||||
|
||||
-host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
|
||||
+host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
|
||||
host_libs='-lm'
|
||||
|
||||
target_path='$(CURDIR)'
|
||||
@@ -2096,7 +2096,7 @@
|
||||
die "C compiler test failed."
|
||||
fi
|
||||
|
||||
-add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
|
||||
+add_cppflags -D_ISOC99_SOURCE
|
||||
check_cflags -std=c99
|
||||
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
|
||||
#include <stdlib.h>
|
||||
@@ -2678,8 +2678,8 @@
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user