[Pkg-electronics-commits] [gwave] 12/12: fix_indirect_linking.diff atch: add -lm to gwave_LDADD

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Mon Oct 9 15:29:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

aelmahmoudy-guest pushed a commit to branch master
in repository gwave.

commit 46f857e2f455cdfb755404b05d7151fd1281dfde
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Mon Oct 9 04:50:47 2017 +0200

    fix_indirect_linking.diff atch: add -lm to gwave_LDADD
---
 debian/patches/fix_indirect_linking.diff | 34 ++++++++------------------------
 1 file changed, 8 insertions(+), 26 deletions(-)

diff --git a/debian/patches/fix_indirect_linking.diff b/debian/patches/fix_indirect_linking.diff
index d714977..92e25b5 100644
--- a/debian/patches/fix_indirect_linking.diff
+++ b/debian/patches/fix_indirect_linking.diff
@@ -1,34 +1,16 @@
-Description: Provide -lX11 when linking gwave, gwave-exec & gwave-repl
+Description: Provide -lm when linking gwave
 Bug: https://sourceforge.net/p/gwave/bugs/4/
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554762
-Forwarded: https://sourceforge.net/p/gwave/bugs/_discuss/thread/a51ed87d/3541/attachment/fix_indirect_linking.diff
 Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
-Index: gwave/remote/Makefile.in
+Index: gwave/src/Makefile.am
 ===================================================================
---- gwave.orig/remote/Makefile.in	2017-10-09 03:26:35.782444107 +0200
-+++ gwave/remote/Makefile.in	2017-10-09 03:26:35.738443930 +0200
-@@ -172,9 +172,9 @@
- EXTRA_DIST = README
- AM_CFLAGS = @GTK_CFLAGS@ 
- gwave_exec_SOURCES = gwave-exec.c xgclient.c xgexec.h
--gwave_exec_LDADD = @GTK_LIBS@
-+gwave_exec_LDADD = @GTK_LIBS@ -lX11
- gwaverepl_SOURCES = gwaverepl.c xgclient.c xgexec.h repllib.c
--gwaverepl_LDADD = @GTK_LIBS@ @READLINE_LIB@
-+gwaverepl_LDADD = @GTK_LIBS@ @READLINE_LIB@ -lX11
- all: all-am
- 
- .SUFFIXES:
-Index: gwave/src/Makefile.in
-===================================================================
---- gwave.orig/src/Makefile.in	2017-10-09 03:26:35.782444107 +0200
-+++ gwave/src/Makefile.in	2017-10-09 03:26:35.742443947 +0200
-@@ -221,7 +221,7 @@
+--- gwave.orig/src/Makefile.am	2017-10-09 03:23:05.517602252 +0200
++++ gwave/src/Makefile.am	2017-10-09 04:48:49.378197115 +0200
+@@ -15,7 +15,7 @@
  	rgeval.c xgserver.c measurebtn.c measurebtn.h \
  	GtkTable_indel.c GtkTable_indel.h  xsnarf.h
  
 -gwave_LDADD = ../spicefile/libspicefile.a  @GTK_LIBS@ @GUILE_GNOME_LIBS@ 
-+gwave_LDADD = ../spicefile/libspicefile.a  @GTK_LIBS@ @GUILE_GNOME_LIBS@ -lX11 -lm
- gwave_LDFLAGS = @GUILE_LDFLAGS@
++gwave_LDADD = ../spicefile/libspicefile.a  @GTK_LIBS@ @GUILE_GNOME_LIBS@ -lm
+ gwave_LDFLAGS =  @GUILE_LDFLAGS@
+ 
  AM_CFLAGS = @GTK_CFLAGS@ @GUILE_CFLAGS@ @GUILE_GNOME_CFLAGS@ \
- 	-DDATADIR=\"$(datadir)\" -DBINGWAVE=\"$(bindir)/gwave\"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gwave.git



More information about the Pkg-electronics-commits mailing list