[packages/wxWidgets] - make wxGetRootWindow symbol visible in library (for audacity) - rel 3
baggins
baggins at pld-linux.org
Sun Jan 19 18:27:18 CET 2014
commit 528134dea8b488cd2ac158f025a9c93eb0b28720
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 19 18:26:50 2014 +0100
- make wxGetRootWindow symbol visible in library (for audacity)
- rel 3
export-wxGetRootWindow.patch | 11 +++++++++++
wxWidgets.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/wxWidgets.spec b/wxWidgets.spec
index 26e22db..fe002f1 100644
--- a/wxWidgets.spec
+++ b/wxWidgets.spec
@@ -12,7 +12,7 @@ Summary(pl.UTF-8): Biblioteka wxWidgets
Name: wxWidgets
%define majver 3.0
Version: 3.0.0
-Release: 2
+Release: 3
License: wxWindows Library Licence 3.1 (LGPL v2+ with exception)
Group: X11/Libraries
Source0: http://downloads.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2
@@ -20,6 +20,7 @@ Source0: http://downloads.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2
Patch0: %{name}-samples.patch
Patch1: %{name}-ac.patch
Patch2: %{name}-link.patch
+Patch3: export-wxGetRootWindow.patch
URL: http://www.wxWidgets.org/
BuildRequires: OpenGL-GLU-devel
#BuildRequires: SDL-devel
@@ -459,6 +460,7 @@ obsługą UNICODE.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__rm} build/aclocal/bakefile*.m4
diff --git a/export-wxGetRootWindow.patch b/export-wxGetRootWindow.patch
new file mode 100644
index 0000000..3dddae4
--- /dev/null
+++ b/export-wxGetRootWindow.patch
@@ -0,0 +1,11 @@
+--- wxWidgets-3.0.0/src/gtk/app.cpp~ 2013-11-11 14:10:39.000000000 +0100
++++ wxWidgets-3.0.0/src/gtk/app.cpp 2014-01-19 16:44:33.612093277 +0100
+@@ -168,7 +168,7 @@
+ // Access to the root window global
+ //-----------------------------------------------------------------------------
+
+-GtkWidget* wxGetRootWindow()
++WXDLLIMPEXP_CORE GtkWidget* wxGetRootWindow()
+ {
+ static GtkWidget *s_RootWindow = NULL;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/528134dea8b488cd2ac158f025a9c93eb0b28720
More information about the pld-cvs-commit
mailing list