rpms/openvrml/devel openvrml-player-visibility.patch, 1.2, 1.3 openvrml.spec, 1.66, 1.67
Braden McDaniel
braden at fedoraproject.org
Mon Jul 13 08:07:39 UTC 2009
Author: braden
Update of /cvs/pkgs/rpms/openvrml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1457
Modified Files:
openvrml.spec
Added Files:
openvrml-player-visibility.patch
Log Message:
Patch openvrml-player to fix symbol visibility.
openvrml-player-visibility.patch:
Index: openvrml-player-visibility.patch
===================================================================
RCS file: openvrml-player-visibility.patch
diff -N openvrml-player-visibility.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openvrml-player-visibility.patch 13 Jul 2009 08:07:39 -0000 1.3
@@ -0,0 +1,42 @@
+Index: src/openvrml-player/filechooserdialog.h
+===================================================================
+--- src/openvrml-player/filechooserdialog.h (revision 3960)
++++ src/openvrml-player/filechooserdialog.h (working copy)
+@@ -21,6 +21,7 @@
+ # define OPENVRML_PLAYER_FILE_CHOOSER_DIALOG_H
+
+ # include <gtk/gtkfilechooserdialog.h>
++# include <openvrml-config.h>
+
+ G_BEGIN_DECLS
+
+@@ -42,7 +43,7 @@
+ GtkFileChooserDialog parent_instance;
+ };
+
+-GType openvrml_player_file_chooser_dialog_get_type() G_GNUC_CONST;
++OPENVRML_API GType openvrml_player_file_chooser_dialog_get_type() G_GNUC_CONST;
+
+ G_END_DECLS
+
+Index: src/openvrml-player/curlbrowserhost.h
+===================================================================
+--- src/openvrml-player/curlbrowserhost.h (revision 3960)
++++ src/openvrml-player/curlbrowserhost.h (working copy)
+@@ -21,6 +21,7 @@
+
+ # include <dbus/dbus-glib.h>
+ # include <gtk/gtksocket.h>
++# include <openvrml-config.h>
+
+ # define OPENVRML_PLAYER_TYPE_CURL_BROWSER_HOST (openvrml_player_curl_browser_host_get_type())
+ # define OPENVRML_PLAYER_CURL_BROWSER_HOST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), OPENVRML_PLAYER_TYPE_CURL_BROWSER_HOST, OpenvrmlPlayerCurlBrowserHost))
+@@ -46,7 +47,7 @@
+ gchar * host_name;
+ };
+
+-GType openvrml_player_curl_browser_host_get_type();
++OPENVRML_API GType openvrml_player_curl_browser_host_get_type();
+
+ void
+ openvrml_player_curl_browser_host_load_url(OpenvrmlPlayerCurlBrowserHost * host,
Index: openvrml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openvrml/devel/openvrml.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- openvrml.spec 9 Jul 2009 17:37:33 -0000 1.66
+++ openvrml.spec 13 Jul 2009 08:07:39 -0000 1.67
@@ -1,11 +1,12 @@
# -*- rpm-spec -*-
Name: openvrml
Version: 0.18.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: VRML/X3D runtime library
License: LGPLv3+
Group: System Environment/Libraries
Source: http://downloads.sourceforge.net/openvrml/%{name}-%{version}.tar.gz
+Patch: openvrml-player-visibility.patch
URL: http://openvrml.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig >= 0.18.0
@@ -100,6 +101,8 @@ BuildArch: noarch
%prep
%setup
+%patch
+
%build
CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden -Wno-missing-braces"
%configure --disable-static --enable-exception-specs=nothrow --disable-examples CPPFLAGS="-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -DNDEBUG" JAVA_HOME=/usr/lib/jvm/jre
@@ -190,6 +193,9 @@ CXXFLAGS="%optflags -fvisibility=hidden
%{_javadocdir}/%{name}-%{version}
%changelog
+* Mon Jul 13 2009 Braden McDaniel <braden at endoframe.com> - 0.18.2-2
+- Patch openvrml-player to fix symbol visibility.
+
* Thu Jul 09 2009 Braden McDaniel <braden at endoframe.com>
- Made doc subpackage noarch.
More information about the fedora-extras-commits
mailing list