pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/skkserv



Module Name:    pkgsrc
Committed By:   rillig
Date:           Wed May 13 04:14:49 UTC 2020

Modified Files:
        pkgsrc/inputmethod/skkserv: Makefile distinfo
        pkgsrc/inputmethod/skkserv/patches: patch-skkserv_skkserv.c

Log Message:
inputmethod/skkserv: fix accidental patch for version number

The version number is supposed to be substituted in pre-configure, not in
the patch itself.  To ensure this in the future, fail fast by setting
SUBST_NOOP_OK=no.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/inputmethod/skkserv/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/inputmethod/skkserv/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c

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

Modified files:

Index: pkgsrc/inputmethod/skkserv/Makefile
diff -u pkgsrc/inputmethod/skkserv/Makefile:1.26 pkgsrc/inputmethod/skkserv/Makefile:1.27
--- pkgsrc/inputmethod/skkserv/Makefile:1.26    Sat Nov  2 22:56:55 2019
+++ pkgsrc/inputmethod/skkserv/Makefile Wed May 13 04:14:48 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.26 2019/11/02 22:56:55 rillig Exp $
+# $NetBSD: Makefile,v 1.27 2020/05/13 04:14:48 rillig Exp $
 
 DISTNAME=      skk9.6
 PKGNAME=       skkserv-3.9.4
-PKGREVISION=   7
-CATEGORIES=    japanese inputmethod
+PKGREVISION=   8
+CATEGORIES=    inputmethod japanese
 MASTER_SITES=  ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -44,6 +44,7 @@ SUBST_STAGE.ver-num=  pre-configure
 SUBST_MESSAGE.ver-num= Fixing version number and its comments.
 SUBST_FILES.ver-num=   skkserv/skkserv.c
 SUBST_SED.ver-num=     -e 's,"${PKGVERSION_NOREV} ","${PKGVERSION} (binary search) ",g'
+SUBST_NOOP_OK.ver-num= no # to prevent this from appearing in the patch
 
 INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX}
 

Index: pkgsrc/inputmethod/skkserv/distinfo
diff -u pkgsrc/inputmethod/skkserv/distinfo:1.7 pkgsrc/inputmethod/skkserv/distinfo:1.8
--- pkgsrc/inputmethod/skkserv/distinfo:1.7     Tue Nov  3 22:13:40 2015
+++ pkgsrc/inputmethod/skkserv/distinfo Wed May 13 04:14:48 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 22:13:40 agc Exp $
+$NetBSD: distinfo,v 1.8 2020/05/13 04:14:48 rillig Exp $
 
 SHA1 (skk/skk9.6.tar.gz) = f462b4586dff6e36bfe331a526e054c3f6c3aad9
 RMD160 (skk/skk9.6.tar.gz) = af182063e92f993cd2d9a69d7f89109ef0631526
@@ -9,4 +9,4 @@ SHA1 (patch-ac) = 3a1818c3bb453b69eb2315
 SHA1 (patch-ad) = 27abe12b627e8e5c5de0a78fab3a5f4551f3c0f7
 SHA1 (patch-ae) = 356b3bab93365bb769a340b99979161f07f60de4
 SHA1 (patch-ai) = 38f6169507d12c500298cba555a57b77cafa19c4
-SHA1 (patch-skkserv_skkserv.c) = eacd2ad95f1288301ef09d4b2dd9e73a7d3ef576
+SHA1 (patch-skkserv_skkserv.c) = 4baef77153da6c05683bfa599f40bb512848bf74

Index: pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c
diff -u pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c:1.1 pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c:1.2
--- pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c:1.1      Sun Mar 10 18:53:32 2013
+++ pkgsrc/inputmethod/skkserv/patches/patch-skkserv_skkserv.c  Wed May 13 04:14:48 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-skkserv_skkserv.c,v 1.1 2013/03/10 18:53:32 hiramatsu Exp $
+$NetBSD: patch-skkserv_skkserv.c,v 1.2 2020/05/13 04:14:48 rillig Exp $
 
 Add IPv6 support and binary search capability.
 
@@ -18,8 +18,7 @@ Add IPv6 support and binary search capab
   *    Global Variables
   */
  
--char  pgmver[] = "3.9.4 ";    /* version number */
-+char  pgmver[] = "3.9.4nb7 (binary search) "; /* version number */
+ char  pgmver[] = "3.9.4 ";    /* version number */
  
  char  *pgmnm;         /* program name */
  char  *jname;         /* name of shared dictionary */



Home | Main Index | Thread Index | Old Index