diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile index 38e9a01fe6b0..bb65e1eb4452 100644 --- a/net/onedrive/Makefile +++ b/net/onedrive/Makefile @@ -1,48 +1,49 @@ PORTNAME= onedrive DISTVERSIONPREFIX= v DISTVERSION= 2.4.23 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= hiroo.ono+freebsd@gmail.com COMMENT= OneDrive Free client WWW= https://github.com/abraunegg/onedrive LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ldc2:lang/ldc LIB_DEPENDS= libcurl.so:ftp/curl \ libinotify.so:devel/libinotify RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate USES= autoreconf gmake pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= abraunegg GNU_CONFIGURE= yes PORTDOCS= * OPTIONS_DEFINE= DOCS NOTIFY COMPLETION OPTIONS_DEFAULT= NOTIFY COMPLETION OPTIONS_SUB= yes COMPLETION_DESC= Install completion for BASH, FISH and ZSH COMPLETION_BUILD_DEPENDS= bash-completion>0:shells/bash-completion COMPLETION_RUN_DEPENDS= bash-completion>0:shells/bash-completion COMPLETION_CONFIGURE_ENABLE= completions NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_USES= gnome NOTIFY_USE= GNOME=glib20,gdkpixbuf2 NOTIFY_CONFIGURE_ENABLE= notifications ONEDRIVE_LOGDIR= /var/log/${PORTNAME} post-extract: ${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src post-install: ${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR} .include diff --git a/net/onedrive/files/patch-src_progress.d b/net/onedrive/files/patch-src_progress.d deleted file mode 100644 index 4a435573cf6a..000000000000 --- a/net/onedrive/files/patch-src_progress.d +++ /dev/null @@ -1,23 +0,0 @@ ---- src/progress.d.orig 2019-04-16 02:18:26 UTC -+++ src/progress.d -@@ -7,6 +7,20 @@ import std.datetime; - import core.sys.posix.unistd; - import core.sys.posix.sys.ioctl; - -+// core.sys.posix.sys.ioccom; -+enum uint IOCPARM_MASK = 0x1fff; // parameter length, at most 13 bits -+enum uint IOC_OUT = 0x40000000; // copy parameters back -+ -+uint _IOC(T=typeof(null))(uint inorout, uint group, uint num, size_t len) -+{ -+ return (inorout | ((len & IOCPARM_MASK) << 16) | (group << 8) | num); -+} -+uint _IOR(T)(char g, int n) -+{ -+ return _IOC!(T)(IOC_OUT, cast(uint)g, cast(uint)n, T.sizeof); -+} -+enum uint TIOCGWINSZ = _IOR!(winsize)('t', 104); -+ - class Progress - { - private: