diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-08 17:04:03 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-08 17:04:03 +0000 |
commit | 86a479ffcd55b5660004d870aa97de69b67db032 (patch) | |
tree | ddf2d498c6b8cb973f2ff1d6e7578c279e307b5c /audio | |
parent | 53f945c5cdf639884f222750f7a736fd34da59a2 (diff) | |
download | ports-86a479ffcd55b5660004d870aa97de69b67db032.tar.gz ports-86a479ffcd55b5660004d870aa97de69b67db032.zip |
Convert REINPLACE_CMD to patch file
Notes
Notes:
svn path=/head/; revision=531126
Diffstat (limited to 'audio')
-rw-r--r-- | audio/liblo/Makefile | 3 | ||||
-rw-r--r-- | audio/liblo/files/extra-patch-32bit | 13 |
2 files changed, 14 insertions, 2 deletions
diff --git a/audio/liblo/Makefile b/audio/liblo/Makefile index 276c15803e65..070aa50778a2 100644 --- a/audio/liblo/Makefile +++ b/audio/liblo/Makefile @@ -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: diff --git a/audio/liblo/files/extra-patch-32bit b/audio/liblo/files/extra-patch-32bit new file mode 100644 index 000000000000..c627cd4d7673 --- /dev/null +++ b/audio/liblo/files/extra-patch-32bit @@ -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 + |