summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/libxmp/Makefile2
-rw-r--r--audio/libxmp/distinfo4
-rw-r--r--audio/libxmp/files/patch-Makefile.in6
-rw-r--r--audio/libxmp/files/patch-src__common.h17
4 files changed, 23 insertions, 6 deletions
diff --git a/audio/libxmp/Makefile b/audio/libxmp/Makefile
index 33863e8..78e08d2 100644
--- a/audio/libxmp/Makefile
+++ b/audio/libxmp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libxmp
-PORTVERSION= 4.0.4
+PORTVERSION= 4.1.0
CATEGORIES= audio
MASTER_SITES= SF/xmp/${PORTNAME}/${PORTVERSION}
diff --git a/audio/libxmp/distinfo b/audio/libxmp/distinfo
index 58ad8ab..fadb842 100644
--- a/audio/libxmp/distinfo
+++ b/audio/libxmp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libxmp-4.0.4.tar.gz) = dde8ed6b07fd82a82956774de3c2edfb8f01ef16c56e826a1284cb554029c46b
-SIZE (libxmp-4.0.4.tar.gz) = 1094656
+SHA256 (libxmp-4.1.0.tar.gz) = 23b932edcfc43ba6f0200e626fb5448572a0d525fc8c3122b2a099d5f987be7d
+SIZE (libxmp-4.1.0.tar.gz) = 1172406
diff --git a/audio/libxmp/files/patch-Makefile.in b/audio/libxmp/files/patch-Makefile.in
index 3ea1f4e..444ff04 100644
--- a/audio/libxmp/files/patch-Makefile.in
+++ b/audio/libxmp/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- ./Makefile.in.orig 2013-02-15 15:51:27.000000000 +0100
-+++ ./Makefile.in 2013-02-15 15:52:39.000000000 +0100
-@@ -144,8 +144,8 @@
+--- ./Makefile.in.orig 2013-04-14 21:18:04.000000000 +0200
++++ ./Makefile.in 2013-04-21 20:29:39.708633804 +0200
+@@ -149,8 +149,8 @@
@echo "Installing xmp.h..."
@$(INSTALL) -m644 include/xmp.h $(DESTDIR)$(INCLUDEDIR)
@echo "Installing libxmp.pc..."
diff --git a/audio/libxmp/files/patch-src__common.h b/audio/libxmp/files/patch-src__common.h
new file mode 100644
index 0000000..131e490
--- /dev/null
+++ b/audio/libxmp/files/patch-src__common.h
@@ -0,0 +1,17 @@
+--- ./src/common.h.orig 2013-04-21 20:30:02.110649091 +0200
++++ ./src/common.h 2013-04-21 20:30:22.957668244 +0200
+@@ -124,14 +124,6 @@
+
+ #endif /* !_MSC_VER */
+
+-#ifdef HAVE_STRLCPY
+-#define strncpy strlcpy
+-#endif
+-
+-#ifdef HAVE_STRLCAT
+-#define strncpy strlcat
+-#endif
+-
+ /* Quirks */
+ #define QUIRK_S3MLOOP (1 << 0) /* S3M loop mode */
+ #define QUIRK_ENVFADE (1 << 1) /* Fade at end of envelope */
OpenPOWER on IntegriCloud