Accepting request 230373 from devel:languages:tcl

Add patch to fix pkgconfig file. (forwarded request 228248 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/230373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tk?expand=0&rev=34
This commit is contained in:
Stephan Kulow
2014-04-23 15:28:09 +00:00
committed by Git OBS Bridge
3 changed files with 23 additions and 1 deletions

View 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}

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
Patch0: %name.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
Tk is a graphical user interface toolkit that takes developing desktop
@@ -99,6 +101,7 @@ Authors:
%setup -q -n %name%version
%patch0
%patch1 -p1
%patch2 -p1
%build
cd unix