diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-06 11:25:40 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-06 11:25:40 +0000 |
commit | d2a6ed0f3b8fe17a19f33295e20db930b1bc6c73 (patch) | |
tree | 8f34f4a99f10e1cfdcef6b4c55300472a6b38068 /dev-db/sqlitebrowser/files | |
parent | bump (diff) | |
download | historical-d2a6ed0f3b8fe17a19f33295e20db930b1bc6c73.tar.gz historical-d2a6ed0f3b8fe17a19f33295e20db930b1bc6c73.tar.bz2 historical-d2a6ed0f3b8fe17a19f33295e20db930b1bc6c73.zip |
Fix building with GLIBC 2.10+ wrt #274214.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'dev-db/sqlitebrowser/files')
-rw-r--r-- | dev-db/sqlitebrowser/files/sqlitebrowser-1.3-glibc-2.10.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-glibc-2.10.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-glibc-2.10.patch new file mode 100644 index 000000000000..1aae75ec913e --- /dev/null +++ b/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -ur sqlitebrowser.orig/sqlitebrowser/sqlbrowser_util.c sqlitebrowser/sqlitebrowser/sqlbrowser_util.c +--- sqlitebrowser.orig/sqlitebrowser/sqlbrowser_util.c 2005-03-23 16:56:39.000000000 +0200 ++++ sqlitebrowser/sqlitebrowser/sqlbrowser_util.c 2009-08-06 14:25:02.000000000 +0300 +@@ -358,7 +358,7 @@ + } + + +-char *getline(FILE *in){ ++char *get_line(FILE *in){ + char *zLine; + int nLine; + int n; +@@ -402,7 +402,7 @@ + char * zErrMsg = 0; + int nSql = 0; + int rc; +- while((zLine = getline(in))!=0 ){ ++ while((zLine = get_line(in))!=0 ){ + if( (zSql==0 || zSql[0]==0) && _all_whitespace(zLine) ) continue; + (*lineErr)++; + if( zSql==0 ){ |