pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk2+extra gtk2+extra: Ensure _sqrt()...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e90db6164844
branches:  trunk
changeset: 308161:e90db6164844
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 17 10:47:52 2018 +0000

description:
gtk2+extra: Ensure _sqrt() is static.

diffstat:

 x11/gtk2+extra/distinfo                                |   3 ++-
 x11/gtk2+extra/patches/patch-gtkextra_gtkplotsurface.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 86ba10b30db1 -r e90db6164844 x11/gtk2+extra/distinfo
--- a/x11/gtk2+extra/distinfo   Thu May 17 10:45:34 2018 +0000
+++ b/x11/gtk2+extra/distinfo   Thu May 17 10:47:52 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 03:28:31 agc Exp $
+$NetBSD: distinfo,v 1.10 2018/05/17 10:47:52 jperkin Exp $
 
 SHA1 (gtk+extra-2.1.2.tar.gz) = 1b6cccbf89a79c8fe551d77c84dbf21a82c69f07
 RMD160 (gtk+extra-2.1.2.tar.gz) = e14bfc2a055fdef0d037b494018ca25047cc3c9e
@@ -10,3 +10,4 @@
 SHA1 (patch-af) = 4d83e4859aa4377cae55cdccc4b3a2c774d32a9a
 SHA1 (patch-ag) = c4c50b3f73177de6d9f31190f013cd05fed41518
 SHA1 (patch-gtkextra_gtkcharsel_c) = eec527bb8560eb957a80a6425e7f2df7d1f6ea79
+SHA1 (patch-gtkextra_gtkplotsurface.c) = 59eb81742a41f943c14ead8b300a9425344128b8
diff -r 86ba10b30db1 -r e90db6164844 x11/gtk2+extra/patches/patch-gtkextra_gtkplotsurface.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk2+extra/patches/patch-gtkextra_gtkplotsurface.c    Thu May 17 10:47:52 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-gtkextra_gtkplotsurface.c,v 1.1 2018/05/17 10:47:52 jperkin Exp $
+
+Ensure _sqrt is static.
+
+--- gtkextra/gtkplotsurface.c.orig     2006-10-23 23:15:17.000000000 +0000
++++ gtkextra/gtkplotsurface.c
+@@ -99,7 +99,7 @@ enum {
+ static GtkPlotDataClass *parent_class = NULL;
+ 
+ /* "stolen" from 3dgpl */
+-inline gulong _sqrt(register gulong arg)
++static inline gulong _sqrt(register gulong arg)
+ { 
+    register gint i;
+    register gulong nprd,msk=0x8000L,val=0,prd=0;



Home | Main Index | Thread Index | Old Index