diff options
author | kleink <kleink> | 2002-03-28 07:53:49 +0000 |
---|---|---|
committer | kleink <kleink> | 2002-03-28 07:53:49 +0000 |
commit | 7be5a6345220ffe0e687f908dd015e2e0aeca20a (patch) | |
tree | 1c17c146178d0a26eaf315b2b10429db393d024e /comms/scmxx | |
parent | 2003c64b8266e0ce127d23fbf588900b1ef88c65 (diff) | |
download | pkgsrc-7be5a6345220ffe0e687f908dd015e2e0aeca20a.tar.gz |
Update scmxx to 0.5.16.1; changes since last revision include:
0.5.16.1 (2002-03-28)
changed some variable name to be C89 compliant (see stdin(3))
direct messages to stderr instead of stdout so only data goes to stdout
print a slot number message line when receiving bmp,mid,vcs,vcf
(especially with "all")
Diffstat (limited to 'comms/scmxx')
-rw-r--r-- | comms/scmxx/Makefile | 5 | ||||
-rw-r--r-- | comms/scmxx/distinfo | 8 | ||||
-rw-r--r-- | comms/scmxx/patches/patch-aa | 56 | ||||
-rw-r--r-- | comms/scmxx/patches/patch-ab | 14 |
4 files changed, 5 insertions, 78 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile index 1ca9b19169d..cbc03579293 100644 --- a/comms/scmxx/Makefile +++ b/comms/scmxx/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2002/03/27 22:57:40 kleink Exp $ +# $NetBSD: Makefile,v 1.10 2002/03/28 07:53:49 kleink Exp $ # -DISTNAME= scmxx-0.5.16 -PKGREVISION= 1 +DISTNAME= scmxx-0.5.16.1 CATEGORIES= comms MASTER_SITES= http://www.hendrik-sattler.de/scmxx/download/ \ http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/download/ diff --git a/comms/scmxx/distinfo b/comms/scmxx/distinfo index 5e941d8b1fe..f641e5b4cdf 100644 --- a/comms/scmxx/distinfo +++ b/comms/scmxx/distinfo @@ -1,6 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/03/27 22:44:29 kleink Exp $ +$NetBSD: distinfo,v 1.7 2002/03/28 07:53:49 kleink Exp $ -SHA1 (scmxx-0.5.16.tar.bz2) = 3ae5fb567fb5f07ae67e2051cbf486caccb1d836 -Size (scmxx-0.5.16.tar.bz2) = 45955 bytes -SHA1 (patch-aa) = 8af9c0c646c66f745588a16c55f1219258c91a06 -SHA1 (patch-ab) = e427f9d9ec8518684d8ca4fff881e005878b7680 +SHA1 (scmxx-0.5.16.1.tar.bz2) = d347ab65f99057fa6d317b05b9bd6286f240a267 +Size (scmxx-0.5.16.1.tar.bz2) = 46019 bytes diff --git a/comms/scmxx/patches/patch-aa b/comms/scmxx/patches/patch-aa deleted file mode 100644 index 875f5c629e4..00000000000 --- a/comms/scmxx/patches/patch-aa +++ /dev/null @@ -1,56 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2002/03/27 22:44:29 kleink Exp $ - ---- common.c.orig Wed Mar 27 22:34:02 2002 -+++ common.c Wed Mar 27 23:34:49 2002 -@@ -198,19 +198,19 @@ - int open_myFile_ro(){ - int myfd; - char *myFILE_p=myFILE; -- static int stdin = 0; -+ static int use_stdin = 0; - - if (!strcmp(myFILE,"-")) { -- stdin=1; -+ use_stdin=1; - } -- if (strlen(myFILE)!=0 && !stdin){ -+ if (strlen(myFILE)!=0 && !use_stdin){ - myfd=open(myFILE,O_RDONLY); - if(myfd==-1){errexit("Could not access %s, aborting\n",myFILE);} - else{myprintf(0,"Accessing %s\n",myFILE);} - }else{ -- myfd=0; -+ myfd=STDIN_FILENO; - sprintf(myFILE_p,"stdin"); -- stdin=1; -+ use_stdin=1; - } - return(myfd); - } -@@ -218,21 +218,21 @@ - int open_myFile_rw(){ - int myfd; - char *myFILE_p=myFILE; -- static int stdout = 0; -+ static int use_stdout = 0; - - if (!strcmp(myFILE,"-")) { -- stdout=1; -+ use_stdout=1; - } -- if (strlen(myFILE)!=0 && !stdout){ -+ if (strlen(myFILE)!=0 && !use_stdout){ - myfd=open(myFILE ,O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR|S_IRGRP); - if (myfd==-1){ - close(myfd); - errexit("%s could not be created.\n",myFILE); - }else{myprintf(0,"%s created.\n",myFILE);} - }else{ -- myfd=1; -+ myfd=STDOUT_FILENO; - sprintf(myFILE_p,"stdout"); -- stdout=1; -+ use_stdout=1; - } - return(myfd); - } diff --git a/comms/scmxx/patches/patch-ab b/comms/scmxx/patches/patch-ab deleted file mode 100644 index 6e2176a54be..00000000000 --- a/comms/scmxx/patches/patch-ab +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-ab,v 1.4 2002/03/27 22:44:29 kleink Exp $ - ---- scmxx.c.orig Wed Mar 27 22:34:03 2002 -+++ scmxx.c Wed Mar 27 23:40:15 2002 -@@ -345,8 +345,7 @@ - va_list arg_list; - va_start(arg_list,output); - if (verbose_level<=SET_VERBOSE) { -- vfprintf(stdout,output,arg_list); -+ vfprintf(stderr,output,arg_list); - } - va_end(arg_list); -- fflush(stdout); - } |