rpms/pyxf86config/devel fix-errorf-visibility.patch, NONE, 1.1 pyxf86config.spec, 1.53, 1.54
Dave Airlie
airlied at fedoraproject.org
Fri Aug 7 00:58:46 UTC 2009
Author: airlied
Update of /cvs/pkgs/rpms/pyxf86config/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27247
Modified Files:
pyxf86config.spec
Added Files:
fix-errorf-visibility.patch
Log Message:
* Fri Aug 07 2009 Dave Airlie <airlied at redhat.com> 0.3.37-6
- fix ErrorF/VErrorF symbol visibility - hacky but should do for now
fix-errorf-visibility.patch:
xf86config_ext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE fix-errorf-visibility.patch ---
diff -up pyxf86config-0.3.37/xf86config_ext.c.da pyxf86config-0.3.37/xf86config_ext.c
--- pyxf86config-0.3.37/xf86config_ext.c.da 2009-08-07 10:57:05.000000000 +1000
+++ pyxf86config-0.3.37/xf86config_ext.c 2009-08-07 10:57:07.000000000 +1000
@@ -213,7 +213,7 @@ xf86freeVendor (XF86ConfVendorPtr p)
}
void
-ErrorF(const char *format, ...)
+__attribute__((visibility("default"))) ErrorF(const char *format, ...)
{
gchar *buffer;
va_list args;
@@ -226,7 +226,7 @@ ErrorF(const char *format, ...)
}
void
-VErrorF(const char *format, va_list args)
+__attribute__((visibility("default"))) VErrorF(const char *format, va_list args)
{
gchar *buffer;
Index: pyxf86config.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyxf86config/devel/pyxf86config.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -p -r1.53 -r1.54
--- pyxf86config.spec 27 Jul 2009 01:39:29 -0000 1.53
+++ pyxf86config.spec 7 Aug 2009 00:58:46 -0000 1.54
@@ -1,7 +1,7 @@
Summary: Python wrappers for libxf86config
Name: pyxf86config
Version: 0.3.37
-Release: 5%{?dist}
+Release: 6%{?dist}
URL: http://fedoraproject.org/wiki/pyxf86config
Source0: http://ajax.fedorapeople.org/%{name}/%{name}-%{version}.tar.bz2
License: GPLv2
@@ -12,6 +12,7 @@ BuildRequires: libX11-devel
BuildRequires: python-devel
BuildRequires: libxf86config-devel >= 1.3.0.0-26
+Patch0: fix-errorf-visibility.patch
ExcludeArch: s390 s390x
%description
@@ -20,6 +21,7 @@ It is used to read and write X server co
%prep
%setup -q
+%patch0 -p1 -b .symbol
%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
@@ -42,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Aug 07 2009 Dave Airlie <airlied at redhat.com> 0.3.37-6
+- fix ErrorF/VErrorF symbol visibility - hacky but should do for now
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.37-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the fedora-extras-commits
mailing list