aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-03-07 14:35:27 +0000
committerJason Woodward2010-03-07 14:35:27 +0000
commiteccef48e540ce22effa5ede7713ecce4f50f4579 (patch)
tree93f37e00a3c1692b2eab4008db484608043cbe3e
parent1b59d4d252e0c2e3469d15b83967c30b8fba5f40 (diff)
downloadslapt-get-eccef48e540ce22effa5ede7713ecce4f50f4579.tar.gz
define _FILE_OFFSET_BITS prior to including gpgme.h as required by gpgme in -current
-rw-r--r--ChangeLog4
-rw-r--r--src/gpgme.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index edd9364..f847ab4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
-0.10.2d Mar 06, 2010
+0.10.2d Mar 07, 2010
+ * define _FILE_OFFSET_BITS prior to including gpgme.h as required
+ by gpgme in -current
* incorporated a modified version of the patch submitted by
Vitaly Chernookiy for making slapt-get cross compile friendly
* removed extraneous / when constructing package source url
diff --git a/src/gpgme.h b/src/gpgme.h
index 139f7bc..e9b59ce 100644
--- a/src/gpgme.h
+++ b/src/gpgme.h
@@ -1,4 +1,8 @@
+/* http://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html#Largefile-Support-_0028LFS_0029
+ we now need to define _FILE_OFFSET_BITS prior to including gpgme.h
+ */
+#define _FILE_OFFSET_BITS 64
#include <gpgme.h>
#define SLAPT_GPG_KEY "GPG-KEY"