1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to version 0.0.0p3

PR:		ports/64427
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-03-18 21:53:51 +00:00
parent 0b747b6ee6
commit 6afdfbb148
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104540
6 changed files with 14 additions and 66 deletions

View File

@ -1,22 +1,25 @@
# New ports collection makefile for: toshctl
# Date created: 22 September 2003
# Whom: XXX
# Whom: carl@servicefactory.com
#
# $FreeBSD$
#
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@servicefactory.se
COMMENT= A command-line tool to access parts of the Toshiba hardware interface
MAINTAINER= carl@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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (toshctl-0.0.0p2.tgz) = 619f3c42160ee7a4cbd01126c710cbd4
MD5 (toshctl-0.0.0p3.tgz) = 9e888ec5a4ea0c803626e3a5dedc51c0
SIZE (toshctl-0.0.0p3.tgz) = 10313

View File

@ -1,11 +0,0 @@
--- Makefile.orig Thu Mar 20 02:19:07 2003
+++ Makefile Fri Aug 22 16:11:21 2003
@@ -34,5 +34,8 @@
$(PROGRAM):$(OBJS)
$(CC) -o $(PROGRAM) $(LDFLAGS) $(OBJS)
+install:
+ ${INSTALL} ${PROGRAM} ${LOCALBASE}/bin
+
clean:
rm -f *.o *.bak $(PROGRAM)

View File

@ -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];

View File

@ -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;

View File

@ -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;