ports/security/beid/files/patch-common
Tijl Coosemans b7887f3ffd Update Belgian eID middleware to 4.4.5. Enable the viewer application
and the Firefox extension.  Rename the port from security/libbeid to
security/beid now that it's more than just a library.
2018-08-12 14:02:45 +00:00

21 lines
726 B
Text

--- cardcomm/pkcs11/src/common/logbase.cpp.orig 2017-05-16 16:28:03 UTC
+++ cardcomm/pkcs11/src/common/logbase.cpp
@@ -639,6 +639,7 @@ namespace eIDMW
utilStringNarrow(filename).
c_str(), "a");
#else
+ (void)bWchar;
m_f = fopen(utilStringNarrow(filename).c_str(),
"a, ccs=UTF-8");
if (m_f == NULL)
--- cardcomm/pkcs11/src/common/util.cpp.orig 2017-05-16 16:28:03 UTC
+++ cardcomm/pkcs11/src/common/util.cpp
@@ -221,7 +221,7 @@ namespace eIDMW
pid = getpid();
if (snprintf
- (linkname, sizeof(linkname), "/proc/%i/exe",
+ (linkname, sizeof(linkname), "/proc/%i/file",
pid) < 0)
{
/* This should only happen on large word systems. I'm not sure