pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/gkrellsun gkrellsun: Build and PKGLOCALEDIR fixes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f65e8730400f
branches:  trunk
changeset: 389965:f65e8730400f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 13:12:10 2022 +0000

description:
gkrellsun: Build and PKGLOCALEDIR fixes.

diffstat:

 misc/gkrellsun/Makefile                        |   5 +++--
 misc/gkrellsun/distinfo                        |   3 ++-
 misc/gkrellsun/patches/patch-src20_gkrellsun.c |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 18780dd946a4 -r f65e8730400f misc/gkrellsun/Makefile
--- a/misc/gkrellsun/Makefile   Tue Dec 13 13:05:49 2022 +0000
+++ b/misc/gkrellsun/Makefile   Tue Dec 13 13:12:10 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/10/26 10:31:42 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/13 13:12:10 jperkin Exp $
 DISTNAME=      gkrellsun-1.0.0
 PKGREVISION=   2
 CATEGORIES=    misc
@@ -9,7 +9,8 @@
 COMMENT=       GKrellM plugin to display sun rise and sun set times
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=    pkg-config gmake
+USE_PKGLOCALEDIR=      yes
+USE_TOOLS+=            pkg-config gmake
 
 .include "options.mk"
 
diff -r 18780dd946a4 -r f65e8730400f misc/gkrellsun/distinfo
--- a/misc/gkrellsun/distinfo   Tue Dec 13 13:05:49 2022 +0000
+++ b/misc/gkrellsun/distinfo   Tue Dec 13 13:12:10 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2021/11/27 12:33:20 pho Exp $
+$NetBSD: distinfo,v 1.2 2022/12/13 13:12:10 jperkin Exp $
 
 BLAKE2s (gkrellsun-1.0.0.tar.gz) = 29aebc2c39df47ce9b06a27882f2ba2b0853fa5c1504c01d3e735ba267a33e03
 SHA512 (gkrellsun-1.0.0.tar.gz) = 1a34812e94f16d19311c23d44a0353dade50b802dd3ab115738959b9322c3bc6a28daa2bcea889700e6cc2ff8eb9400b989bf02c6f138bb878b94118ffd6e27a
 Size (gkrellsun-1.0.0.tar.gz) = 96970 bytes
 SHA1 (patch-src20_Makefile) = aa82b3842f704ced762830bf65de5b69e368c78d
+SHA1 (patch-src20_gkrellsun.c) = 5361ecc6e27ca9407d7cfa02ab186554df7ba9c6
diff -r 18780dd946a4 -r f65e8730400f misc/gkrellsun/patches/patch-src20_gkrellsun.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/patches/patch-src20_gkrellsun.c    Tue Dec 13 13:12:10 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src20_gkrellsun.c,v 1.1 2022/12/13 13:12:10 jperkin Exp $
+
+Avoid "sun" conflict.
+
+--- src20/gkrellsun.c.orig     2006-03-17 13:29:51.000000000 +0000
++++ src20/gkrellsun.c
+@@ -16,6 +16,10 @@ time_t* CurrentTime;
+ 
+ #include <math.h>
+ 
++#ifdef __sun
++#undef sun
++#endif
++
+ /* splint */
+ extern gchar* g_string_free (/*@only@*/ GString *, gboolean);
+ extern void pango_font_description_free (/*@owned@*/PangoFontDescription *);



Home | Main Index | Thread Index | Old Index