[Pkg-wmaker-commits] [wmhdplop] 12/40: debian/patches/ldflags-to-ldadd.patch: Prevent undefined symbol error (LP: #995272).

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 17 11:10:11 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmhdplop.

commit ee41477083401282d7d0be824c481a05113291b0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Aug 11 00:50:34 2014 -0500

    debian/patches/ldflags-to-ldadd.patch: Prevent undefined symbol error
    (LP: #995272).
---
 debian/patches/ldflags-to-ldadd.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/ldflags-to-ldadd.patch b/debian/patches/ldflags-to-ldadd.patch
new file mode 100644
index 0000000..06679ef
--- /dev/null
+++ b/debian/patches/ldflags-to-ldadd.patch
@@ -0,0 +1,27 @@
+Description: Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile
+ This patch prevents a "undefined symbol: imlib_image_draw_pixel" error by
+ placing -lImlib2 after the *.o files during make.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/wmhdplop/+bug/995272
+Last-Update: 2014-08-11
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,6 +18,6 @@
+ 
+ gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
+ gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
+-gkhdplop_so_LDFLAGS=-shared $(IMLIB2_LIBS) -lm
++gkhdplop_so_LDADD=-shared $(IMLIB2_LIBS) -lm
+ 
+ all: @GKHDPLOP@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@
+ LIBTOOLSUX_GKHDPLOP_SRC = wmhdplop.c util.c util.h procstat.c procstat.h devnames.c devnames.h global.h dockapp_imlib2.c dockapp_imlib2.h gkrellm_hdplop.c
+ gkhdplop_so_SOURCES = $(LIBTOOLSUX_GKHDPLOP_SRC)
+ gkhdplop_so_CFLAGS = -DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
+-gkhdplop_so_LDFLAGS = -shared $(IMLIB2_LIBS) -lm
++gkhdplop_so_LDADD = -shared $(IMLIB2_LIBS) -lm
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 41c093d..23862e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-ftbfs-gcc-4.7-667415.patch
+ldflags-to-ldadd.patch

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



More information about the Pkg-wmaker-commits mailing list