summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/ffmpeg/Makefile7
-rw-r--r--package/libmms/patches/patch-src_mmsio_h10
2 files changed, 14 insertions, 3 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index cfc55ca94..21fd3bc99 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= ffmpeg
-PKG_VERSION:= 2.0
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 13a0feb74474f89052f6b8ba1bce46be
+PKG_VERSION:= 2.0.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= dd71a1baedb2daa3e4d21e0651daa918
PKG_DESCR:= record, convert and stream audio & video
PKG_SECTION:= libs
PKG_FDEPENDS:= libpthread
@@ -87,6 +87,7 @@ $(eval $(call PKG_template,FFPROBE,ffprobe,${PKG_VERSION}-${PKG_RELEASE},${PKG_D
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS:= $(subst Os,O2,$(TARGET_CFLAGS))
+TARGET_CPPFLAGS+= -D_POSIX_SOURCE=1 -D_GNU_SOURCE=1
ifeq ($(ADK_TARGET_CPU_WITH_MMX),y)
CONFIGURE_CPU_OPTS:= --enable-mmx
diff --git a/package/libmms/patches/patch-src_mmsio_h b/package/libmms/patches/patch-src_mmsio_h
new file mode 100644
index 000000000..9c2889900
--- /dev/null
+++ b/package/libmms/patches/patch-src_mmsio_h
@@ -0,0 +1,10 @@
+--- libmms-0.5.orig/src/mmsio.h 2009-10-31 13:35:28.000000000 +0100
++++ libmms-0.5/src/mmsio.h 2013-09-17 19:11:25.000000000 +0200
+@@ -1,6 +1,7 @@
+ #ifndef __MMS_IO_H__
+ #define __MMS_IO_H__
+
++#include <fcntl.h>
+ #include "mms_config.h"
+
+ /* On 64 bit file offset capable systems, libmms' configure script adds