svn commit: r531126 - in head/audio/liblo: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Apr 8 17:04:06 UTC 2020
Author: sunpoet
Date: Wed Apr 8 17:04:03 2020
New Revision: 531126
URL: https://svnweb.freebsd.org/changeset/ports/531126
Log:
Convert REINPLACE_CMD to patch file
Added:
head/audio/liblo/files/
head/audio/liblo/files/extra-patch-32bit (contents, props changed)
Modified:
head/audio/liblo/Makefile
Modified: head/audio/liblo/Makefile
==============================================================================
--- head/audio/liblo/Makefile Wed Apr 8 17:03:58 2020 (r531125)
+++ head/audio/liblo/Makefile Wed Apr 8 17:04:03 2020 (r531126)
@@ -25,9 +25,8 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
.include <bsd.port.options.mk>
-post-patch:
.if ${ARCH} == i386 || ${ARCH} == powerpc
- @${REINPLACE_CMD} -e 's|deadbeef||; s|f00baa23||' ${WRKSRC}/lo/lo_macros.h
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-32bit
.endif
post-install-DOCS-on:
Added: head/audio/liblo/files/extra-patch-32bit
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/liblo/files/extra-patch-32bit Wed Apr 8 17:04:03 2020 (r531126)
@@ -0,0 +1,13 @@
+--- lo/lo_macros.h.orig 2018-07-05 18:48:15 UTC
++++ lo/lo_macros.h
+@@ -46,8 +46,8 @@ extern "C" {
+
+ /* an internal value, ignored in transmission but check against LO_MARKER in the
+ * argument list. Used to do primitive bounds checking */
+-# define LO_MARKER_A (void *)0xdeadbeefdeadbeefLLU
+-# define LO_MARKER_B (void *)0xf00baa23f00baa23LLU
++# define LO_MARKER_A (void *)0xdeadbeefLLU
++# define LO_MARKER_B (void *)0xf00baa23LLU
+
+ #define LO_ARGS_END LO_MARKER_A, LO_MARKER_B
+
More information about the svn-ports-head
mailing list