diff options
author | gavan <gavan> | 2006-05-19 09:46:50 +0000 |
---|---|---|
committer | gavan <gavan> | 2006-05-19 09:46:50 +0000 |
commit | e47d94c4824c3b6615ada0958f963554416a0403 (patch) | |
tree | dad10555a8623114bcfed5a2f0cfe8aed4c22017 /textproc/libxml2 | |
parent | c715543b47fcc72ddb492cf5d44f59d1ea1969c4 (diff) | |
download | pkgsrc-e47d94c4824c3b6615ada0958f963554416a0403.tar.gz |
Don't declare a variable in the middle of code. Fixes compilation on
NetBSD 1.6.X.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/distinfo | 3 | ||||
-rw-r--r-- | textproc/libxml2/patches/patch-ai | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo index 7207fa9756e..fe686fb355c 100644 --- a/textproc/libxml2/distinfo +++ b/textproc/libxml2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.57 2006/05/15 08:27:32 minskim Exp $ +$NetBSD: distinfo,v 1.58 2006/05/19 09:46:50 gavan Exp $ SHA1 (libxml2-2.6.24.tar.bz2) = 637f4b4894c7195e6857449e46740473e2a944e7 RMD160 (libxml2-2.6.24.tar.bz2) = 9fdde9634a5e49a79a67c0bf24ae860fb894fc5e @@ -10,3 +10,4 @@ SHA1 (patch-ad) = cd45da492b02cce9983c46762839f68b8b1e0177 SHA1 (patch-ae) = fb6a05d5ecad8cba49d079ec6c54a061654b6351 SHA1 (patch-ag) = 6ddd32565325e87cc6d7ff77e6eac2be029b7c2f SHA1 (patch-ah) = 4d97b98393a35cfa5518a5244836a7062bbc0752 +SHA1 (patch-ai) = f58b81881ac13d92d32cd8a79c13c499da5d2f06 diff --git a/textproc/libxml2/patches/patch-ai b/textproc/libxml2/patches/patch-ai new file mode 100644 index 00000000000..aa2d47d33b0 --- /dev/null +++ b/textproc/libxml2/patches/patch-ai @@ -0,0 +1,20 @@ +$NetBSD: patch-ai,v 1.1 2006/05/19 09:46:50 gavan Exp $ + +--- xmlIO.c.orig Fri May 19 01:21:53 2006 ++++ xmlIO.c +@@ -616,6 +616,7 @@ xmlCheckFilename (const char *path) + } + #else + #ifdef HAVE_STAT ++ { + struct stat stat_buffer; + + if (stat(path, &stat_buffer) == -1) +@@ -625,6 +626,7 @@ xmlCheckFilename (const char *path) + if (S_ISDIR(stat_buffer.st_mode)) + return 2; + #endif /* S_ISDIR */ ++ } + #endif /* HAVE_STAT */ + #endif /* WIN32 */ + |