Update libxmp to 4.5.0.
This commit is contained in:
parent
9e85f9dbd3
commit
d240dc5782
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2019/07/12 20:43:35 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2021/07/05 21:17:09 fcambus Exp $
|
||||
|
||||
COMMENT = module player library
|
||||
|
||||
DISTNAME = libxmp-4.4.1
|
||||
DISTNAME = libxmp-4.5.0
|
||||
CATEGORIES = audio
|
||||
|
||||
SHARED_LIBS += xmp 1.0 # 4.4
|
||||
SHARED_LIBS += xmp 1.1 # 4.5
|
||||
|
||||
HOMEPAGE = http://xmp.sourceforge.net/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libxmp-4.4.1.tar.gz) = NTU1zITIzdro3s7E5l+kxR/GTyLrCJG8Pa5uryX5zM8=
|
||||
SIZE (libxmp-4.4.1.tar.gz) = 618448
|
||||
SHA256 (libxmp-4.5.0.tar.gz) = eEfSYhEtFOhEL0TlrG7Z3bylTCUShHILVjyFKzHybnU=
|
||||
SIZE (libxmp-4.5.0.tar.gz) = 652983
|
||||
|
@ -1,7 +1,8 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.5 2016/12/02 09:39:07 fcambus Exp $
|
||||
--- Makefile.in.orig Mon Oct 3 02:24:30 2016
|
||||
+++ Makefile.in Thu Dec 1 22:17:37 2016
|
||||
@@ -32,7 +32,7 @@ DDIRS = docs include src loaders prowiz depackers win
|
||||
$OpenBSD: patch-Makefile_in,v 1.6 2021/07/05 21:17:09 fcambus Exp $
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -35,7 +35,7 @@ DDIRS = docs include src loaders prowiz depackers win
|
||||
V = 0
|
||||
LIB = libxmp.a
|
||||
SOLIB = libxmp.so
|
||||
@ -9,8 +10,8 @@ $OpenBSD: patch-Makefile_in,v 1.5 2016/12/02 09:39:07 fcambus Exp $
|
||||
+SHLIB = $(SOLIB).$(LIBxmp_VERSION)
|
||||
SONAME = $(SOLIB).$(VERSION_MAJOR)
|
||||
DLL = libxmp.dll
|
||||
DYLIB = libxmp.$(VERSION_MAJOR).dylib
|
||||
@@ -101,7 +101,7 @@ lib/$(LIB): $(OBJS)
|
||||
IMPLIB = libxmp.dll.a
|
||||
@@ -108,7 +108,7 @@ lib/$(LIB): $(ALL_OBJS)
|
||||
|
||||
lib/$(SHLIB): $(LOBJS)
|
||||
@mkdir -p lib
|
||||
@ -19,7 +20,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2016/12/02 09:39:07 fcambus Exp $
|
||||
if [ "$(V)" -gt 0 ]; then echo $$CMD; else echo LD $@ ; fi; \
|
||||
eval $$CMD
|
||||
ln -sf $(SHLIB) lib/$(SONAME)
|
||||
@@ -150,8 +150,6 @@ install: all
|
||||
@@ -165,8 +165,6 @@ install: all
|
||||
@if [ -f lib/$(SHLIB) ]; then \
|
||||
echo "Installing $(SHLIB)..."; \
|
||||
$(INSTALL) -m644 lib/$(SHLIB) $(DESTDIR)$(LIBDIR); \
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-src_common_h,v 1.2 2016/12/02 09:39:07 fcambus Exp $
|
||||
|
||||
Disable versioned symbols on platforms using gcc 3.x, for the toolchain does
|
||||
not support them.
|
||||
|
||||
--- src/common.h.orig Thu Dec 1 22:19:37 2016
|
||||
+++ src/common.h Thu Dec 1 22:18:54 2016
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <string.h>
|
||||
#include "xmp.h"
|
||||
|
||||
-#if defined(__GNUC__) || defined(__clang__)
|
||||
+#if (defined(__GNUC__) && __GNUC__ >= 4) || defined(__clang__)
|
||||
#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__)
|
||||
#define USE_VERSIONED_SYMBOLS
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user