Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Do not include /usr/include host paths |
| 2 | |
| 3 | These were added upstream apparently for freebsd support, but trigger |
| 4 | compiler warnings during the build and could be dangerous, so remove |
| 5 | them. |
| 6 | |
| 7 | Upstream-Status: Inappropriate [cross] |
| 8 | |
| 9 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 10 | |
| 11 | Update patch for version 0.7.4. |
| 12 | |
| 13 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 14 | |
| 15 | --- qmmp-0.7.4/CMakeLists.txt 2014-01-10 09:59:44.971837746 +0800 |
| 16 | +++ qmmp-0.7.4/CMakeLists.txt.new 2014-01-10 10:24:51.855837566 +0800 |
| 17 | @@ -1,9 +1,5 @@ |
| 18 | cmake_minimum_required(VERSION 2.6.0) |
| 19 | |
| 20 | -#freebsd support |
| 21 | -include_directories(SYSTEM /usr/local/include) |
| 22 | -SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} /usr/local/include) |
| 23 | - |
| 24 | #extract version from qmmp.h |
| 25 | FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/src/qmmp/qmmp.h" |
| 26 | QMMP_VERSION_DATA REGEX "^#define[ \t]+QMMP_VERSION_[A-Z]+[ \t]+[0-9]+.*$") |