File 0001-remove-unneeded-header.patch of Package vgmstream
From 795c56675dc3658d500b0021d9b210db5bf6caab Mon Sep 17 00:00:00 2001
From: derselbst <tom.mbrt@googlemail.com>
Date: Sat, 2 May 2020 16:59:00 +0200
Subject: [PATCH] remove unneeded header
---
audacious/Makefile.autotools.am | 6 +++---
cli/vgmstream_cli.c | 6 +++---
src/CMakeLists.txt | 3 +--
src/Makefile.autotools.am | 4 ++--
src/coding/Makefile.autotools.am | 4 ++--
src/layout/Makefile.autotools.am | 4 ++--
src/meta/Makefile.autotools.am | 4 ++--
7 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/cli/vgmstream_cli.c b/cli/vgmstream_cli.c
index 4b83e0e7..5590e8b3 100644
--- a/cli/vgmstream_cli.c
+++ b/cli/vgmstream_cli.c
@@ -14,9 +14,9 @@
#define STDOUT_FILENO 1
#endif
-#ifndef VERSION
-#include "version.h"
-#endif
+// #ifndef VERSION
+// #include "version.h"
+// #endif
#ifndef VERSION
#define VERSION "(unknown version)"
#endif
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 48f39aba..7200a6d8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,8 +5,7 @@ file(GLOB LAYOUT_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/layout/*.c")
file(GLOB META_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/meta/*.h")
file(GLOB META_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/meta/*.c")
set(EXT_HEADERS
- ${VGM_SOURCE_DIR}/ext_includes/clHCA.h
- ${VGM_SOURCE_DIR}/ext_includes/pstdint.h)
+ ${VGM_SOURCE_DIR}/ext_includes/clHCA.h)
set(EXT_SOURCES
${VGM_SOURCE_DIR}/ext_libs/clHCA.c)
file(GLOB MAIN_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
--
2.16.4