[drwright] helps to apply the patch
Matthias Clasen
mclasen at fedoraproject.org
Wed Oct 19 12:16:48 UTC 2011
commit 0f2d57636279169bcbc4be0dda5470b13b5f61eb
Author: Matthias Clasen <mclasen at redhat.com>
Date: Wed Oct 19 08:16:16 2011 -0400
helps to apply the patch
drwright-libs.patch | 16 ++++------------
drwright.spec | 4 ++++
2 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/drwright-libs.patch b/drwright-libs.patch
index f46d7a2..de4b58f 100644
--- a/drwright-libs.patch
+++ b/drwright-libs.patch
@@ -1,7 +1,7 @@
-diff -up drwright-3.2.1/src/Makefile.in.lm drwright-3.2.1/src/Makefile.in
---- drwright-3.2.1/src/Makefile.in.lm 2011-10-19 07:43:42.540842095 -0400
-+++ drwright-3.2.1/src/Makefile.in 2011-10-19 08:01:15.098804472 -0400
-@@ -339,6 +339,7 @@ gnome_typing_monitor_CFLAGS = \
+diff -up drwright-3.2.1/src/Makefile.am.lm drwright-3.2.1/src/Makefile.am
+--- drwright-3.2.1/src/Makefile.am.lm 2011-10-19 08:13:05.015779093 -0400
++++ drwright-3.2.1/src/Makefile.am 2011-10-19 08:13:15.767778708 -0400
+@@ -30,6 +30,7 @@ gnome_typing_monitor_CFLAGS = \
gnome_typing_monitor_LDADD = \
$(TYPING_LIBS) \
$(SCREENSAVER_LIBS) \
@@ -9,11 +9,3 @@ diff -up drwright-3.2.1/src/Makefile.in.lm drwright-3.2.1/src/Makefile.in
$(INTLLIBS)
imagedir = $(pkgdatadir)/pixmaps
-@@ -379,6 +380,7 @@ libtyping_break_la_LDFLAGS = \
-
- libtyping_break_la_LIBADD = \
- $(GSD_PLUGIN_LIBS) \
-+ -lm \
- $(INTLLIBS)
-
- gsd_plugin_in_files = \
diff --git a/drwright.spec b/drwright.spec
index faf5dde..da07fb3 100644
--- a/drwright.spec
+++ b/drwright.spec
@@ -20,12 +20,16 @@ BuildRequires: libXScrnSaver-devel
BuildRequires: libSM-devel
BuildRequires: desktop-file-utils
BuildRequires: intltool
+BuildRequires: autoconf automake libtool
%description
%{summary}.
%prep
%setup -q
+%patch0 -p1
+
+autoreconf -i -f
%build
%configure --disable-static
More information about the scm-commits
mailing list