Signed-off-by: Russell Senior <russ...@personaltelco.net>
---
 utils/bemused/Makefile                           |  4 ++--
 utils/bemused/patches/110-missing_includes.patch | 19 +++++++++++++++----
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/utils/bemused/Makefile b/utils/bemused/Makefile
index 61cc101..c30c7c3 100644
--- a/utils/bemused/Makefile
+++ b/utils/bemused/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008-2011 OpenWrt.org
+# Copyright (C) 2008-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bemused-mpd
 PKG_VERSION:=r062
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://download.origo.ethz.ch/bemused-lnx-mpdhack/526
diff --git a/utils/bemused/patches/110-missing_includes.patch 
b/utils/bemused/patches/110-missing_includes.patch
index c049e36..7f14a42 100644
--- a/utils/bemused/patches/110-missing_includes.patch
+++ b/utils/bemused/patches/110-missing_includes.patch
@@ -1,11 +1,22 @@
-diff -urN bemused-mpd-r062/main.cpp bemused-mpd-r062.new/main.cpp
---- bemused-mpd-r062/main.cpp  2008-02-23 08:01:38.000000000 +0100
-+++ bemused-mpd-r062.new/main.cpp      2010-03-29 13:00:07.000000000 +0200
-@@ -16,6 +16,7 @@
+--- a/main.cpp
++++ b/main.cpp
+@@ -16,6 +16,9 @@
   ***************************************************************************/
  
  #include <stdlib.h>
 +#include <stdio.h>
++#include <getopt.h>
++#include <unistd.h>
  #include <iostream>
  
  #include "BemusedServerDlg.h"
+--- a/BemusedServerDlg.cpp
++++ b/BemusedServerDlg.cpp
+@@ -28,6 +28,7 @@
+ #include <cerrno>
+ #include <csignal>
+ 
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
-- 
1.8.3.2


-- 
Russell Senior, President
russ...@personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to