vcpkg/ports/libxmp-lite/0002-fix-symbols.patch

45 lines
1.2 KiB
Diff
Raw Normal View History

2017-10-02 14:59:38 +02:00
diff --git a/lite/src/format.c b/lite/src/format.c
--- a/src/format.c
+++ b/src/format.c
@@ -27,20 +27,20 @@
#endif
#include "format.h"
-extern const struct format_loader xm_loader;
-extern const struct format_loader mod_loader;
-extern const struct format_loader it_loader;
-extern const struct format_loader s3m_loader;
+extern const struct format_loader libxmp_loader_xm;
+extern const struct format_loader libxmp_loader_mod;
+extern const struct format_loader libxmp_loader_it;
+extern const struct format_loader libxmp_loader_s3m;
extern const struct pw_format *const pw_format[];
const struct format_loader *const format_loader[5] = {
- &xm_loader,
- &mod_loader,
+ &libxmp_loader_xm,
+ &libxmp_loader_mod,
#ifndef LIBXMP_CORE_DISABLE_IT
- &it_loader,
+ &libxmp_loader_it,
#endif
- &s3m_loader,
+ &libxmp_loader_s3m,
NULL
};
diff --git a/lite/src/loaders/mod_load.c b/lite/src/loaders/mod_load.c
--- a/src/loaders/mod_load.c
+++ b/src/loaders/mod_load.c
@@ -36,7 +36,7 @@
static int mod_test (HIO_HANDLE *, char *, const int);
static int mod_load (struct module_data *, HIO_HANDLE *, const int);
-const struct format_loader mod_loader = {
+const struct format_loader libxmp_loader_mod = {
"Protracker",
mod_test,
mod_load