rpms/xorg-x11-drv-sunleo/devel import.log, NONE, 1.1 xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch, NONE, 1.1 xorg-x11-drv-sunleo-git-checkout.sh, NONE, 1.1 xorg-x11-drv-sunleo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Fri Jun 6 04:57:25 UTC 2008
- Previous message (by thread): rpms/xorg-x11-drv-sunleo/F-9 import.log, NONE, 1.1 xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch, NONE, 1.1 xorg-x11-drv-sunleo-git-checkout.sh, NONE, 1.1 xorg-x11-drv-sunleo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/lib765/devel lib765.spec,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/pkgs/rpms/xorg-x11-drv-sunleo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9874/devel
Modified Files:
.cvsignore sources
Added Files:
import.log xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch
xorg-x11-drv-sunleo-git-checkout.sh xorg-x11-drv-sunleo.spec
Log Message:
initial import
--- NEW FILE import.log ---
xorg-x11-drv-sunleo-1_1_0-4_fc9_git20080526:HEAD:xorg-x11-drv-sunleo-1.1.0-4.fc9.git20080526.src.rpm:1212728180
xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch:
--- NEW FILE xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch ---
diff --git a/src/leo_fspans.c b/src/leo_fspans.c
index ccc9132..23dcaac 100644
--- a/src/leo_fspans.c
+++ b/src/leo_fspans.c
@@ -68,11 +68,11 @@ LeoFillSpansSolid (DrawablePtr pDrawable, GCPtr pGC,
} else {
int nTmp = n * miFindMaxBand(clip);
- pwidthFree = (int *)ALLOCATE_LOCAL(nTmp * sizeof(int));
- pptFree = (DDXPointRec *)ALLOCATE_LOCAL(nTmp * sizeof(DDXPointRec));
+ pwidthFree = (int *)xalloc(nTmp * sizeof(int));
+ pptFree = (DDXPointRec *)xalloc(nTmp * sizeof(DDXPointRec));
if (!pptFree || !pwidthFree) {
- if (pptFree) DEALLOCATE_LOCAL(pptFree);
- if (pwidthFree) DEALLOCATE_LOCAL(pwidthFree);
+ if (pptFree) xfree(pptFree);
+ if (pwidthFree) xfree(pwidthFree);
return;
}
n = miClipSpans(clip,
@@ -123,8 +123,8 @@ LeoFillSpansSolid (DrawablePtr pDrawable, GCPtr pGC,
}
if (numRects != 1) {
- DEALLOCATE_LOCAL(pptFree);
- DEALLOCATE_LOCAL(pwidthFree);
+ xfree(pptFree);
+ xfree(pwidthFree);
}
if (pGC->alu != GXcopy)
ld0->rop = LEO_ATTR_RGBE_ENABLE|LEO_ROP_NEW;
diff --git a/src/leo_fspanssp.c b/src/leo_fspanssp.c
index 4124337..779edd9 100644
--- a/src/leo_fspanssp.c
+++ b/src/leo_fspanssp.c
@@ -69,11 +69,11 @@ LeoFillSpansStippled (DrawablePtr pDrawable, GCPtr pGC,
} else {
int nTmp = n * miFindMaxBand(clip);
- pwidthFree = (int *)ALLOCATE_LOCAL(nTmp * sizeof(int));
- pptFree = (DDXPointRec *)ALLOCATE_LOCAL(nTmp * sizeof(DDXPointRec));
+ pwidthFree = (int *)xalloc(nTmp * sizeof(int));
+ pptFree = (DDXPointRec *)xalloc(nTmp * sizeof(DDXPointRec));
if (!pptFree || !pwidthFree) {
- if (pptFree) DEALLOCATE_LOCAL(pptFree);
- if (pwidthFree) DEALLOCATE_LOCAL(pwidthFree);
+ if (pptFree) xfree(pptFree);
+ if (pwidthFree) xfree(pwidthFree);
return;
}
n = miClipSpans(clip,
@@ -161,8 +161,8 @@ LeoFillSpansStippled (DrawablePtr pDrawable, GCPtr pGC,
}
if (numRects != 1) {
- DEALLOCATE_LOCAL(pptFree);
- DEALLOCATE_LOCAL(pwidthFree);
+ xfree(pptFree);
+ xfree(pwidthFree);
}
if (pGC->alu != GXcopy)
ld0->rop = LEO_ATTR_RGBE_ENABLE|LEO_ROP_NEW;
--- NEW FILE xorg-x11-drv-sunleo-git-checkout.sh ---
#!/bin/bash
DATE=$(date +%Y%m%d)
WORK_DIR=xf86-video-sunleo-$DATE
rm -rf $WORK_DIR
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-sunleo $WORK_DIR
tar -cjvf xf86-video-sunleo-$DATE.tar.bz2 $WORK_DIR
rm -rf $WORK_DIR
--- NEW FILE xorg-x11-drv-sunleo.spec ---
%define tarball xf86-video-sunleo
%define moduledir %(pkg-config xorg-server --variable=moduledir )
%define driverdir %{moduledir}/drivers
%define gitdate 20080526
Summary: Xorg X11 sunleo video driver
Name: xorg-x11-drv-sunleo
Version: 1.1.0
Release: 4%{?dist}.git%{gitdate}
URL: http://www.x.org
#Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
Source0: %{tarball}-%{gitdate}.tar.bz2
Source1: xorg-x11-drv-sunleo-git-checkout.sh
Patch0: xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch
License: MIT
Group: User Interface/X Hardware Support
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: sparcv9 sparc64
BuildRequires: xorg-x11-server-sdk
BuildRequires: automake autoconf gettext libtool
Requires: xorg-x11-server-Xorg
%description
X.Org X11 sunleo video driver.
%prep
%setup -q -n %{tarball}-%{gitdate}
%patch0 -p1
%build
./autogen.sh
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT%{moduledir} -name '*.la' | xargs rm -f --
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{driverdir}/*.so
%{_mandir}/man4/*.4*
%changelog
* Tue Jun 03 2008 Dennis Gilmore <dennis at ausil.us> 1.1.0-4.git20080526
- review fixes
* Mon May 26 2008 Dennis Gilmore <dennis at ausil.us> 1.1.0-3.git20080526
- git snapshot
* Mon May 26 2008 Dennis Gilmore <dennis at ausil.us> 1.1.0-2
- spec cleanups
* Mon Jul 17 2006 Dennis Gilmore <dennis at ausil.us> - 1.1.0-1
- update to xorg 7.1
* Tue Oct 4 2005 Mike A. Harris <mharris at redhat.com> 1.0.0-1
- Update BuildRoot to use Fedora Packaging Guidelines.
- Limit "ExclusiveArch" to sparc, sparc64
* Fri Sep 2 2005 Mike A. Harris <mharris at redhat.com> 1.0.0-0
- Initial spec file for sunleo video driver generated automatically
by my xorg-driverspecgen script.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-sunleo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Jun 2008 04:29:41 -0000 1.1
+++ .cvsignore 6 Jun 2008 04:56:41 -0000 1.2
@@ -0,0 +1 @@
+xf86-video-sunleo-20080526.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-sunleo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Jun 2008 04:29:41 -0000 1.1
+++ sources 6 Jun 2008 04:56:41 -0000 1.2
@@ -0,0 +1 @@
+f9d73488aacbac2c831ee02a13cf895f xf86-video-sunleo-20080526.tar.bz2
- Previous message (by thread): rpms/xorg-x11-drv-sunleo/F-9 import.log, NONE, 1.1 xorg-x11-drv-sunleo-ALLOCATE_LOCAL.patch, NONE, 1.1 xorg-x11-drv-sunleo-git-checkout.sh, NONE, 1.1 xorg-x11-drv-sunleo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/lib765/devel lib765.spec,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list