summaryrefslogtreecommitdiffstats
path: root/package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-09-01 09:59:08 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-09-01 09:59:08 +0200
commitcfc70a48027b1b56231df62a30a7da888f33e3ce (patch)
treecb2e856d51f1a79822a2b21d8c2cbaea55ae170d /package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch
parent70874e321dbd50203187c41214cb888507cd6df1 (diff)
parentaa016797444017d4379a139e39697e38ed2e2357 (diff)
downloadbuildroot-cfc70a48027b1b56231df62a30a7da888f33e3ce.tar.gz
buildroot-cfc70a48027b1b56231df62a30a7da888f33e3ce.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch')
-rw-r--r--package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch b/package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch
deleted file mode 100644
index 910ee3c7e5..0000000000
--- a/package/upmpdcli/0001-Add-conditional-check-for-__linux__.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 69740cf6fe35413edc4b6adc502ba70ce8de8557 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
-Date: Sun, 19 Jul 2015 08:48:13 +0200
-Subject: [PATCH 1/1] Add conditional check for __linux__
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-When building upmpdcli with certain toolchains using the compiler flag
--std=c++0x let gcc not define "linux" or "__linux", but "__linux__".
-
-Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
----
- src/closefrom.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/closefrom.cpp b/src/closefrom.cpp
-index 4429b20..0cd7957 100644
---- a/src/closefrom.cpp
-+++ b/src/closefrom.cpp
-@@ -111,7 +111,7 @@ int libclf_closefrom(int fd0)
- }
-
- /*************************************************************************/
--#elif (defined(linux) || defined(__linux))
-+#elif (defined(linux) || defined(__linux) || defined(__linux__))
-
- /* Use /proc/self/fd directory */
- #include <sys/types.h>
---
-2.4.6
-
OpenPOWER on IntegriCloud