[Pkg-owncloud-commits] [ocsync] 05/07: Updated patches/freebsd.patch

Sandro Knauß hefee-guest at alioth.debian.org
Thu Sep 26 17:50:02 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository ocsync.

commit 9b5168eb72369e6be4534c17f76beadfed4e6f88
Author: Sandro Knauß <bugs at sandroknauss.de>
Date:   Thu Sep 26 19:21:14 2013 +0200

    Updated patches/freebsd.patch
---
 debian/patches/freebsd.patch |   29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/debian/patches/freebsd.patch b/debian/patches/freebsd.patch
index dbff3f5..226ab6a 100644
--- a/debian/patches/freebsd.patch
+++ b/debian/patches/freebsd.patch
@@ -5,24 +5,37 @@ Last-Update: 2013-09-11
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 Index: ocsync/src/std/c_private.h
 ===================================================================
---- ocsync.orig/src/std/c_private.h	2013-09-11 20:06:22.922129418 +0200
-+++ ocsync/src/std/c_private.h	2013-09-11 20:06:22.912129383 +0200
-@@ -50,6 +50,11 @@
- #define geteuid() 0
+--- ocsync.orig/src/std/c_private.h	2013-09-26 19:02:54.668814270 +0200
++++ ocsync/src/std/c_private.h	2013-09-26 19:07:06.571255134 +0200
+@@ -32,6 +32,8 @@
+ #include <wchar.h>
  #endif
  
-+#ifndef ENODATA
-+#define ENODATA EPIPE
++#include <errno.h>
++
+ #ifdef _WIN32
+ #define EDQUOT 0
+ #define ENODATA 0
+@@ -48,8 +50,15 @@
+ #define nlink_t int
+ #define getuid() 0
+ #define geteuid() 0
++#else
++#include <fcntl.h>
 +#endif
 +
++#ifndef ENODATA
++#define ENODATA EPIPE
+ #endif
+ 
 +
  #ifdef _WIN32
  typedef struct stat64 csync_stat_t;
  #define _FILE_OFFSET_BITS 64
 Index: ocsync/src/std/c_string.c
 ===================================================================
---- ocsync.orig/src/std/c_string.c	2013-09-11 20:06:22.922129418 +0200
-+++ ocsync/src/std/c_string.c	2013-09-11 20:06:22.913129387 +0200
+--- ocsync.orig/src/std/c_string.c	2013-09-26 19:02:54.668814270 +0200
++++ ocsync/src/std/c_string.c	2013-09-26 19:02:54.662814254 +0200
 @@ -307,7 +307,7 @@
  #ifdef WITH_ICONV
    dst = c_iconv(wstr, iconv_from_native);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/ocsync.git



More information about the Pkg-owncloud-commits mailing list