ports/64427: [maintainer update] sysutils/toshctl: update to 0.0.0p3
Carl Moberg
carl at servicefactory.com
Thu Mar 18 17:50:14 UTC 2004
>Number: 64427
>Category: ports
>Synopsis: [maintainer update] sysutils/toshctl: update to 0.0.0p3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 18 09:50:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Carl Moberg
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD gateway.spruttibulli.com 4.9-STABLE FreeBSD 4.9-STABLE #19: Fri Jan 2 22:35:26 GMT 2004 root at gateway.spruttibulli.com:/usr/obj/usr/src/sys/HOMEGW i386
>Description:
Updated by author:
+ Fix compilation error in gcc 3 (FreeBSD 5.1)
+ Please note that the following files have been removed from the port:
- files/patch-tosh_hci.cpp
- files/patch-tosh_bios.cpp
- files/patch-tosh_hci.h
>How-To-Repeat:
>Fix:
--- toshctl.diff begins here ---
diff -urN toshctl.old/Makefile toshctl/Makefile
--- toshctl.old/Makefile Mon Feb 16 19:50:52 2004
+++ toshctl/Makefile Thu Mar 18 17:28:18 2004
@@ -1,22 +1,22 @@
# New ports collection makefile for: toshctl
# Date created: 22 September 2003
-# Whom: XXX
+# Whom: carl at servicefactory.com
#
# $FreeBSD: ports/sysutils/toshctl/Makefile,v 1.3 2004/02/06 13:12:31 trevor Exp $
#
-PORTNAME= toshctl
-PORTVERSION= 0.0.0p2
-CATEGORIES= sysutils
-MASTER_SITES= http://freebie.miraclenet.co.th/notebook/toshctl/
-EXTRACT_SUFX= .tgz
+PORTNAME= toshctl
+PORTVERSION= 0.0.0p3
+CATEGORIES= sysutils
+MASTER_SITES= http://freebie.miraclenet.co.th/notebook/toshctl/
+EXTRACT_SUFX= .tgz
-MAINTAINER= carl at servicefactory.se
-COMMENT= A command-line tool to access parts of the Toshiba hardware interface
+MAINTAINER= carl at servicefactory.com
+COMMENT= A command-line tool to access parts of the Toshiba hardware interface
ONLY_FOR_ARCHS= i386
PLIST_FILES= bin/toshctl
-WRKSRC= ${WRKDIR}/toshctl
+WRKSRC= ${WRKDIR}/toshctl
.include <bsd.port.mk>
diff -urN toshctl.old/distinfo toshctl/distinfo
--- toshctl.old/distinfo Sat Oct 4 00:37:43 2003
+++ toshctl/distinfo Thu Mar 18 17:16:36 2004
@@ -1 +1,2 @@
-MD5 (toshctl-0.0.0p2.tgz) = 619f3c42160ee7a4cbd01126c710cbd4
+MD5 (toshctl-0.0.0p3.tgz) = 9e888ec5a4ea0c803626e3a5dedc51c0
+SIZE (toshctl-0.0.0p3.tgz) = 10313
diff -urN toshctl.old/files/patch-tosh_bios.cpp toshctl/files/patch-tosh_bios.cpp
--- toshctl.old/files/patch-tosh_bios.cpp Sat Oct 4 00:37:43 2003
+++ toshctl/files/patch-tosh_bios.cpp Thu Jan 1 00:00:00 1970
@@ -1,11 +0,0 @@
---- tosh_bios.cpp.orig Fri Aug 22 16:03:37 2003
-+++ tosh_bios.cpp Fri Aug 22 16:03:50 2003
-@@ -130,7 +130,7 @@
- bios_time.tm_mday = str2int(&mem[0xFFFF8],2);
- time_t t = mktime(&bios_time);
-
-- snprintf(buf,32,"%ld",t);
-+ snprintf(buf,32,"%d",t);
- s = "20";s += mem[0xFFFFB];s += mem[0xFFFFC];s += '-';
- s += mem[0xFFFF5]; s+= mem[0xFFFF6];s+= '-';
- s += mem[0xFFFF8]; s+= mem[0xFFFF9];
diff -urN toshctl.old/files/patch-tosh_hci.cpp toshctl/files/patch-tosh_hci.cpp
--- toshctl.old/files/patch-tosh_hci.cpp Sat Oct 4 00:37:43 2003
+++ toshctl/files/patch-tosh_hci.cpp Thu Jan 1 00:00:00 1970
@@ -1,20 +0,0 @@
---- tosh_hci.cpp.orig Wed Apr 23 17:16:42 2003
-+++ tosh_hci.cpp Fri Oct 3 17:35:48 2003
-@@ -132,7 +132,7 @@
-
- unsigned
- CToshHCIVar::hci_read(HCI_FUNCTION fn,unsigned ecx,unsigned edx)
-- throw (runtime_error)
-+ throw (std::runtime_error)
- {
- unsigned result;
-
-@@ -144,7 +144,7 @@
-
- void
- CToshHCIVar::hci_write(HCI_FUNCTION fn,unsigned ecx,unsigned edx)
-- throw (runtime_error)
-+ throw (std::runtime_error)
- {
- unsigned result;
-
diff -urN toshctl.old/files/patch-tosh_hci.h toshctl/files/patch-tosh_hci.h
--- toshctl.old/files/patch-tosh_hci.h Sat Oct 4 00:37:43 2003
+++ toshctl/files/patch-tosh_hci.h Thu Jan 1 00:00:00 1970
@@ -1,14 +0,0 @@
---- tosh_hci.h.orig Wed Mar 19 16:53:24 2003
-+++ tosh_hci.h Fri Oct 3 17:34:15 2003
-@@ -80,9 +80,9 @@
- unsigned ecx,unsigned edx) throw();
-
- static unsigned hci_read(HCI_FUNCTION fn,unsigned ecx,unsigned edx)
-- throw(runtime_error);
-+ throw(std::runtime_error);
- static void hci_write(HCI_FUNCTION fn,unsigned ecx,unsigned edx)
-- throw(runtime_error);
-+ throw(std::runtime_error);
- protected:
- typedef std::pair<unsigned,std::string> VAR_INFO;
-
--- toshctl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list