Skip site navigation (1)Skip section navigation (2)
Date:      3 Aug 2000 11:19:46 -0000
From:      "Peter Pentchev" <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20377: Fix devel/cdk port - master site, some func prototypes
Message-ID:  <20000803111946.2709.qmail@ringwraith.oblivion.bg>

next in thread | raw e-mail | index | archive | help

>Number:         20377
>Category:       ports
>Synopsis:       Fix devel/cdk port - master site, some func prototypes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 04:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000803111946.2709.qmail>