summaryrefslogtreecommitdiff
path: root/security/ruby-gpgme/files
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-12-21 08:59:42 +0000
committerClement Laforet <clement@FreeBSD.org>2004-12-21 08:59:42 +0000
commit7ef18bc03149b2fd5fc002e2e5a219c3796ee2e8 (patch)
tree14e5daf0321e5bcec6a69cf36c14c650a67788ed /security/ruby-gpgme/files
parentUpdate to 1.51 (diff)
- Rework gpgme03 port to avoid conflict with gpgme 1.0
- Make ports depending on it use new layout - Bump PORTREVISION (except elmo*) Approved by: portmgr (marcus)
Diffstat (limited to 'security/ruby-gpgme/files')
-rw-r--r--security/ruby-gpgme/files/patch-extconf.rb9
-rw-r--r--security/ruby-gpgme/files/patch-gpgme_n.c11
2 files changed, 20 insertions, 0 deletions
diff --git a/security/ruby-gpgme/files/patch-extconf.rb b/security/ruby-gpgme/files/patch-extconf.rb
new file mode 100644
index 000000000000..cb44912b92f3
--- /dev/null
+++ b/security/ruby-gpgme/files/patch-extconf.rb
@@ -0,0 +1,9 @@
+--- extconf.rb.orig Mon Dec 20 21:35:54 2004
++++ extconf.rb Mon Dec 20 21:36:21 2004
+@@ -1,5 +1,5 @@
+ require 'mkmf'
+
+-if have_library('gpgme', 'gpgme_check_version') and have_header('gpgme.h')
++if have_library('gpgme03', 'gpgme_check_version') and have_header('gpgme03/gpgme.h')
+ create_makefile ('gpgme_n')
+ end
diff --git a/security/ruby-gpgme/files/patch-gpgme_n.c b/security/ruby-gpgme/files/patch-gpgme_n.c
new file mode 100644
index 000000000000..43b3f82a055e
--- /dev/null
+++ b/security/ruby-gpgme/files/patch-gpgme_n.c
@@ -0,0 +1,11 @@
+--- gpgme_n.c.orig Mon Dec 20 21:38:14 2004
++++ gpgme_n.c Mon Sep 29 21:35:59 2003
+@@ -34,7 +34,7 @@
+ this purpose. */
+
+ #include "ruby.h"
+-#include "gpgme.h"
++#include "gpgme03/gpgme.h"
+
+ /* StringValuePtr is not available in 1.6. */
+ #ifndef StringValuePtr