1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to 0.9.10

This commit is contained in:
Baptiste Daroussin 2015-04-24 04:23:49 +00:00
parent 49e2d0579a
commit 92044f6b86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384622
3 changed files with 3 additions and 25 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= pkgconf
PORTVERSION= 0.9.9
PORTREVISION= 1
PORTVERSION= 0.9.10
CATEGORIES= devel
MASTER_SITES= http://rabbit.dereferenced.org/~nenolod/distfiles/ \
http://files.etoilebsd.net/pkgconf/

View File

@ -1,2 +1,2 @@
SHA256 (pkgconf-0.9.9.tar.bz2) = 100abb2e49752100788628634804730eec240213817f7f941d99b4e2c5144887
SIZE (pkgconf-0.9.9.tar.bz2) = 85312
SHA256 (pkgconf-0.9.10.tar.bz2) = bf67a3de2aa4aef5ddd3ae90209d0b349d1032018f67180c5226b579e51b71ec
SIZE (pkgconf-0.9.10.tar.bz2) = 85428

View File

@ -1,21 +0,0 @@
diff --git fileio.c fileio.c
index 1ef1978..c10a6d6 100644
--- fileio.c
+++ fileio.c
@@ -36,9 +36,14 @@ pkg_fgetline(char *line, size_t size, FILE *stream)
}
else if (c == '#')
{
- if (!quoted)
+ if (!quoted) {
+ /* Skip the rest of the line */
+ do {
+ c = getc(stream);
+ } while (c != '\n' && c != EOF);
+ *s++ = c;
break;
-
+ }
quoted = false;
continue;
}