[gkrellm-timestamp/f17] fix LFLAGS

Tom Callaway spot at fedoraproject.org
Mon Mar 5 19:05:00 UTC 2012


commit c871f4505e6eca9b85be68deeb3e530d1c8e423a
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Mar 5 14:04:46 2012 -0500

    fix LFLAGS

 gkrellm-timestamp-0.1.4-LFLAGS-fix.patch |   12 ++++++++++++
 gkrellm-timestamp.spec                   |    2 ++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gkrellm-timestamp-0.1.4-LFLAGS-fix.patch b/gkrellm-timestamp-0.1.4-LFLAGS-fix.patch
new file mode 100644
index 0000000..3e72485
--- /dev/null
+++ b/gkrellm-timestamp-0.1.4-LFLAGS-fix.patch
@@ -0,0 +1,12 @@
+diff -up gkrellm-timestamp-0.1.4/Makefile.fix gkrellm-timestamp-0.1.4/Makefile
+--- gkrellm-timestamp-0.1.4/Makefile.fix	2012-03-05 13:41:04.774466592 -0500
++++ gkrellm-timestamp-0.1.4/Makefile	2012-03-05 14:00:47.716503192 -0500
+@@ -6,7 +6,7 @@ PLUGIN_DIR = $(HOME)/.gkrellm2/plugins
+ 
+ CC = gcc $(FLAGS)
+ FLAGS = -fPIC $(GKRELLM_INCLUDE) $(GTK_INCLUDE)
+-LFLAGS = -shared -Wl
++LFLAGS = -shared
+ INSTALL = install -c
+ 
+ PACKAGE = timestamp
diff --git a/gkrellm-timestamp.spec b/gkrellm-timestamp.spec
index d767a50..ccebb5a 100644
--- a/gkrellm-timestamp.spec
+++ b/gkrellm-timestamp.spec
@@ -7,6 +7,7 @@ License:        GPLv2+
 URL:            http://arnhold.org/~thomas/projects/gkrellm-timestamp/
 Source0:        http://arnhold.org/~thomas/projects/gkrellm-timestamp/%{name}-%{version}.tar.bz2
 Patch0:         gkrellm-timestamp-0.1.4-makefile.patch
+Patch1:         gkrellm-timestamp-0.1.4-LFLAGS-fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gkrellm-devel
@@ -21,6 +22,7 @@ shows the current UNIX timestamp like the default clock.
 
 touch -r Makefile Makefile.stamp
 %patch0
+%patch1 -p1
 touch -r Makefile.stamp Makefile
 
 %build


More information about the scm-commits mailing list