pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tsclient Use DIST_SUBDIR to version the distfile, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d37106e5913
branches:  trunk
changeset: 463539:3d37106e5913
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun Nov 16 21:23:04 2003 +0000

description:
Use DIST_SUBDIR to version the distfile, as they modified the contents of
the distfile without bumping the version number on it.

Differences from previous version is (the modification to the comment
is mine):

--- old/tsclient-0.124/src/support.c    2003-09-16 05:52:51.000000000 +0100
+++ new/tsclient-0.124/src/support.c    2003-10-18 19:18:47.000000000 +0100
@@ -482,7 +482,7 @@

       // do this [....] for all modes
       sprintf(buffer, "%s", (char*)g_strescape(rdp->full_address, NULL));
-      buffer[strlen(buffer)-4] = '\0';
+      //buffer[strlen(buffer)-4] = '\0';
       c_argv[c_argc++] = g_strdup (buffer);

     } else if (rdp->protocol == 2) {
@@ -542,7 +542,7 @@
       c_argv[c_argc++] = strdup(buffer);

       sprintf(buffer, "%s", (char*)g_strescape(rdp->full_address, NULL));
-      buffer[strlen(buffer)-2] = '\0';
+      //buffer[strlen(buffer)-2] = '\0';
       c_argv[c_argc++] = strdup(buffer);

     } else if (rdp->protocol == 3) {

diffstat:

 net/tsclient/Makefile |  5 ++++-
 net/tsclient/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 0ad4d6c308e3 -r 3d37106e5913 net/tsclient/Makefile
--- a/net/tsclient/Makefile     Sun Nov 16 19:06:46 2003 +0000
+++ b/net/tsclient/Makefile     Sun Nov 16 21:23:04 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/11/12 01:31:51 salo Exp $
+# $NetBSD: Makefile,v 1.4 2003/11/16 21:23:04 agc Exp $
 #
 
 DISTNAME=              tsclient-0.124
@@ -15,6 +15,9 @@
 DEPENDS+=              gnome2-dirs>=1.2:../../misc/gnome2-dirs
 BUILD_USES_MSGFMT=     yes
 
+# this is because they modified the distfile without changing the number
+DIST_SUBDIR=           ${PKGNAME_NOREV}
+
 USE_BUILDLINK2=                yes
 USE_GMAKE=             yes
 USE_PKGLOCALEDIR=      yes
diff -r 0ad4d6c308e3 -r 3d37106e5913 net/tsclient/distinfo
--- a/net/tsclient/distinfo     Sun Nov 16 19:06:46 2003 +0000
+++ b/net/tsclient/distinfo     Sun Nov 16 21:23:04 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2003/09/18 09:26:48 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2003/11/16 21:23:04 agc Exp $
 
-SHA1 (tsclient-0.124.tar.gz) = e103c0fec29b2aac6995f79db1847c5a517afed3
-Size (tsclient-0.124.tar.gz) = 387864 bytes
+SHA1 (tsclient-0.124/tsclient-0.124.tar.gz) = 4e718a113027bc16b4ccf4a13ed9a102681a7d9a
+Size (tsclient-0.124/tsclient-0.124.tar.gz) = 387870 bytes



Home | Main Index | Thread Index | Old Index