Changeset 40675


Ignore:
Timestamp:
2014-05-03T13:53:20+02:00 (4 years ago)
Author:
hauke
Message:

bemused: fix build by including more include files

Signed-off-by: Russell Senior <russell@…>

Location:
packages/utils/bemused
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/bemused/Makefile

    r33524 r40675  
    11# 
    2 # Copyright (C) 2008-2011 OpenWrt.org 
     2# Copyright (C) 2008-2014 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=bemused-mpd 
    1111PKG_VERSION:=r062 
    12 PKG_RELEASE:=4 
     12PKG_RELEASE:=5 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/utils/bemused/patches/110-missing_includes.patch

    r20579 r40675  
    1 diff -urN bemused-mpd-r062/main.cpp bemused-mpd-r062.new/main.cpp 
    2 --- bemused-mpd-r062/main.cpp   2008-02-23 08:01:38.000000000 +0100 
    3 +++ bemused-mpd-r062.new/main.cpp       2010-03-29 13:00:07.000000000 +0200 
    4 @@ -16,6 +16,7 @@ 
     1--- a/main.cpp 
     2+++ b/main.cpp 
     3@@ -16,6 +16,9 @@ 
    54  ***************************************************************************/ 
    65  
    76 #include <stdlib.h> 
    87+#include <stdio.h> 
     8+#include <getopt.h> 
     9+#include <unistd.h> 
    910 #include <iostream> 
    1011  
    1112 #include "BemusedServerDlg.h" 
     13--- a/BemusedServerDlg.cpp 
     14+++ b/BemusedServerDlg.cpp 
     15@@ -28,6 +28,7 @@ 
     16 #include <cerrno> 
     17 #include <csignal> 
     18  
     19+#include <unistd.h> 
     20 #include <sys/types.h> 
     21 #include <sys/stat.h> 
     22 #include <dirent.h> 
  • packages/utils/bemused/patches/200-cxx-compile-fixes.patch

    r25885 r40675  
    1 Index: bemused-mpd-r062/Makefile 
    2 =================================================================== 
    3 --- bemused-mpd-r062.orig/Makefile      2008-03-31 09:43:54.000000000 +0200 
    4 +++ bemused-mpd-r062/Makefile   2011-03-06 14:19:07.933096517 +0100 
     1--- a/Makefile 
     2+++ b/Makefile 
    53@@ -1,8 +1,15 @@ 
    64-SHELL = /bin/sh 
     
    2523+ 
    2624+all: bemusedlinuxserver 
    27 Index: bemused-mpd-r062/libmpdclient.h 
    28 =================================================================== 
    29 --- bemused-mpd-r062.orig/libmpdclient.h        2008-04-28 23:03:52.000000000 +0200 
    30 +++ bemused-mpd-r062/libmpdclient.h     2011-03-06 14:15:34.821307043 +0100 
     25--- a/libmpdclient.h 
     26+++ b/libmpdclient.h 
    3127@@ -68,11 +68,10 @@ 
    3228 #define MPD_ACK_ERROR_EXIST                    56 
     
    5652  
    5753 #endif 
    58 Index: bemused-mpd-r062/mpdctrl.c 
    59 =================================================================== 
    60 --- bemused-mpd-r062.orig/mpdctrl.c     2008-04-28 23:03:52.000000000 +0200 
    61 +++ bemused-mpd-r062/mpdctrl.c  2011-03-06 14:15:34.821307043 +0100 
     54--- a/mpdctrl.c 
     55+++ b/mpdctrl.c 
    6256@@ -59,6 +59,9 @@ 
    6357  
Note: See TracChangeset for help on using the changeset viewer.