diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-07-19 00:34:16 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-07-19 00:34:16 +0000 |
commit | 1426b85db89bbfe3cee49cdee267c8d5b810498b (patch) | |
tree | a356f986c17a8e639051dd24aca6b2437f82fd9c /databases/sqlitebrowser | |
parent | fc56a4fc879dd4c0a2b8865db9e1c282bbe971a6 (diff) | |
download | pkgsrc-1426b85db89bbfe3cee49cdee267c8d5b810498b.tar.gz |
Fix build on NetBSD 5.99.55.
* Resolve conflict of getline.
Diffstat (limited to 'databases/sqlitebrowser')
-rw-r--r-- | databases/sqlitebrowser/distinfo | 3 | ||||
-rw-r--r-- | databases/sqlitebrowser/patches/patch-sqlitebrowser_sqlbrowser__util.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/databases/sqlitebrowser/distinfo b/databases/sqlitebrowser/distinfo index de05461b367..3b12b49967b 100644 --- a/databases/sqlitebrowser/distinfo +++ b/databases/sqlitebrowser/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/05/25 08:04:44 adam Exp $ +$NetBSD: distinfo,v 1.2 2011/07/19 00:34:16 ryoon Exp $ SHA1 (sqlitebrowser-1.3-src.tar.gz) = 5defc7965e352bcaf8c763b76b2cfe11360b68f9 RMD160 (sqlitebrowser-1.3-src.tar.gz) = 884330dd595ec091f1aab885cb845dd19adeb189 Size (sqlitebrowser-1.3-src.tar.gz) = 563588 bytes +SHA1 (patch-sqlitebrowser_sqlbrowser__util.c) = 5f864ab81ce70d9ed34b27b7d6234612fc6c07d4 diff --git a/databases/sqlitebrowser/patches/patch-sqlitebrowser_sqlbrowser__util.c b/databases/sqlitebrowser/patches/patch-sqlitebrowser_sqlbrowser__util.c new file mode 100644 index 00000000000..56dc65cc7fc --- /dev/null +++ b/databases/sqlitebrowser/patches/patch-sqlitebrowser_sqlbrowser__util.c @@ -0,0 +1,22 @@ +$NetBSD: patch-sqlitebrowser_sqlbrowser__util.c,v 1.1 2011/07/19 00:34:17 ryoon Exp $ + +--- sqlitebrowser/sqlbrowser_util.c.orig 2005-03-23 14:56:39.000000000 +0000 ++++ sqlitebrowser/sqlbrowser_util.c +@@ -358,7 +358,7 @@ static int _is_command_terminator(const + } + + +-char *getline(FILE *in){ ++char *sbgetline(FILE *in){ + char *zLine; + int nLine; + int n; +@@ -402,7 +402,7 @@ void process_input(sqlite3 * db, FILE *i + char * zErrMsg = 0; + int nSql = 0; + int rc; +- while((zLine = getline(in))!=0 ){ ++ while((zLine = sbgetline(in))!=0 ){ + if( (zSql==0 || zSql[0]==0) && _all_whitespace(zLine) ) continue; + (*lineErr)++; + if( zSql==0 ){ |