1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 20140627.

- Add GPLv2 as a valid license as the source is actually dual-licensed.
This commit is contained in:
Jung-uk Kim 2014-06-27 22:00:56 +00:00
parent 6cdf4863c9
commit da47dbb2f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359613
3 changed files with 27 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= acpica
PORTVERSION= 20140424
PORTVERSION= 20140627
CATEGORIES= sysutils devel
MASTER_SITES= https://acpica.org/sites/acpica/files/ \
LOCAL
@ -12,7 +12,8 @@ DISTNAME= ${PORTNAME}-unix2-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Tools from the ACPI Component Architecture (ACPICA) project
LICENSE= BSD3CLAUSE
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
USES= bison gmake
YACC= ${LOCALBASE}/bin/bison

View File

@ -1,2 +1,2 @@
SHA256 (acpica-unix2-20140424.tar.gz) = 72ece982bbbdfb1b17418f1feb3a9daaa01803d0d41dcf00e19d702cdf751bbc
SIZE (acpica-unix2-20140424.tar.gz) = 1272950
SHA256 (acpica-unix2-20140627.tar.gz) = 1f1054cbd5cb698ebe9b1ad9da26c41062024b6f7ad482db5be1325312b37ba1
SIZE (acpica-unix2-20140627.tar.gz) = 1291585

View File

@ -0,0 +1,22 @@
--- ../../source/components/utilities/utprint.c.orig 2014-06-27 11:36:15.000000000 -0400
+++ ../../source/components/utilities/utprint.c 2014-06-27 17:27:55.000000000 -0400
@@ -298,6 +298,7 @@
INT32 Precision,
UINT8 Type)
{
+ char *Pos;
char Sign;
char Zero;
BOOLEAN NeedPrefix;
@@ -354,9 +355,8 @@
/* Generate full string in reverse order */
- i = ACPI_PTR_DIFF (
- AcpiUtPutNumber (ReversedString, Number, Base, Upper),
- ReversedString);
+ Pos = AcpiUtPutNumber (ReversedString, Number, Base, Upper);
+ i = ACPI_PTR_DIFF (Pos, ReversedString);
/* Printing 100 using %2d gives "100", not "00" */