From owner-freebsd-ports Thu Aug 3 4:20: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E798F37B6FD for ; Thu, 3 Aug 2000 04:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA59525; Thu, 3 Aug 2000 04:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from orbitel.bg (ns.orbitel.bg [195.24.32.2]) by hub.freebsd.org (Postfix) with SMTP id 5519737B5EC for ; 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" Reply-To: "Peter Pentchev" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20377: Fix devel/cdk port - master site, some func prototypes Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 >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