pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/scmxx Replace with official patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/291219060d00
branches:  trunk
changeset: 496888:291219060d00
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 14 19:48:57 2005 +0000

description:
Replace with official patch.

diffstat:

 comms/scmxx/distinfo         |   4 ++--
 comms/scmxx/patches/patch-aa |  26 +++++---------------------
 2 files changed, 7 insertions(+), 23 deletions(-)

diffs (62 lines):

diff -r 575b750444e7 -r 291219060d00 comms/scmxx/distinfo
--- a/comms/scmxx/distinfo      Thu Jul 14 19:20:56 2005 +0000
+++ b/comms/scmxx/distinfo      Thu Jul 14 19:48:57 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.26 2005/07/14 19:15:56 wiz Exp $
+$NetBSD: distinfo,v 1.27 2005/07/14 19:48:57 wiz Exp $
 
 SHA1 (scmxx-0.8.0.tar.bz2) = 86757ac0e171d81c1887353316caf935dd260899
 RMD160 (scmxx-0.8.0.tar.bz2) = 17541ed99b736a76f380e6255d982b2283031a6a
 Size (scmxx-0.8.0.tar.bz2) = 212558 bytes
-SHA1 (patch-aa) = 549a9146132749143b23f2f4e151b8b4789f0b1e
+SHA1 (patch-aa) = 6c448c6a0dbe4551297a976e8608e63ad950865e
 SHA1 (patch-ab) = 5bd30d280e7c4ad91570f56c96de3b90f6168d77
 SHA1 (patch-ac) = a4bc9571948b032427a3b9dd3fdbdd9f1f12ebc3
 SHA1 (patch-ad) = a4f40faa7fa1c921fef7cbb059adac9ef97a0921
diff -r 575b750444e7 -r 291219060d00 comms/scmxx/patches/patch-aa
--- a/comms/scmxx/patches/patch-aa      Thu Jul 14 19:20:56 2005 +0000
+++ b/comms/scmxx/patches/patch-aa      Thu Jul 14 19:48:57 2005 +0000
@@ -1,38 +1,22 @@
-$NetBSD: patch-aa,v 1.9 2005/07/14 19:17:00 wiz Exp $
+$NetBSD: patch-aa,v 1.10 2005/07/14 19:48:57 wiz Exp $
 
 --- src/pinfile.c.orig 2005-06-08 19:49:17.000000000 +0200
 +++ src/pinfile.c
-@@ -220,7 +220,14 @@ char* pinfile_get_subdata (const char* s
+@@ -220,7 +220,7 @@ char* pinfile_get_subdata (const char* s
        mem_realloc(temp,0);
        if (pin != NULL) {
        //find_pinpuk() already checked it
 -      puk = strndup(puk,strchr(puk,';')-puk);
-+      char *foo;
-+
-+      foo = strchr(puk,';');
-+      if (foo != NULL)
-+              *foo = '\0';
-+      puk = strdup(puk);
-+      if (foo != NULL)
-+              *foo = ';';
++      puk = strn_dup(puk,strchr(puk,';')-puk);
        }
      }
    } else {
-@@ -232,9 +239,16 @@ char* pinfile_get_subdata (const char* s
-     print_verbose(0,"%s\n",_("not found"));
-     return strdup("");
+@@ -234,7 +234,7 @@ char* pinfile_get_subdata (const char* s
    } else {
-+    char *foo;
-+
      print_verbose(0,"%s\n",_("found"));
      //find_pinpuk() already checked it
 -    pin = strndup(pin,strchr(pin,';')-pin);
-+    foo = strchr(pin,';');
-+    if (foo != NULL)
-+      *foo = '\0';
-+    pin = strdup(pin);
-+    if (foo != NULL)
-+      *foo = ';';
++    pin = strn_dup(pin,strchr(pin,';')-pin);
      mem_realloc(data,0);
      if (puk == NULL) {
        return pin;



Home | Main Index | Thread Index | Old Index