pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/flim



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue May 11 02:05:07 UTC 2021

Modified Files:
        pkgsrc/devel/flim: Makefile distinfo
Added Files:
        pkgsrc/devel/flim/patches: patch-mime-parse.el

Log Message:
(devel/flim) sting-to-int is obsolete function since emacs-26


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/flim/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/flim/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/flim/patches/patch-mime-parse.el

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

Modified files:

Index: pkgsrc/devel/flim/Makefile
diff -u pkgsrc/devel/flim/Makefile:1.40 pkgsrc/devel/flim/Makefile:1.41
--- pkgsrc/devel/flim/Makefile:1.40     Sun Nov  3 10:39:11 2019
+++ pkgsrc/devel/flim/Makefile  Tue May 11 02:05:07 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.40 2019/11/03 10:39:11 rillig Exp $
+# $NetBSD: Makefile,v 1.41 2021/05/11 02:05:07 mef Exp $
 
 DISTNAME=      flim-1.14.9
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel
 MASTER_SITES=  http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/
 

Index: pkgsrc/devel/flim/distinfo
diff -u pkgsrc/devel/flim/distinfo:1.11 pkgsrc/devel/flim/distinfo:1.12
--- pkgsrc/devel/flim/distinfo:1.11     Tue Nov  3 03:27:26 2015
+++ pkgsrc/devel/flim/distinfo  Tue May 11 02:05:07 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 03:27:26 agc Exp $
+$NetBSD: distinfo,v 1.12 2021/05/11 02:05:07 mef Exp $
 
 SHA1 (flim-1.14.9.tar.gz) = fc3f1ecfa757d83b10693dc74d890a1ad7db7abd
 RMD160 (flim-1.14.9.tar.gz) = d7fb99ffabe477afd958589e8e386b7d4e628822
@@ -6,3 +6,4 @@ SHA512 (flim-1.14.9.tar.gz) = a272a30f27
 Size (flim-1.14.9.tar.gz) = 182065 bytes
 SHA1 (patch-ab) = 3818258269cb432cb95fe02e22ed03f98400e31f
 SHA1 (patch-ac) = 62c3df484e393f798f16200a0970e7d7ea37b308
+SHA1 (patch-mime-parse.el) = 40d7a44a177a5407465fec9700e7b00fe6973d5b

Added files:

Index: pkgsrc/devel/flim/patches/patch-mime-parse.el
diff -u /dev/null pkgsrc/devel/flim/patches/patch-mime-parse.el:1.1
--- /dev/null   Tue May 11 02:05:07 2021
+++ pkgsrc/devel/flim/patches/patch-mime-parse.el       Tue May 11 02:05:07 2021
@@ -0,0 +1,24 @@
+$NetBSD: patch-mime-parse.el,v 1.1 2021/05/11 02:05:07 mef Exp $
+
+sting-to-int is obsolete function since emacs-26
+
+--- mime-parse.el.orig 2005-07-06 11:09:04.000000000 +0900
++++ mime-parse.el      2021-05-11 10:55:39.987654397 +0900
+@@ -97,7 +97,7 @@ be the result."
+     (insert text)
+     (goto-char (point-min))
+     (while (re-search-forward "%[0-9A-Fa-f][0-9A-Fa-f]" nil t)
+-      (insert (prog1 (string-to-int
++      (insert (prog1 (string-to-number
+                     (buffer-substring (point)(- (point) 2))
+                     16)
+                 (delete-region (point)(- (point) 3)))))
+@@ -147,7 +147,7 @@ property of the decoded-value."
+           (let* ((attribute (downcase
+                            (substring (car params) 0 (match-end 1))))
+                  (section (if (match-beginning 2)
+-                            (string-to-int
++                            (string-to-number
+                              (substring (car params)
+                                         (1+ (match-beginning 2))
+                                         (match-end 2)))



Home | Main Index | Thread Index | Old Index