diff options
author | vs <vs@FreeBSD.org> | 2005-12-23 20:51:29 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-12-23 20:51:29 +0000 |
commit | 95e8150a69df4aa1d0f39987658eb6be79803ac4 (patch) | |
tree | acc08b33d779565491dbbdd33656c80cf349759a /audio | |
parent | 7b1bfbd601b127ef110d8888002a3a2a2ea69e3f (diff) | |
download | FreeBSD-ports-95e8150a69df4aa1d0f39987658eb6be79803ac4.zip FreeBSD-ports-95e8150a69df4aa1d0f39987658eb6be79803ac4.tar.gz |
Fix build on 4.x
Approved by: adamw
Diffstat (limited to 'audio')
-rw-r--r-- | audio/easytag-devel/files/patch-src_picture.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/easytag-devel/files/patch-src_picture.c b/audio/easytag-devel/files/patch-src_picture.c new file mode 100644 index 0000000..ac96606 --- /dev/null +++ b/audio/easytag-devel/files/patch-src_picture.c @@ -0,0 +1,22 @@ + +$FreeBSD$ + +--- src/picture.c.orig ++++ src/picture.c +@@ -1039,6 +1039,7 @@ + gchar *buffer = 0; + size_t size = 0; + struct stat st; ++ FILE *fd; + + if (lstat(filename, &st)==-1) + return (Picture *)NULL; +@@ -1046,7 +1047,7 @@ + size = st.st_size; + buffer = g_malloc(size); + +- FILE *fd = fopen(filename, "rb"); ++ fd = fopen(filename, "rb"); + if (!fd) + { + gchar *msg; |