php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #58367
Patch php_gnupg.h_patch revision 2014-02-18 18:44 UTC by bradsacks99 at gmail dot com

Patch php_gnupg.h_patch for gnupg Bug #58367

Patch version 2014-02-18 18:44 UTC

Return to Bug #58367 | Download this patch
Patch Revisions:

Developer: bradsacks99@gmail.com

--- gnupg-1.3.1.orig/php_gnupg.h        2007-05-04 22:23:41.000000000 +0900
+++ gnupg-1.3.1/php_gnupg.h     2009-01-16 12:10:03.000000000 +0900
@@ -43,7 +43,11 @@
     HashTable *decryptkeys;
 } gnupg_object;
 
+#ifdef __APPLE__
+static zend_class_entry *gnupg_class_entry;
+#else
 zend_class_entry *gnupg_class_entry;
+#endif
 
 PHP_MINIT_FUNCTION(gnupg);
 PHP_MSHUTDOWN_FUNCTION(gnupg);
diff -u gnupg-1.3.1.orig/php_gnupg_keylistiterator.h gnupg-1.3.1/php_gnupg_keylistiterator.h
--- gnupg-1.3.1.orig/php_gnupg_keylistiterator.h        2007-05-04 22:23:41.000000000 +0900
+++ gnupg-1.3.1/php_gnupg_keylistiterator.h     2009-01-16 12:10:03.000000000 +0900
@@ -40,7 +40,11 @@
     zval pattern;
 } gnupg_keylistiterator_object;
 
+#ifdef __APPLE__
+static zend_class_entry *gnupg_keylistiterator_class_entry;
+#else
 zend_class_entry *gnupg_keylistiterator_class_entry;
+#endif
 
 PHP_METHOD(gnupg_keylistiterator, __construct);
 PHP_METHOD(gnupg_keylistiterator, current);
Common subdirectories: gnupg-1.3.1.orig/tests and gnupg-1.3.1/tests
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 23 05:01:26 2019 UTC