add a small patch
This commit is contained in:
parent
fed910527a
commit
e30aa2b332
2 changed files with 13 additions and 1 deletions
10
tzclock-2.6.1-implicit-declaration.patch
Normal file
10
tzclock-2.6.1-implicit-declaration.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- tzclock-2.6.1/src/screenSize.c.debug 2007-09-30 02:54:23.000000000 +0900
|
||||
+++ tzclock-2.6.1/src/screenSize.c 2008-04-11 02:16:05.000000000 +0900
|
||||
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <gdk/gdk.h>
|
||||
+#include <gtk/gtkmain.h>
|
||||
|
||||
/*----------------------------------------------------------------------------------------------------*
|
||||
* *
|
||||
|
|
@ -7,6 +7,7 @@ Group: Amusements/Graphics
|
|||
License: GPLv2
|
||||
URL: http://www.tzclock.org/
|
||||
Source0: http://www.tzclock.org/releases/%{name}-%{version}.tar.gz
|
||||
Patch0: tzclock-2.6.1-implicit-declaration.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libgnomeui-devel
|
||||
|
|
@ -22,6 +23,7 @@ plus there are many other nice features for you to discover.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .def
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
|
@ -67,7 +69,7 @@ desktop-file-install \
|
|||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.6.1-1
|
||||
* Fri Apr 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.6.1-2
|
||||
- 2.6.1
|
||||
|
||||
* Sat Feb 9 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue