[packages/libxmp-lite] - updated to 4.5.0 - removed obsolete fix-libxmp-lite-mod-loader patch
qboosh
qboosh at pld-linux.org
Mon Jul 11 20:15:03 CEST 2022
commit 5f9aa38dab7c3ba7940722eeece4395308f7c288
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 11 20:16:47 2022 +0200
- updated to 4.5.0
- removed obsolete fix-libxmp-lite-mod-loader patch
fix-libxmp-lite-mod-loader.patch | 55 ----------------------------------------
libxmp-lite.spec | 9 +++----
2 files changed, 3 insertions(+), 61 deletions(-)
---
diff --git a/libxmp-lite.spec b/libxmp-lite.spec
index 46f549b..7b996af 100644
--- a/libxmp-lite.spec
+++ b/libxmp-lite.spec
@@ -5,14 +5,12 @@
Summary: XMP Lite module player library
Summary(pl.UTF-8): Biblioteka odtwarzacza modułów XMP Lite
Name: libxmp-lite
-Version: 4.4.1
+Version: 4.5.0
Release: 1
License: MIT
Group: Libraries
-Source0: http://downloads.sourceforge.net/xmp/%{name}-%{version}.tar.gz
-# Source0-md5: d37f69e8a2e6f7b5718b7997cafbb033
-# http://downloads.sourceforge.net/xmp/fix-libxmp-lite-mod-loader.patch
-Patch0: fix-libxmp-lite-mod-loader.patch
+Source0: https://downloads.sourceforge.net/xmp/%{name}-%{version}.tar.gz
+# Source0-md5: 18e8e2e37444b0acfa6ec28fab96cb48
URL: http://xmp.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -55,7 +53,6 @@ Statyczna biblioteka XMP.
%prep
%setup -q
-%patch0 -p2
%build
%configure \
diff --git a/fix-libxmp-lite-mod-loader.patch b/fix-libxmp-lite-mod-loader.patch
deleted file mode 100644
index d1ebdd4..0000000
--- a/fix-libxmp-lite-mod-loader.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From a02883528979bbefc6d6d4be79d10b853e7b7041 Mon Sep 17 00:00:00 2001
-From: Carsten Teibes <dev at f4ke.de>
-Date: Sun, 6 Nov 2016 19:50:07 +0100
-Subject: Fix libxmp-lite building (wrong format loaders) Currently trying to
- use the lite version fails with undefined references to the old format loader
- names.
-
-This bug was introduced in d018decfb98d: "Add prefix to format loaders"
-
-diff --git a/lite/src/format.c b/lite/src/format.c
-index 277a3da..e19f070 100644
---- a/lite/src/format.c
-+++ b/lite/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
-index b7a8f8d..bf72f36 100644
---- a/lite/src/loaders/mod_load.c
-+++ b/lite/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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libxmp-lite.git/commitdiff/5f9aa38dab7c3ba7940722eeece4395308f7c288
More information about the pld-cvs-commit
mailing list