Accepting request 228248 from home:badshah400:branches:devel:languages:tcl
Add patch to fix pkgconfig file. OBS-URL: https://build.opensuse.org/request/show/228248 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=43
This commit is contained in:
parent
83a30e2ce0
commit
ec35fe683c
12
tk-fix-pkgconfig-file.patch
Normal file
12
tk-fix-pkgconfig-file.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
https://core.tcl.tk/tcl/tktview?name=5bcb5026ad51abb7
|
||||||
|
Index: tk8.6.1/unix/tk.pc.in
|
||||||
|
===================================================================
|
||||||
|
--- tk8.6.1.orig/unix/tk.pc.in
|
||||||
|
+++ tk8.6.1/unix/tk.pc.in
|
||||||
|
@@ -11,5 +11,5 @@ URL: http://www.tcl.tk/
|
||||||
|
Version: @TK_VERSION@
|
||||||
|
Requires:
|
||||||
|
Conflicts:
|
||||||
|
-Libs: -L${libdir} @TK_LIBS@
|
||||||
|
+Libs: -L${libdir} @TK_LIB_FLAG@
|
||||||
|
Cflags: -I${includedir}
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 31 02:35:59 UTC 2014 - badshah400@gmail.com
|
||||||
|
|
||||||
|
- Add tk-fix-pkgconfig-file.patch to fix undefined linker flag
|
||||||
|
(@TK_LIBS@) in tk.pc pkgconfig file; patch sent upstream, see
|
||||||
|
https://core.tcl.tk/tcl/tktview?name=5bcb5026ad51abb7 .
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 22 12:46:56 UTC 2013 - sndirsch@suse.com
|
Tue Oct 22 12:46:56 UTC 2013 - sndirsch@suse.com
|
||||||
|
|
||||||
|
5
tk.spec
5
tk.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tk
|
# spec file for package tk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -52,6 +52,8 @@ Source2: baselibs.conf
|
|||||||
Source3: http://tkcon.cvs.sourceforge.net/tkcon/tkcon/tkcon.tcl
|
Source3: http://tkcon.cvs.sourceforge.net/tkcon/tkcon/tkcon.tcl
|
||||||
Patch0: %name.patch
|
Patch0: %name.patch
|
||||||
Patch1: tk-8.5.12-fix-xft.patch
|
Patch1: tk-8.5.12-fix-xft.patch
|
||||||
|
# PATCH-FIX-UPSTREAM tk-fix-pkgconfig-file.patch badshah400@gmail.com -- Fix undefined token (@TK_LIBS@) in linker flag in pkgconfig file; patch sent upstream
|
||||||
|
Patch2: tk-fix-pkgconfig-file.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tk is a graphical user interface toolkit that takes developing desktop
|
Tk is a graphical user interface toolkit that takes developing desktop
|
||||||
@ -99,6 +101,7 @@ Authors:
|
|||||||
%setup -q -n %name%version
|
%setup -q -n %name%version
|
||||||
%patch0
|
%patch0
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd unix
|
cd unix
|
||||||
|
Loading…
Reference in New Issue
Block a user