rpms/xorg-x11-drv-amd/devel amd-build-fix.patch, NONE, 1.1 amd-visibility.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 xorg-x11-drv-amd.spec, 1.10, 1.11

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Oct 12 20:20:48 UTC 2006


Author: ajackson

Update of /cvs/dist/rpms/xorg-x11-drv-amd/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14846/devel

Modified Files:
	.cvsignore sources xorg-x11-drv-amd.spec 
Added Files:
	amd-build-fix.patch amd-visibility.patch 
Log Message:
auto-import xorg-x11-drv-amd-0.0-7.20061012git.fc6 on branch devel from xorg-x11-drv-amd-0.0-7.20061012git.fc6.src.rpm

amd-build-fix.patch:
 amd_lx_accel.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE amd-build-fix.patch ---
--- xf86-video-amd/src/amd_lx_accel.c.jx	2006-10-06 13:25:01.000000000 -0400
+++ xf86-video-amd/src/amd_lx_accel.c	2006-10-12 16:13:32.000000000 -0400
@@ -35,6 +35,8 @@
 #include "config.h"
 #endif
 
+#include <sys/types.h>
+
 /* Xfree86 header files */
 
 #include "vgaHW.h"

amd-visibility.patch:
 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+)

--- NEW FILE amd-visibility.patch ---
--- xf86-video-amd/configure.ac.visibility	2006-08-21 15:01:34.000000000 -0400
+++ xf86-video-amd/configure.ac	2006-10-06 14:38:26.000000000 -0400
@@ -54,6 +54,12 @@
 	      [ ], 
 	      [ AMD_CFLAGS="-DPNL_SUP $AMD_CFLAGS" ])
 
+AC_ARG_ENABLE(visibility,
+	      AC_HELP_STRING([--enable-visibility],
+			     [Enable GCC visibility optimizations]),
+			     [ AMD_CFLAGS="$AMD_CFLAGS -fvisibility=hidden" ],
+			     [ : ])
+
 # Checks for extensions
 XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
 XORG_DRIVER_CHECK_EXT(RENDER, renderproto)


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-drv-amd/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	21 Aug 2006 19:05:52 -0000	1.5
+++ .cvsignore	12 Oct 2006 20:20:46 -0000	1.6
@@ -1 +1 @@
-xf86-video-amd-0.0-git20060821.tar.bz2
+xf86-video-amd-0.0-git20061012.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-drv-amd/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	21 Aug 2006 19:05:52 -0000	1.5
+++ sources	12 Oct 2006 20:20:46 -0000	1.6
@@ -1 +1 @@
-5f9c1dbf1088120175e3b2b7d6265010  xf86-video-amd-0.0-git20060821.tar.bz2
+b2d84c7f07a248b9900217f9f625d3c1  xf86-video-amd-0.0-git20061012.tar.bz2


Index: xorg-x11-drv-amd.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-drv-amd/devel/xorg-x11-drv-amd.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xorg-x11-drv-amd.spec	21 Aug 2006 19:05:52 -0000	1.10
+++ xorg-x11-drv-amd.spec	12 Oct 2006 20:20:46 -0000	1.11
@@ -2,12 +2,12 @@
 %define moduledir %(pkg-config xorg-server --variable=moduledir )
 %define driverdir	%{moduledir}/drivers
 
-%define gitdate 20060821
+%define gitdate 20061012
 
 Summary:   Xorg X11 AMD Geode video driver
 Name:      xorg-x11-drv-amd
 Version:   0.0
-Release:   5.%{gitdate}git%{?dist}
+Release:   7.%{gitdate}git%{?dist}
 URL:       http://git.infradead.org/?p=users/jcrouse/xf86-video-amd.git
 Source0:    xf86-video-amd-0.0-git%{gitdate}.tar.bz2
 #Source1:   amd.xinf
@@ -15,6 +15,9 @@
 Group:     User Interface/X Hardware Support
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch0: amd-visibility.patch
+Patch1: amd-build-fix.patch
+
 ExclusiveArch: %{ix86}
 
 BuildRequires: pkgconfig
@@ -41,9 +44,12 @@
 %prep
 #%setup -q -n %{tarball}-%{version}
 %setup -q -n %{tarball}
+%patch0 -p1 -b .visibility
+%patch1 -p1 -b .jx
 
 %build
-./autogen.sh --disable-static --libdir=%{_libdir} --mandir=%{_mandir}
+./autogen.sh --disable-static --libdir=%{_libdir} --mandir=%{_mandir} \
+	     --enable-visibility
 make
 
 %install
@@ -70,6 +76,12 @@
 %{_mandir}/man4/amd.4*
 
 %changelog
+* Thu Oct 12 2006 Adam Jackson <ajackson at redhat.com> 0.0-7.20061012git.fc6
+- Today's snapshot: Xv fixes.
+
+* Fri Oct 6 2006 Adam Jackson <ajackson at redhat.com> 0.0-6.20060821git.fc6
+- Add visibility fixes, and build with -fvisibility=hidden for size.
+
 * Mon Aug 21 2006 Adam Jackson <ajackson at redhat.com> 0.0-5.20060821git.fc6
 - Today's snapshot: EXA fixes.
 




More information about the fedora-cvs-commits mailing list