- Fix build failure due to gpg error (gpg: failed to create temporary file)

- Add missing include fixing another build failure
- Whitespace fix
This commit is contained in:
Dmitry Marakasov 2015-06-19 00:33:34 +00:00
parent 242f353a9a
commit b2831e9c3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390093
2 changed files with 22 additions and 2 deletions

View file

@ -57,8 +57,11 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/i386-wine-staging
.endif
pre-configure:
${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz ${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz
${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz.sig ${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz.sig
${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz \
${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz
${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz.sig \
${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz.sig
${MKDIR} ${WRKDIR}/.gnupg
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pipelight/libpipelight.so

View file

@ -0,0 +1,17 @@
--- src/linux/libpipelight/configloader.c.orig 2015-01-11 04:48:05 UTC
+++ src/linux/libpipelight/configloader.c
@@ -46,6 +46,7 @@
#include <string> // for std::string
#include <map> // for std::map
#include <dlfcn.h>
+#include <errno.h>
#include "common/common.h"
#include "configloader.h"
@@ -663,4 +664,4 @@ bool loadPluginInformation(){
err:
fclose(file);
return false;
-}
\ No newline at end of file
+}