pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(tc-git) Add SUBST lines to fix string-to-int is an obsolete function problem



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (CF-S9) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Sun Dec 18 23:18:50 2016 +0900
Changeset:	154432bca912da606a6e9b46e93af60dcf79dfda

Modified Files:
	tc-git/Makefile

Log Message:
(tc-git) Add SUBST lines to fix string-to-int is an obsolete function problem

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=154432bca912da606a6e9b46e93af60dcf79dfda

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tc-git/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diffs:
diff --git a/tc-git/Makefile b/tc-git/Makefile
index 5b63be2..c507309 100644
--- a/tc-git/Makefile
+++ b/tc-git/Makefile
@@ -63,6 +63,13 @@ SUBST_STAGE.texinfo=	post-configure
 SUBST_FILES.texinfo=	doc/Makefile
 SUBST_SED.texinfo=	'-e /if $$\(MAKEINFO\) $$\(AM_MAKEINFOFLAGS\) $$\(MAKEINFOFLAGS\) -I $$\(srcdir\)/s/ -I ./tc.texinfo/'
 
+# 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=       lisp/eelll.el lisp/tc-is22.el lisp/tc-pre.el lisp/tc-pre-base.in
+SUBST_SED.s2i=         '-e s/string-to-int/string-to-number/g'
+
 .include "options.mk"
 
 pre-configure:


Home | Main Index | Thread Index | Old Index