Commit 7ef6efe3 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

exfat-utils: bump to version 1.2.1



Switch to github homepage and site.
Package is now autotools-based.
libc patch no longer required.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 98538bb0
Loading
Loading
Loading
Loading
+0 −26
Original line number Diff line number Diff line
[PATCH] fix compilation when libc does not define __GLIBC__

libexfat would only compile on Linux with __GLIBC__ defined. Changed
to use __linux__ which likely better fits the original intent.

Upstream status: applied.
See https://groups.google.com/forum/#!topic/exfat/8g3yumqrf1A.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
---
 platform.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libexfat/libexfat/platform.h
===================================================================
--- libexfat/libexfat/platform.h	(revision 422)
+++ libexfat/libexfat/platform.h	(working copy)
@@ -24,7 +24,7 @@
 #ifndef PLATFORM_H_INCLUDED
 #define PLATFORM_H_INCLUDED
 
-#if defined(__GLIBC__)
+#if defined(__linux__)
 
 #include <endian.h>
 #include <byteswap.h>
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ config BR2_PACKAGE_EXFAT_UTILS
	help
	  exFAT filesystem utilities.

	  http://code.google.com/p/exfat/
	  https://github.com/relan/exfat

comment "exfat-utils needs a toolchain w/ wchar"
	depends on !BR2_USE_WCHAR
+2 −2
Original line number Diff line number Diff line
# From https://code.google.com/p/exfat/wiki/Downloads?tm=2
sha1	ddf0819c27aeb3eaae5aae0423d4dafc54d477da	exfat-utils-1.1.1.tar.gz
# Locally calculated
sha256	a91bd60c1a05e5421da46a1f7cdca19d6db85f2de0afedf8f0f5ff77f8edbcb4	exfat-utils-1.2.1.tar.gz
+3 −15
Original line number Diff line number Diff line
@@ -4,21 +4,9 @@
#
################################################################################

EXFAT_UTILS_VERSION = 1.1.1
EXFAT_UTILS_SITE = http://distfiles.gentoo.org/distfiles
EXFAT_UTILS_DEPENDENCIES = host-scons
EXFAT_UTILS_VERSION = 1.2.1
EXFAT_UTILS_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_UTILS_VERSION)
EXFAT_UTILS_LICENSE = GPLv3+
EXFAT_UTILS_LICENSE_FILES = COPYING

define EXFAT_UTILS_BUILD_CMDS
	(cd $(@D); \
		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS))
endef

define EXFAT_UTILS_INSTALL_TARGET_CMDS
	(cd $(@D); \
		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS) \
		DESTDIR=$(TARGET_DIR)/usr/bin install)
endef

$(eval $(generic-package))
$(eval $(autotools-package))