[package] fix bemused compilation failure (#6980)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 29 Mar 2010 11:03:32 +0000 (11:03 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 29 Mar 2010 11:03:32 +0000 (11:03 +0000)
SVN-Revision: 20579

utils/bemused/Makefile
utils/bemused/patches/110-missing_includes.patch [new file with mode: 0644]

index 6749124..5a0f2e0 100644 (file)
@@ -1,5 +1,5 @@
-# 
-# Copyright (C) 2008-2009 OpenWrt.org
+#
+# Copyright (C) 2008-2010 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:=1
+PKG_RELEASE:=2
 
 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
new file mode 100644 (file)
index 0000000..c049e36
--- /dev/null
@@ -0,0 +1,11 @@
+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 @@
+  ***************************************************************************/
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <iostream>
+ #include "BemusedServerDlg.h"