Hi ports --

Attached is an update to x11/sakura, bringing it to its latest version.
Sakura requires a C99 compiler now, and gcc-4.2.1 complains if -std=c99
is not issued, so repurpose the sed line in pre-configure from removing
a hardcoded -O2 to replacing it with -std=c99.
Take back maintainer.

~Brian

? sakura-340.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/sakura/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile    8 Nov 2016 14:39:57 -0000       1.18
+++ Makefile    6 Jun 2017 00:12:17 -0000
@@ -1,18 +1,18 @@
 # $OpenBSD: Makefile,v 1.18 2016/11/08 14:39:57 sthen Exp $
 
-V =            3.3.4
+V =            3.4.0
 COMMENT =      GTK and VTE based terminal emulator
 DISTNAME =     sakura-${V}
-REVISION =     1
 EXTRACT_SUFX = .tar.bz2
 CATEGORIES =   x11
 
 HOMEPAGE =     http://www.pleyades.net/david/projects/sakura/
+MAINTAINER =   Brian Callahan <[email protected]>
 
 # GPLv2 only
 PERMIT_PACKAGE_CDROM =         Yes
 
-WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
+WANTLIB += X11 atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gnutls gobject-2.0 gtk-3 intl m pango-1.0
 WANTLIB += pangocairo-1.0 pcre2-8 vte-2.91 z
 
@@ -30,7 +30,7 @@ RUN_DEPENDS = devel/desktop-file-utils
 NO_TEST =      Yes
 
 pre-configure:
-       sed -i -e 's,-O2,,g' -e 's,share/man,man,g' \
+       sed -i -e 's,-O2,-std=c99,g' -e 's,share/man,man,g' \
                ${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/sakura/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo    27 Feb 2016 12:35:43 -0000      1.10
+++ distinfo    6 Jun 2017 00:12:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (sakura-3.3.4.tar.bz2) = JydyFJZIUfoj7MKQ8Orjka89ESeexCdp2Ep74f7M07o=
-SIZE (sakura-3.3.4.tar.bz2) = 52839
+SHA256 (sakura-3.4.0.tar.bz2) = BEh1EQSdWWhW1wDVJMM1RhDHyq6LuHujwWhRNW0/QO4=
+SIZE (sakura-3.4.0.tar.bz2) = 54907

Reply via email to