pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(flim) make it work with emacs26, string-to-int is an obsolete function; use 'string-to-number'
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara (CF-S9) <makoto%ki.nu@localhost>
Pushed By: mef
Date: Thu Feb 9 22:09:49 2017 +0900
Changeset: fcf4c7912d871dae413c057674d1946df416b7db
Modified Files:
flim/Makefile
Log Message:
(flim) make it work with emacs26, string-to-int is an obsolete function; use 'string-to-number'
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fcf4c7912d871dae413c057674d1946df416b7db
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
flim/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diffs:
diff --git a/flim/Makefile b/flim/Makefile
index 301e9ae0e4..d9040c76a0 100644
--- a/flim/Makefile
+++ b/flim/Makefile
@@ -35,6 +35,14 @@ MAKEFLAGS.xemacs+= XEMACS=${EMACS_BIN} \
EMACS_MODULES= base
EMACS_BUILDLINK= # empty
+# string-to-int to string-to-number
+SUBST_CLASSES+= s2i
+SUBST_MESSAGE.s2i= string-to-int is an obsolete function; use `string-to-number' instead
+SUBST_STAGE.s2i= post-patch
+SUBST_FILES.s2i= mime-parse.el
+SUBST_SED.s2i= -e s/string-to-int/string-to-number/g
+
+
post-build:
cd ${WRKSRC}; for i in mime-en mime-ja; do \
${RM} -f $${i}.info*; \
Home |
Main Index |
Thread Index |
Old Index