svn commit: r312089 - head/devel/ucommon/files
Pietro Cerutti
gahr at FreeBSD.org
Tue Feb 12 08:16:28 UTC 2013
Author: gahr
Date: Tue Feb 12 08:16:27 2013
New Revision: 312089
URL: http://svnweb.freebsd.org/changeset/ports/312089
Log:
- Unbreak on GCC
Added:
head/devel/ucommon/files/patch-openssl_hmac.cpp (contents, props changed)
Added: head/devel/ucommon/files/patch-openssl_hmac.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ucommon/files/patch-openssl_hmac.cpp Tue Feb 12 08:16:27 2013 (r312089)
@@ -0,0 +1,44 @@
+--- openssl/hmac.cpp.orig 2013-02-12 08:59:05.000000000 +0100
++++ openssl/hmac.cpp 2013-02-12 09:00:43.000000000 +0100
+@@ -17,12 +17,12 @@
+
+ #include "local.h"
+
+-bool HMAC::has(const char *id)
++bool ::HMAC::has(const char *id)
+ {
+ return (EVP_get_digestbyname(id) != NULL);
+ }
+
+-void HMAC::set(const char *digest, const char *key, size_t len)
++void ::HMAC::set(const char *digest, const char *key, size_t len)
+ {
+ secure::init();
+
+@@ -39,7 +39,7 @@
+ }
+ }
+
+-void HMAC::release(void)
++void ::HMAC::release(void)
+ {
+ if(context)
+ HMAC_cleanup((HMAC_CTX *)context);
+@@ -53,7 +53,7 @@
+ textbuf[0] = 0;
+ }
+
+-bool HMAC::put(const void *address, size_t size)
++bool ::HMAC::put(const void *address, size_t size)
+ {
+ if(!context)
+ return false;
+@@ -62,7 +62,7 @@
+ return true;
+ }
+
+-const unsigned char *HMAC::get(void)
++const unsigned char *::HMAC::get(void)
+ {
+ unsigned count = 0;
+ unsigned size = 0;
More information about the svn-ports-head
mailing list