-#
-# Copyright (C) 2010-2014 OpenWrt.org
+#
+# Copyright (C) 2010-2016 OpenWrt.org
# Copyright (C) 2010 Alfred E. Heggestad
#
# This is free software, licensed under the GNU General Public License v2.
include $(TOPDIR)/rules.mk
PKG_NAME:=rem
-PKG_VERSION:=0.4.6
+PKG_VERSION:=0.4.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.creytiv.com/pub
-PKG_MD5SUM:=888c3000aa002790cc7129fa72d39a58
+PKG_MD5SUM:=dc7f76de6d3aff19200eb6d0a41dd332
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=docs/COPYING
URL:=http://www.creytiv.com/
endef
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS+=$(FPIC)
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
+++ /dev/null
-Index: rem-0.4.6/src/vidmix/vidmix.c
-===================================================================
---- rem-0.4.6.orig/src/vidmix/vidmix.c
-+++ rem-0.4.6/src/vidmix/vidmix.c
-@@ -343,7 +343,7 @@ int vidmix_alloc(struct vidmix **mixp)
- return err;
- }
-
--#ifdef LINUX
-+#if defined(LINUX) && defined(__GLIBC__)
- err = pthread_rwlockattr_setkind_np(&attr,
- PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP);
- if (err)