pkgsrc-WIP-changes archive

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

Add DragonFly support



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Sun Nov 20 21:38:42 2016 +0000
Changeset:	6196a78f150f48a3e8011d52e8e77680a3f6bac2

Modified Files:
	seafile-daemon/Makefile
	seafile-daemon/patches/patch-daemon_http_tx_mgr.c
	seafile-daemon/patches/patch-vc_utils.c

Log Message:
Add DragonFly support

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

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

diffstat:
 seafile-daemon/Makefile                           | 2 +-
 seafile-daemon/patches/patch-daemon_http_tx_mgr.c | 2 +-
 seafile-daemon/patches/patch-vc_utils.c           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/seafile-daemon/Makefile b/seafile-daemon/Makefile
index 7c5e85d..2776d4f 100644
--- a/seafile-daemon/Makefile
+++ b/seafile-daemon/Makefile
@@ -11,7 +11,7 @@ HOMEPAGE=	http://seafile.com/
 COMMENT=	Seafile daemon
 LICENSE=	gnu-gpl-v2
 
-DIST_SUBDIR=	seafile
+DIST_SUBDIR=	seafile-daemon
 WRKSRC=		${WRKDIR}/seafile-${GHCOMMIT}
 
 GNU_CONFIGURE=	yes
diff --git a/seafile-daemon/patches/patch-daemon_http_tx_mgr.c b/seafile-daemon/patches/patch-daemon_http_tx_mgr.c
index 177f852..d377342 100644
--- a/seafile-daemon/patches/patch-daemon_http_tx_mgr.c
+++ b/seafile-daemon/patches/patch-daemon_http_tx_mgr.c
@@ -7,7 +7,7 @@ Missing BSD detection causes undefined USER_AGENT_OS, adapted from OpenBSDs port
  #define USER_AGENT_OS "Linux"
  #endif
  
-+#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
++#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __DragonFly__
 +#define USER_AGENT_OS "BSD"
 +#endif
 +
diff --git a/seafile-daemon/patches/patch-vc_utils.c b/seafile-daemon/patches/patch-vc_utils.c
index f2a3fbe..c689ec9 100644
--- a/seafile-daemon/patches/patch-vc_utils.c
+++ b/seafile-daemon/patches/patch-vc_utils.c
@@ -8,7 +8,7 @@ Add missing BSD detection, patch adapted from OpenBSDs port
  }
  
 -#if defined WIN32 || defined __APPLE__
-+#if defined WIN32 || defined __APPLE__ || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
++#if defined WIN32 || defined __APPLE__ || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __DragonFly__
  
  /*
   * If the names are different case-sensitively but the same case-insensitively,


Home | Main Index | Thread Index | Old Index