net/onedrive: remove now unneeded patch

PR:		269451
Reported by:	hiroo.ono+freebsd@gmail.com (maintainer)
This commit is contained in:
Hiroo Ono 2023-02-10 16:25:52 +01:00 committed by Fernando Apesteguía
parent 3235838cea
commit d0a830c779
2 changed files with 1 additions and 23 deletions

View file

@ -1,6 +1,7 @@
PORTNAME= onedrive
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.23
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= hiroo.ono+freebsd@gmail.com

View file

@ -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: