git: 6f4e0f0f2e8d - main - databases/recutils: update to 1.9

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 29 May 2023 23:26:10 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f4e0f0f2e8d96ee1703076e8b3e8d6482ec3501

commit 6f4e0f0f2e8d96ee1703076e8b3e8d6482ec3501
Author:     Christopher Micallef <freebsd-bugs@micallef.io>
AuthorDate: 2023-05-27 11:32:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-29 23:25:15 +0000

    databases/recutils: update to 1.9
    
     - Removed non-existent elisp files from pkg-plist.
    
    Changelog: https://fossies.org/linux/recutils/ChangeLog
    
    PR:             271386
    Approved by:    zeus@gnu.org.ua (maintainer timeout, two weeks)
---
 databases/recutils/Makefile                    |  7 +------
 databases/recutils/distinfo                    |  6 +++---
 databases/recutils/files/patch-utils_mdb2rec.c | 12 +++++-------
 databases/recutils/pkg-plist                   |  2 --
 4 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/databases/recutils/Makefile b/databases/recutils/Makefile
index 484d36faf366..d64a261639be 100644
--- a/databases/recutils/Makefile
+++ b/databases/recutils/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	recutils
-PORTVERSION=	1.8
-PORTREVISION=	1
+DISTVERSION=	1.9
 CATEGORIES=	databases
 MASTER_SITES=	GNU
 
@@ -53,10 +52,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,mdb_init,mdb_get_version,' \
 		${WRKSRC}/configure
 
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/etc/*.el \
-		${STAGEDIR}${PREFIX}/share/emacs/site-lisp
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
diff --git a/databases/recutils/distinfo b/databases/recutils/distinfo
index 16a178f4a33a..1a2296dcd80a 100644
--- a/databases/recutils/distinfo
+++ b/databases/recutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546510437
-SHA256 (recutils-1.8.tar.gz) = df8eae69593fdba53e264cbf4b2307dfb82120c09b6fab23e2dad51a89a5b193
-SIZE (recutils-1.8.tar.gz) = 2474024
+TIMESTAMP = 1683954283
+SHA256 (recutils-1.9.tar.gz) = 6301592b0020c14b456757ef5d434d49f6027b8e5f3a499d13362f205c486e0e
+SIZE (recutils-1.9.tar.gz) = 2759999
diff --git a/databases/recutils/files/patch-utils_mdb2rec.c b/databases/recutils/files/patch-utils_mdb2rec.c
index c1290edb9c1d..b4c2e3aac59e 100644
--- a/databases/recutils/files/patch-utils_mdb2rec.c
+++ b/databases/recutils/files/patch-utils_mdb2rec.c
@@ -1,6 +1,6 @@
---- utils/mdb2rec.c.orig	2019-01-03 08:47:43 UTC
+--- utils/mdb2rec.c.orig	2022-04-16 15:56:37 UTC
 +++ utils/mdb2rec.c
-@@ -33,7 +33,7 @@
+@@ -26,7 +26,7 @@
  #include <gettext.h>
  #define _(str) gettext (str)
  
@@ -9,7 +9,7 @@
  #include <mdbtools.h>
  
  #include <rec.h>
-@@ -472,16 +472,14 @@ process_mdb (void)
+@@ -427,14 +427,12 @@ process_mdb (void)
    if (!db)
      recutl_out_of_memory ();
  
@@ -19,10 +19,8 @@
 -
    mdb = mdb_open (mdb2rec_mdb_file, MDB_NOFLAGS);
    if (!mdb)
-     {
-       recutl_fatal (_("could not open file %s\n"),
-                     mdb2rec_mdb_file);
-     }
+     recutl_fatal (_("could not open file %s\n"),
+                   mdb2rec_mdb_file);
 +
 +  mdb_set_date_fmt (mdb, "%Y-%m-%dT%H:%M:%S%z"); /* ISO 8601 */
  
diff --git a/databases/recutils/pkg-plist b/databases/recutils/pkg-plist
index c0be591493a5..6124cb3fcc54 100644
--- a/databases/recutils/pkg-plist
+++ b/databases/recutils/pkg-plist
@@ -31,8 +31,6 @@ man/man1/recinf.1.gz
 man/man1/recins.1.gz
 man/man1/recsel.1.gz
 man/man1/recset.1.gz
-share/emacs/site-lisp/ob-rec.el
-share/emacs/site-lisp/rec-mode.el
 %%NLS%%share/locale/de/LC_MESSAGES/recutils.mo
 %%NLS%%share/locale/es/LC_MESSAGES/recutils.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/recutils.mo