pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/gtkmagnetic games/gtkmagnetic: Fix indirect link...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ba2578a6f76
branches:  trunk
changeset: 603928:2ba2578a6f76
user:      marino <marino%pkgsrc.org@localhost>
date:      Wed May 16 22:02:19 2012 +0000

description:
games/gtkmagnetic: Fix indirect linking (affects all platforms)

The patch causes libm to be directly linked for all platforms.
There was no easy way to limit it to only DragonFly.

diffstat:

 games/gtkmagnetic/distinfo               |   3 ++-
 games/gtkmagnetic/patches/patch-Makefile |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 8a54a40fd97d -r 2ba2578a6f76 games/gtkmagnetic/distinfo
--- a/games/gtkmagnetic/distinfo        Wed May 16 20:41:08 2012 +0000
+++ b/games/gtkmagnetic/distinfo        Wed May 16 22:02:19 2012 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/04/19 09:51:27 dillo Exp $
+$NetBSD: distinfo,v 1.4 2012/05/16 22:02:19 marino Exp $
 
 SHA1 (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 86f58240f6fc34125ddbd4cd6a0b82cdc5e5e643
 RMD160 (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 7926ef8ad49e971dbb0bd9c1be093acbf94aabe8
 Size (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 395601 bytes
+SHA1 (patch-Makefile) = de04d80daa10d740fb45cc7c1879b94ccfc4618e
diff -r 8a54a40fd97d -r 2ba2578a6f76 games/gtkmagnetic/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/gtkmagnetic/patches/patch-Makefile  Wed May 16 22:02:19 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2012/05/16 22:02:19 marino Exp $
+
+--- Makefile.orig      2012-05-16 21:04:23.000000000 +0000
++++ Makefile
+@@ -69,7 +69,7 @@ endif
+ 
+ #######################################################################
+ 
+-LIBS = $(GTK_LIBS) $(SOUND_LIBS)
++LIBS = $(GTK_LIBS) $(SOUND_LIBS) -lm
+ 
+ gtkmagnetic: $(OBJS)
+       $(CC) -o gtkmagnetic $(OBJS) $(LIBS)



Home | Main Index | Thread Index | Old Index