pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fixed compatibility issue in simple-mtpfs



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Sun Dec 4 17:17:58 2016 +0000
Changeset:	49d9e237c8c1d1d0eb5db0bd21d8b25b37c8d4fb

Modified Files:
	mosquitto/Makefile
	simple-mtpfs/Makefile
	simple-mtpfs/distinfo
Added Files:
	simple-mtpfs/patches/patch-configure.ac

Log Message:
Fixed compatibility issue in simple-mtpfs

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49d9e237c8c1d1d0eb5db0bd21d8b25b37c8d4fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mosquitto/Makefile                      |  1 -
 simple-mtpfs/Makefile                   | 18 +++++++++++-------
 simple-mtpfs/distinfo                   |  9 +++++----
 simple-mtpfs/patches/patch-configure.ac | 18 ++++++++++++++++++
 4 files changed, 34 insertions(+), 12 deletions(-)

diffs:
diff --git a/mosquitto/Makefile b/mosquitto/Makefile
index 7d26045..578131f 100644
--- a/mosquitto/Makefile
+++ b/mosquitto/Makefile
@@ -1,6 +1,5 @@
 # $NetBSD$
 VERSION=	1.4.10
-PKGREVISION=	1
 PKGNAME=	mosquitto-${VERSION}
 DISTNAME=	${PKGNAME}
 CATEGORIES=	net
diff --git a/simple-mtpfs/Makefile b/simple-mtpfs/Makefile
index 31275f6..0ed7ec9 100644
--- a/simple-mtpfs/Makefile
+++ b/simple-mtpfs/Makefile
@@ -1,11 +1,12 @@
 # $NetBSD$
-PKGNAME=	simple-mtpfs-0.2-24
+
 CATEGORIES=	filesystems
-GHCOMMIT=	ea08fdb1299a2f53ac758f15c0377434ac0bbf89
-DISTNAME=	${GHCOMMIT}
-MASTER_SITES=	${MASTER_SITE_GITHUB:=simple-mtpfs/}
-EXTRACT_SUFX=	.zip
-#GIT_COMMIT=	EA08FDB
+VERSION=	0.2.1
+GITHUB_PROJECT=	simple-mtpfs
+PKGNAME=	${GITHUB_PROJECT}-${VERSION}
+DISTNAME=	simple-mtpfs-${VERSION}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=phatina/}
+GITHUB_TAG=	${DISTNAME}
 
 MAINTAINER=	amoibos%gmail.com@localhost
 HOMEPAGE=	http://github.com/phatina/simple-mtpfs
@@ -13,10 +14,13 @@ COMMENT=	FUSE module for interacting with MTP devices
 LICENSE=	gnu-gpl-v2
 
 DIST_SUBDIR=	simple-mtpfs
-WRKSRC=		${WRKDIR}/simple-mtpfs-${GHCOMMIT}
+WRKSRC=		${WRKDIR}/simple-mtpfs-${PKGNAME_NOREV}
+
+CHECK_PORTABILITY_SKIP+=	configure.ac
 
 GNU_CONFIGURE=	yes
 
+
 AUTOMAKE_REQD=	1.7.1
 USE_LANGUAGES+=	c c++
 MAKE_FILE=	makefile
diff --git a/simple-mtpfs/distinfo b/simple-mtpfs/distinfo
index c5aae35..84de17d 100644
--- a/simple-mtpfs/distinfo
+++ b/simple-mtpfs/distinfo
@@ -1,6 +1,7 @@
 $NetBSD$
 
-SHA1 (simple-mtpfs/ea08fdb1299a2f53ac758f15c0377434ac0bbf89.zip) = 4e851d94aa14aada524ddcccd08cea81ff7c9ac0
-RMD160 (simple-mtpfs/ea08fdb1299a2f53ac758f15c0377434ac0bbf89.zip) = 87904ce0084ff21f0e1d2fc40b72d2de4471dd33
-SHA512 (simple-mtpfs/ea08fdb1299a2f53ac758f15c0377434ac0bbf89.zip) = a8c889086f6ddd6b9ab6c08e353bcc7235e43b96e68780f416224c8a62b88cd58b0ae47a9a6271bf138d55f77e37dc2e5669f27ca29aaca24ebcf879f3a2cfd3
-Size (simple-mtpfs/ea08fdb1299a2f53ac758f15c0377434ac0bbf89.zip) = 63996 bytes
+SHA1 (simple-mtpfs/simple-mtpfs-0.2.1.tar.gz) = 1208e27fffee7e34fac488d6e955c30d7dc6a69b
+RMD160 (simple-mtpfs/simple-mtpfs-0.2.1.tar.gz) = dfc634b392781696f51b1f65a4edacc7151f379f
+SHA512 (simple-mtpfs/simple-mtpfs-0.2.1.tar.gz) = 5facd84048233d4a00007a9ad445d0f4a6e270dc155d0ab8c92808b24e7101aa666563c51a23dddb7685aa39b52f80f7341e33e0867fab7aff17c02529fb4b0d
+Size (simple-mtpfs/simple-mtpfs-0.2.1.tar.gz) = 36591 bytes
+SHA1 (patch-configure.ac) = d6bda3861bd1321f2fdd5004b19f3cd823ef937c
diff --git a/simple-mtpfs/patches/patch-configure.ac b/simple-mtpfs/patches/patch-configure.ac
new file mode 100644
index 0000000..8d90538
--- /dev/null
+++ b/simple-mtpfs/patches/patch-configure.ac
@@ -0,0 +1,18 @@
+$NetBSD$
+Fix warning
+
+--- configure.ac.orig	2016-12-04 17:10:05.571134076 +0000
++++ configure.ac	2016-12-04 17:10:22.306680792 +0000
+@@ -21,10 +21,10 @@
+ 
+ dnl Enable fdatasync, but not on OSX
+ os_name=$(uname -s)
+-test "x$os_name" == "xDarwin" || AC_CHECK_FUNCS([fdatasync])
++test "x$os_name" = "xDarwin" || AC_CHECK_FUNCS([fdatasync])
+ 
+ PKG_CHECK_MODULES([FUSE], [fuse >= 2.7.3])
+-if test "x$os_name" == "xDarwin"; then
++if test "x$os_name" = "xDarwin"; then
+     AC_SUBST([FUSE_CFLAGS],["-D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse"])
+     AC_SUBST([FUSE_LIBS],["-L/usr/local/lib -losxfuse -pthread -liconv"])
+ fi


Home | Main Index | Thread Index | Old Index