packages feed

libssh2 0.2.0.2 → 0.2.0.3

raw patch · 4 files changed

+22/−1 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

libssh2.cabal view
@@ -1,6 +1,6 @@ Name:                libssh2 -Version:             0.2.0.2+Version:             0.2.0.3  Synopsis:            FFI bindings to libssh2 SSH2 client library (http://libssh2.org/) 
src/Network/SSH/Client/LibSSH2/Errors.chs view
@@ -1,5 +1,12 @@ {-# LANGUAGE ForeignFunctionInterface, DeriveDataTypeable, FlexibleInstances #-} +#ifdef __APPLE__ +#define _ANSI_SOURCE+#define __AVAILABILITY__+#define __OSX_AVAILABLE_STARTING(_mac, _iphone)+#define __OSX_AVAILABLE_BUT_DEPRECATED(_macIntro, _macDep, _iphoneIntro, _iphoneDep) +#endif+ #include <libssh2.h>  {# context lib="ssh2" prefix="libssh2" #}
src/Network/SSH/Client/LibSSH2/Foreign.chs view
@@ -1,5 +1,12 @@ {-# LANGUAGE CPP, ForeignFunctionInterface #-} +#ifdef __APPLE__ +#define _ANSI_SOURCE+#define __AVAILABILITY__+#define __OSX_AVAILABLE_STARTING(_mac, _iphone)+#define __OSX_AVAILABLE_BUT_DEPRECATED(_macIntro, _macDep, _iphoneIntro, _iphoneDep) +#endif+ #include "libssh2_local.h" #include <libssh2.h> 
src/Network/SSH/Client/LibSSH2/Types.chs view
@@ -1,5 +1,12 @@ {-# LANGUAGE ForeignFunctionInterface, DeriveDataTypeable, StandaloneDeriving #-} +#ifdef __APPLE__ +#define _ANSI_SOURCE+#define __AVAILABILITY__+#define __OSX_AVAILABLE_STARTING(_mac, _iphone)+#define __OSX_AVAILABLE_BUT_DEPRECATED(_macIntro, _macDep, _iphoneIntro, _iphoneDep) +#endif+ #include <libssh2.h>  {# context lib="ssh2" prefix="libssh2" #}