From roam@orbitel.bg  Thu Aug  3 04:19:45 2000
Return-Path: <roam@orbitel.bg>
Received: from orbitel.bg (ns.orbitel.bg [195.24.32.2])
	by hub.freebsd.org (Postfix) with SMTP id 5519737B5EC
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Aug 2000 04:19:39 -0700 (PDT)
	(envelope-from roam@orbitel.bg)
Received: (qmail 27753 invoked from network); 3 Aug 2000 11:19:35 -0000
Received: from unknown (HELO ringwraith.oblivion.bg) (192.168.0.98)
  by ns.orbitel.bg with SMTP; 3 Aug 2000 11:19:35 -0000
Received: (qmail 2710 invoked by uid 1001); 3 Aug 2000 11:19:46 -0000
Message-Id: <20000803111946.2709.qmail@ringwraith.oblivion.bg>
Date: 3 Aug 2000 11:19:46 -0000
From: "Peter Pentchev" <roam@orbitel.bg
Sender: roam@orbitel.bg
Reply-To: "Peter Pentchev" <roam@orbitel.bg>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Fix devel/cdk port - master site, some func prototypes
X-Send-Pr-Version: 3.2

>Number:         20377
>Category:       ports
>Synopsis:       Fix devel/cdk port - master site, some func prototypes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 04:20:01 PDT 2000
>Closed-Date:    Sat Aug 26 17:16:32 PDT 2000
>Last-Modified:  Sat Aug 26 17:20:02 PDT 2000
>Originator:     Peter Pentchev <roam@orbitel.bg>
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Orbitel JSCo
>Environment:

The current FreeBSD ports tree

>Description:

The devel/cdk port lists lastestCDK.tgz as the distname on its master
site; however, this has been renamed to cdk.tar.gz. The port version
is still 4.9.9, the MD5 checksum is the same, just the filename changed.

Included are also two patches to silence gcc -Wall's warnings about
a function without an argument list having no prototype; both are
trivial changes serving only to make gcc happy.

>How-To-Repeat:

make fetch in /usr/ports/devel/cdk fails to fetch the listed distfile.

gcc -Wall -W of any program which includes cdk/cdk.h complains about
Beep(), endCDK() and initCDKColor() having no prototypes.

>Fix:

diff -u -urN ports/devel/cdk/Makefile myports/devel/cdk/Makefile
--- ports/devel/cdk/Makefile	Thu Aug  3 13:50:08 2000
+++ myports/devel/cdk/Makefile	Thu Aug  3 13:51:18 2000
@@ -10,8 +10,7 @@
 PORTVERSION=		4.9.9
 CATEGORIES=		devel
 MASTER_SITES=	http://www.vexus.ca/release/
-DISTNAME=	latestCDK
-EXTRACT_SUFX=	.tgz
+DISTNAME=	cdk
 
 MAINTAINER=	obrien@FreeBSD.org
 
diff -u -urN ports/devel/cdk/files/md5 myports/devel/cdk/files/md5
--- ports/devel/cdk/files/md5	Thu Aug  3 13:50:37 2000
+++ myports/devel/cdk/files/md5	Thu Aug  3 13:51:23 2000
@@ -1 +1 @@
-MD5 (latestCDK.tgz) = 51b00c111424a4431b2295df5a69a620
+MD5 (cdk.tar.gz) = 51b00c111424a4431b2295df5a69a620
diff -u -urN ports/devel/cdk/patches/patch-ac myports/devel/cdk/patches/patch-ac
--- ports/devel/cdk/patches/patch-ac	Thu Jan  1 02:00:00 1970
+++ myports/devel/cdk/patches/patch-ac	Thu Aug  3 14:04:04 2000
@@ -0,0 +1,11 @@
+--- include/cdk_util.h	Fri Dec 11 05:10:43 1998
++++ include/cdk_util.h	Thu Aug  3 14:02:25 2000
+@@ -41,7 +41,7 @@
+  * flush the stream, so it will only beep until a force is made.
+  * This forces a flush after issuing the beep command.
+  */
+-void Beep();
++void Beep(void);
+ 
+ /*
+  * This aligns a 'box' on the given window with the height and
diff -u -urN ports/devel/cdk/patches/patch-ad myports/devel/cdk/patches/patch-ad
--- ports/devel/cdk/patches/patch-ad	Thu Jan  1 02:00:00 1970
+++ myports/devel/cdk/patches/patch-ad	Thu Aug  3 14:04:10 2000
@@ -0,0 +1,15 @@
+--- include/cdkscreen.h	Tue Apr  7 19:24:55 1998
++++ include/cdkscreen.h	Thu Aug  3 14:02:33 2000
+@@ -137,10 +137,10 @@
+  * This shuts down curses and everything else needed to
+  * exit cleanly.
+  */
+-void endCDK();
++void endCDK(void);
+ 
+ /*
+  * This creates all the color pairs.
+  */
+-void initCDKColor();
++void initCDKColor(void);
+ #endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien  
Responsible-Changed-By: dannyboy 
Responsible-Changed-When: Fri Aug 18 13:07:01 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20377 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Sat Aug 26 17:16:32 PDT 2000 
State-Changed-Why:  
Port was updated to 4.9.10.  The GCC quieting patches I am not interested in. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20377 

From: "David O'Brien" <obrien@NUXI.com>
To: freebsd-gnats-submit@FreeBSD.org, roam@orbitel.bg
Cc:  
Subject: Re: ports/20377: Fix devel/cdk port - master site,%2
Date: Sat, 26 Aug 2000 17:13:51 -0700 (PDT)

 I am not interested in adding patches that just quiet GCC warnings.
 As they probably will not apply cleanly on the next update by the author
 due to changes in the code around the line(s) that quiet GCC.  You should
 submit these patches to the cdk author instead.
 
>Unformatted:
