summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvmchale <>2019-11-30 03:09:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-11-30 03:09:00 (GMT)
commit3fdc4378a889f62e460e37eba91d22a3b93b4707 (patch)
tree2b2f5d5268e1ee636f76fe8884bd20103500d790
parenta4f975a50fde91cf85c7d14c4d7cc64ab93e86cc (diff)
version 2.1.0.02.1.0.0
-rw-r--r--CHANGELOG.md5
-rw-r--r--libarchive.cabal2
-rw-r--r--src/Codec/Archive/Foreign/ArchiveEntry.chs5
3 files changed, 9 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8f4c27..76a4a14 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# libarchive
+## 2.1.0.0
+
+ * Remove `archiveEntryAclNext` since it doesn't exist in the static linked
+ library. This means `libarchive` can be used in profiling builds.
+
## 2.0.0.2
* Export `FilePtr` type constructor
diff --git a/libarchive.cabal b/libarchive.cabal
index 7d55238..b8c6282 100644
--- a/libarchive.cabal
+++ b/libarchive.cabal
@@ -1,6 +1,6 @@
cabal-version: 1.18
name: libarchive
-version: 2.0.0.2
+version: 2.1.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018-2019 Vanessa McHale
diff --git a/src/Codec/Archive/Foreign/ArchiveEntry.chs b/src/Codec/Archive/Foreign/ArchiveEntry.chs
index 484b6fa..cbca14c 100644
--- a/src/Codec/Archive/Foreign/ArchiveEntry.chs
+++ b/src/Codec/Archive/Foreign/ArchiveEntry.chs
@@ -127,7 +127,7 @@ module Codec.Archive.Foreign.ArchiveEntry ( -- * Direct bindings (entry)
, archiveEntryCopyMacMetadata
, archiveEntryAclClear
, archiveEntryAclNext
- , archiveEntryAclNextW
+ -- , archiveEntryAclNextW
, archiveEntryAclReset
, archiveEntryAclToText
, archiveEntryAclToTextW
@@ -355,7 +355,8 @@ uft (Just ft') = fromIntegral (fromEnum ft')
{# fun archive_entry_acl_add_entry_w as ^ { `ArchiveEntryPtr', coerce `EntryACL', coerce `EntryACL', coerce `EntryACL', `CInt', `CWString' } -> `CInt' #}
{# fun archive_entry_acl_reset as ^ { `ArchiveEntryPtr', coerce `EntryACL' } -> `CInt' #}
{# fun archive_entry_acl_next as ^ { `ArchiveEntryPtr', coerce `EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', id `Ptr CInt', id `Ptr CString' } -> `CInt' #}
-{# fun archive_entry_acl_next_w as ^ { `ArchiveEntryPtr', coerce `EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', id `Ptr CInt', id `Ptr CWString' } -> `CInt' #}
+-- This function is in the header but not in nm libarchive.a | rg ...
+-- {# fun archive_entry_acl_next_w as ^ { `ArchiveEntryPtr', coerce `EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', castPtr `Ptr EntryACL', id `Ptr CInt', id `Ptr CWString' } -> `CInt' #}
{# fun archive_entry_acl_to_text_w as ^ { `ArchiveEntryPtr', castPtr `Ptr LaSSize', coerce `EntryACL' } -> `CWString' #}
{# fun archive_entry_acl_to_text as ^ { `ArchiveEntryPtr', castPtr `Ptr LaSSize', coerce `EntryACL' } -> `CString' #}
{# fun archive_entry_acl_from_text as ^ { `ArchiveEntryPtr', `CString', coerce `EntryACL' } -> `CInt' #}