mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #2714 from jow-/tiff-ftell-fix
tiff: fix wrong declaration of ftell() compat macro
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=tiff
|
PKG_NAME:=tiff
|
||||||
PKG_VERSION:=4.0.6
|
PKG_VERSION:=4.0.6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://download.osgeo.org/libtiff
|
PKG_SOURCE_URL:=http://download.osgeo.org/libtiff
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/libtiff/tiffiop.h
|
||||||
|
+++ b/libtiff/tiffiop.h
|
||||||
|
@@ -284,7 +284,7 @@ struct tiff {
|
||||||
|
*/
|
||||||
|
#if defined(HAVE_FSEEKO)
|
||||||
|
# define fseek(stream,offset,whence) fseeko(stream,offset,whence)
|
||||||
|
-# define ftell(stream,offset,whence) ftello(stream,offset,whence)
|
||||||
|
+# define ftell(stream) ftello(stream)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if defined(__WIN32__) && \
|
||||||
Reference in New Issue
Block a user