Skip Menu |

This queue is for tickets about the Business-OnlinePayment-BitPay-KeyUtils CPAN distribution.

Report information
The Basics
Id: 120940
Status: new
Priority: 0/
Queue: Business-OnlinePayment-BitPay-KeyUtils

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.0.1
Fixed in: (no value)



Subject: support for Windows
Mingw does not support BSD int types. P.S. If you have github repository for this distribution I can send pull request. -- Alexandr Ciornii, http://chorny.net
Subject: Makefile.PL.patch
--- Makefile.PL.dist 2015-07-22 22:52:22.000000000 +0300 +++ Makefile.PL 2017-04-04 22:09:01.036321300 +0300 @@ -1,10 +1,17 @@ # File : Makefile.PL +use strict; use ExtUtils::MakeMaker; +use Config; +my $lib = '-lssl -lcrypto'; +if ($^O eq 'MSWin32') { + $lib = '-llibeay32' if $Config{cc} =~ /cl/; + $lib = '-leay32' if $Config{cc} =~ /gcc/; +} WriteMakefile( 'NAME' => 'Business::OnlinePayment::BitPay::KeyUtils', # Name of package 'AUTHOR' => 'BitPay, Inc.', 'VERSION' => '2.0.1', - 'LIBS' => ['-lm -lssl -lcrypto'], # Name of custom libraries + 'LIBS' => ["-lm $lib"], # Name of custom libraries 'OBJECT' => 'key_utils.o key_utils_wrap.o', # Object files 'LICENSE' => 'MIT' );
Subject: bitpay.h.patch
--- bitpay.h.dist 2015-07-22 21:43:48.000000000 +0300 +++ bitpay.h 2017-04-04 21:39:33.997633200 +0300 @@ -16,6 +16,9 @@ #include <openssl/ripemd.h> #include <openssl/ecdsa.h> #include <openssl/pem.h> +#ifndef u_int8_t +#define u_int8_t uint8_t +#endif #define NOERROR 0 #define ERROR -1