Friday, June 26, 2020

[sparc64/base-gcc] Fix build of sysutils/usmb

This patch drops -Werror from the build because all the deprecation
warnings for glib-2.0 make the build abort. It fixes the build on
sparc64.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/usmb/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 12 Jul 2019 20:49:54 -0000 1.10
+++ Makefile 9 Nov 2019 10:20:29 -0000
@@ -3,7 +3,7 @@
COMMENT= mount SMB shares from userland via FUSE

DISTNAME= usmb-20130204
-REVISION= 6
+REVISION= 7

CATEGORIES= sysutils

Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/sysutils/usmb/patches/patch-Makefile_in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-Makefile_in
--- patches/patch-Makefile_in 5 Jun 2014 15:40:09 -0000 1.1.1.1
+++ patches/patch-Makefile_in 9 Nov 2019 10:20:29 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2014/06/05 15:40:09 sthen Exp $
---- Makefile.in.orig Mon Feb 4 19:32:17 2013
-+++ Makefile.in Tue Jun 3 10:36:28 2014
-@@ -22,7 +22,7 @@ prefix = ${DESTDIR}@prefix@
+Index: Makefile.in
+--- Makefile.in.orig
++++ Makefile.in
+@@ -22,10 +22,10 @@ prefix = ${DESTDIR}@prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datarootdir = @datarootdir@
@@ -9,7 +10,11 @@
+mandir = ${DESTDIR}@mandir@
man1dir = $(mandir)/man1

- CFLAGS = @CFLAGS@ -I@srcdir@ -I@builddir@ -Werror
+-CFLAGS = @CFLAGS@ -I@srcdir@ -I@builddir@ -Werror
++CFLAGS = @CFLAGS@ -I@srcdir@ -I@builddir@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+
@@ -65,7 +65,7 @@ install-strip: STRIPFLAGS = -s
install install-strip: $(PROGRAM)
@MKDIR_P@ $(bindir) $(man1dir)

No comments:

Post a Comment