Update sysutils/dateutils to version 0.4.1
[dports.git] / net-mgmt / seafile-client / files / patch-daemon_http-tx-mgr.c
1 --- daemon/http-tx-mgr.c.orig   2015-09-21 03:42:11 UTC
2 +++ daemon/http-tx-mgr.c
3 @@ -58,6 +58,22 @@
4  #define USER_AGENT_OS "Linux"
5  #endif
6  
7 +#ifdef __FreeBSD__
8 +#define USER_AGENT_OS "FreeBSD"
9 +#endif
10 +
11 +#ifdef __DragonFly__
12 +#define USER_AGENT_OS "DragonFly"
13 +#endif
14 +
15 +#ifdef __NetBSD__
16 +#define USER_AGENT_OS "NetBSD"
17 +#endif
18 +
19 +#ifdef __OpenBSD__
20 +#define USER_AGENT_OS "OpenBSD"
21 +#endif
22 +
23  struct _Connection {
24      CURL *curl;
25      gint64 ctime;               /* Used to clean up unused connection. */