View | Details | Raw Unified | Return to bug 217526
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	physfs
4
PORTNAME=	physfs
5
PORTVERSION=	2.0.3
5
PORTVERSION=	2.0.3
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
MASTER_SITES=	http://icculus.org/${PORTNAME}/downloads/
8
MASTER_SITES=	http://icculus.org/${PORTNAME}/downloads/
8
9
(-)files/patch-archivers_zip.c (+15 lines)
Line 0 Link Here
1
--- archivers/zip.c.orig	2017-03-03 22:21:13 UTC
2
+++ archivers/zip.c
3
@@ -327,7 +327,8 @@ static int ZIP_seek(fvoid *opaque, PHYSF
4
                 return(0);
5
 
6
             inflateEnd(&finfo->stream);
7
-            memcpy(&finfo->stream, &str, sizeof (z_stream));
8
+            inflateCopy(&finfo->stream, &str);
9
+            inflateEnd(&str);
10
             finfo->uncompressed_position = finfo->compressed_position = 0;
11
         } /* if */
12
 
13
yes
14
native
15
text/plain

Return to bug 217526