aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-12-13 07:43:50 +0800
committermm <mm@FreeBSD.org>2010-12-13 07:43:50 +0800
commit227fe8de2e2e7145fecc5c4b8c9ce7c75f679ec6 (patch)
tree27f2e5c145c958d061f536312494d7b11c1a821b /multimedia/ffmpeg-devel
parent2265c861fc9582aeaf5d97eab43dedef4fa6e84a (diff)
downloadfreebsd-ports-gnome-227fe8de2e2e7145fecc5c4b8c9ce7c75f679ec6.tar.gz
freebsd-ports-gnome-227fe8de2e2e7145fecc5c4b8c9ce7c75f679ec6.tar.zst
freebsd-ports-gnome-227fe8de2e2e7145fecc5c4b8c9ce7c75f679ec6.zip
- Remove -D_POSIX_C_SOURCE=200112 from CFLAGS
fixes some inline assembly crashes (libswscale.so) Reported by: avg (on freebsd-multimedia@)
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r--multimedia/ffmpeg-devel/Makefile1
-rw-r--r--multimedia/ffmpeg-devel/files/patch-configure20
2 files changed, 20 insertions, 1 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index d16d1de488a9..45df333dfb75 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -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
diff --git a/multimedia/ffmpeg-devel/files/patch-configure b/multimedia/ffmpeg-devel/files/patch-configure
index 709c30424f5b..ff4ce0c621cf 100644
--- a/multimedia/ffmpeg-devel/files/patch-configure
+++ b/multimedia/ffmpeg-devel/files/patch-configure
@@ -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