pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/navi2ch Fix error spotted in bulk build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b80ef7bb9200
branches:  trunk
changeset: 648841:b80ef7bb9200
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 21 00:36:08 2015 +0000

description:
Fix error spotted in bulk build.
1) add patch-elisp-comp from FreeBSD ports to fix
   "Wrong type argument: stringp, nil"
2) for some reason the unit test fails if we're in CET time zone so
   just set TZ=GMT in the make environment for now.

diffstat:

 chat/navi2ch/Makefile                 |   5 ++++-
 chat/navi2ch/distinfo                 |   3 ++-
 chat/navi2ch/patches/patch-elisp-comp |  13 +++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r e579f2bf5803 -r b80ef7bb9200 chat/navi2ch/Makefile
--- a/chat/navi2ch/Makefile     Fri Mar 20 22:46:09 2015 +0000
+++ b/chat/navi2ch/Makefile     Sat Mar 21 00:36:08 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2013/02/17 19:17:56 dholland Exp $
+# $NetBSD: Makefile,v 1.28 2015/03/21 00:36:08 tnn Exp $
 
 DISTNAME=      navi2ch-1.8.4
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -16,6 +16,9 @@
 INFO_FILES=    yes
 EMACS_MODULES= base
 
+# XXX the unit test fails in TZ=CET for some reason
+MAKE_ENV+=     TZ=GMT
+
 CONFIGURE_ARGS+=--with-icondir=${PREFIX}/share/navi2ch/icons
 CONFIGURE_ARGS+=${CONFIGURE_ARGS.${EMACS_FLAVOR}}
 
diff -r e579f2bf5803 -r b80ef7bb9200 chat/navi2ch/distinfo
--- a/chat/navi2ch/distinfo     Fri Mar 20 22:46:09 2015 +0000
+++ b/chat/navi2ch/distinfo     Sat Mar 21 00:36:08 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2011/04/04 21:52:50 ryoon Exp $
+$NetBSD: distinfo,v 1.12 2015/03/21 00:36:08 tnn Exp $
 
 SHA1 (navi2ch-1.8.4.tar.gz) = fd2c31d6a318fd3b7ef9a4324f101467341d9b5c
 RMD160 (navi2ch-1.8.4.tar.gz) = 12f5619dbac7ce00837e2333a2e7a7e1d7f1d462
 Size (navi2ch-1.8.4.tar.gz) = 470499 bytes
+SHA1 (patch-elisp-comp) = 7abe4599c9c82c1c7cb65051d03c1966300ae9d9
diff -r e579f2bf5803 -r b80ef7bb9200 chat/navi2ch/patches/patch-elisp-comp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/navi2ch/patches/patch-elisp-comp     Sat Mar 21 00:36:08 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-elisp-comp,v 1.1 2015/03/21 00:36:08 tnn Exp $
+
+--- elisp-comp.orig    2010-11-11 06:15:00.000000000 +0000
++++ elisp-comp
+@@ -72,7 +72,7 @@ cp "$@" $tempdir
+ 
+ (
+   cd $tempdir
+-  echo "(setq load-path (cons nil load-path))" > script
++  echo "(setq load-path (cons \".\" load-path))" > script
+ #  $EMACS -batch -q -l script -f batch-byte-compile *.el || exit $?
+   $EMACS -batch -q -l script -l ../bcomp.el || exit $?
+   mv *.elc ..



Home | Main Index | Thread Index | Old Index