pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/tint2 tint2: SunOS build fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f64a9e801075
branches:  trunk
changeset: 376704:f64a9e801075
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 12 13:47:10 2022 +0000

description:
tint2: SunOS build fixes

diffstat:

 x11/tint2/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6f491513fbad -r f64a9e801075 x11/tint2/Makefile
--- a/x11/tint2/Makefile        Tue Apr 12 13:45:58 2022 +0000
+++ b/x11/tint2/Makefile        Tue Apr 12 13:47:10 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2022/03/11 21:33:34 tnn Exp $
+# $NetBSD: Makefile,v 1.61 2022/04/12 13:47:10 tnn Exp $
 
 DISTNAME=              tint2-v17.0.2
 PKGNAME=               ${DISTNAME:S/-v/-/}
@@ -24,6 +24,9 @@
 CMAKE_ARGS.Linux=      -DENABLE_BATTERY=ON
 CMAKE_ARGS.*=          -DENABLE_BATTERY=OFF
 
+CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+CFLAGS.SunOS+=         -Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
                ${DESTDIR}${PREFIX}/share/examples/tint2



Home | Main Index | Thread Index | Old Index