mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 06:27:08 +00:00
fix compilation issue
This commit is contained in:
parent
82bd767afa
commit
b6f6663639
3 changed files with 19 additions and 5 deletions
2
gnupg.c
2
gnupg.c
|
@ -1393,7 +1393,7 @@ PHP_FUNCTION(gnupg_import){
|
||||||
result = gpgme_op_import_result (intern->ctx);
|
result = gpgme_op_import_result (intern->ctx);
|
||||||
|
|
||||||
if(result->imports->result != GPG_ERR_NO_ERROR){
|
if(result->imports->result != GPG_ERR_NO_ERROR){
|
||||||
RETURN_FALSE();
|
RETURN_FALSE;
|
||||||
}
|
}
|
||||||
array_init (return_value);
|
array_init (return_value);
|
||||||
add_assoc_long (return_value, "imported", result->imported);
|
add_assoc_long (return_value, "imported", result->imported);
|
||||||
|
|
20
package.xml
20
package.xml
|
@ -16,10 +16,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2015-02-11</date>
|
<date>2015-02-11</date>
|
||||||
<time>10:00:00</time>
|
<time>11:00:00</time>
|
||||||
<version>
|
<version>
|
||||||
<release>1.3.5</release>
|
<release>1.3.6</release>
|
||||||
<api>1.3.5</api>
|
<api>1.3.6</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
<release>stable</release>
|
<release>stable</release>
|
||||||
|
@ -82,6 +82,20 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
<providesextension>gnupg</providesextension>
|
<providesextension>gnupg</providesextension>
|
||||||
<extsrcrelease />
|
<extsrcrelease />
|
||||||
<changelog>
|
<changelog>
|
||||||
|
<release>
|
||||||
|
<version>
|
||||||
|
<release>1.3.6</release>
|
||||||
|
<api>1.3.6</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<date>2015-02-11</date>
|
||||||
|
<license>BSD, revised</license>
|
||||||
|
<notes>Compilation bug
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
<release>
|
<release>
|
||||||
<version>
|
<version>
|
||||||
<release>1.3.5</release>
|
<release>1.3.5</release>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
extern zend_module_entry gnupg_module_entry;
|
extern zend_module_entry gnupg_module_entry;
|
||||||
#define phpext_gnupg_ptr &gnupg_module_entry
|
#define phpext_gnupg_ptr &gnupg_module_entry
|
||||||
|
|
||||||
#define PHP_GNUPG_VERSION "1.3.5"
|
#define PHP_GNUPG_VERSION "1.3.6"
|
||||||
|
|
||||||
#ifdef PHP_WIN32
|
#ifdef PHP_WIN32
|
||||||
#define PHP_GNUPG_API __declspec(dllexport)
|
#define PHP_GNUPG_API __declspec(dllexport)
|
||||||
|
|
Loading…
Reference in a new issue