misc/182885: sysutils/fusefs-zip fix build with clang

Oleg Ginzburg olevole at olevole.ru
Thu Oct 10 22:20:00 UTC 2013


>Number:         182885
>Category:       misc
>Synopsis:       sysutils/fusefs-zip fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 22:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN fusefs-zip.bak/Makefile fusefs-zip/Makefile
--- fusefs-zip.bak/Makefile	2013-10-11 02:00:57.000000000 +0400
+++ fusefs-zip/Makefile	2013-10-11 01:58:59.000000000 +0400
@@ -13,8 +13,7 @@
 LIB_DEPENDS=	zip:${PORTSDIR}/archivers/libzip
 BUILD_DEPENDS=	libzip>=0.11.1:${PORTSDIR}/archivers/libzip
 
-USE_GMAKE=	yes
-USES=		fuse pkgconfig
+USES=		gmake fuse pkgconfig
 
 PLIST_FILES=	bin/${PORTNAME}
 MAN1=		${PORTNAME}.1
diff -ruN fusefs-zip.bak/files/patch-Makefile fusefs-zip/files/patch-Makefile
--- fusefs-zip.bak/files/patch-Makefile	1970-01-01 03:00:00.000000000 +0300
+++ fusefs-zip/files/patch-Makefile	2013-10-11 01:19:59.000000000 +0400
@@ -0,0 +1,7 @@
+--- lib/Makefile.orig	2013-10-11 01:18:27.000000000 +0400
++++ lib/Makefile	2013-10-11 01:18:34.000000000 +0400
+@@ -1,3 +1,4 @@
++CXX=c++
+ DEST=fuse-zip
+ LIBS=$(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs) -Llib -lfusezip
+ LIB=lib/libfusezip.a
diff -ruN fusefs-zip.bak/files/patch-lib_Makefile fusefs-zip/files/patch-lib_Makefile
--- fusefs-zip.bak/files/patch-lib_Makefile	1970-01-01 03:00:00.000000000 +0300
+++ fusefs-zip/files/patch-lib_Makefile	2013-10-11 01:19:10.000000000 +0400
@@ -0,0 +1,7 @@
+--- Makefile.orig	2013-10-11 01:18:52.000000000 +0400
++++ Makefile	2013-10-11 01:18:59.000000000 +0400
+@@ -1,3 +1,4 @@
++CXX=c++
+ DEST=libfusezip.a
+ LIBS=$(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs)
+ CXXFLAGS=-g -O0 -Wall -Wextra
diff -ruN fusefs-zip.bak/files/patch-lib_bigBuffer.h fusefs-zip/files/patch-lib_bigBuffer.h
--- fusefs-zip.bak/files/patch-lib_bigBuffer.h	1970-01-01 03:00:00.000000000 +0300
+++ fusefs-zip/files/patch-lib_bigBuffer.h	2013-10-11 01:13:54.000000000 +0400
@@ -0,0 +1,10 @@
+--- lib/bigBuffer.h.orig	2013-10-11 01:12:58.000000000 +0400
++++ lib/bigBuffer.h	2013-10-11 01:13:02.000000000 +0400
+@@ -26,6 +26,7 @@
+ #include <unistd.h>
+ 
+ #include <vector>
++#include <string>
+ 
+ #include "types.h"
+ 


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list