This commit is contained in:
commit
d913b473b5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
yasm-0.4.0.tar.gz
Normal file
3
yasm-0.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:12223aeccc3901a317db22b3b27dbca40560dca1bea45ec4ae48ea3f73a04eec
|
||||||
|
size 1116987
|
10
yasm-declaration.diff
Normal file
10
yasm-declaration.diff
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- check/check_run.c.ORG 2004-10-31 04:55:56.000000000 +0100
|
||||||
|
+++ check/check_run.c 2005-07-04 13:25:26.000000000 +0200
|
||||||
|
@@ -59,6 +59,7 @@
|
||||||
|
#include "check_impl.h"
|
||||||
|
#include "check_msg.h"
|
||||||
|
#include "check_log.h"
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#ifndef USE_FORKWAITMSG
|
||||||
|
int nofork_exit_status;
|
18
yasm-genmacro.patch
Normal file
18
yasm-genmacro.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Index: yasm-0.4.0/modules/preprocs/nasm/genmacro.c
|
||||||
|
===================================================================
|
||||||
|
--- yasm-0.4.0.orig/modules/preprocs/nasm/genmacro.c
|
||||||
|
+++ yasm-0.4.0/modules/preprocs/nasm/genmacro.c
|
||||||
|
@@ -102,10 +102,13 @@ main(int argc, char *argv[])
|
||||||
|
while (*strp == ' ' || *strp == '\t')
|
||||||
|
strp++;
|
||||||
|
len = strlen(strp);
|
||||||
|
+ if (len)
|
||||||
|
while (strp[len-1] == ' ' || strp[len-1] == '\t' ||
|
||||||
|
strp[len-1] == '\n') {
|
||||||
|
strp[len-1] = '\0';
|
||||||
|
len--;
|
||||||
|
+ if(len == 0)
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* skip blank lines */
|
11
yasm-overflow.patch
Normal file
11
yasm-overflow.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- yasm-0.4.0/libyasm/expr.c.xx 2005-04-27 15:31:30.192943601 +0200
|
||||||
|
+++ yasm-0.4.0/libyasm/expr.c 2005-04-27 15:32:19.374893145 +0200
|
||||||
|
@@ -1191,7 +1191,7 @@
|
||||||
|
void
|
||||||
|
yasm_expr_print(const yasm_expr *e, FILE *f)
|
||||||
|
{
|
||||||
|
- char opstr[6];
|
||||||
|
+ char opstr[8];
|
||||||
|
int i;
|
||||||
|
|
||||||
|
if (!e) {
|
43
yasm.changes
Normal file
43
yasm.changes
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:43:33 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 4 13:30:34 CEST 2005 - sf@suse.de
|
||||||
|
|
||||||
|
- fix missing string function declarations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 27 15:44:35 CEST 2005 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed one stack overflow.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 20 23:07:57 CET 2005 - olh@suse.de
|
||||||
|
|
||||||
|
- fix memory corruption in genmacro while handling empty lines
|
||||||
|
or lines with whitespaces only
|
||||||
|
use RPM_OPT_FLAGS, build with icecream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 10 16:23:36 CET 2005 - sf@suse.de
|
||||||
|
|
||||||
|
- update to version 0.4.0
|
||||||
|
- added man pages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 12 00:20:37 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 10 22:08:04 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- add %defattr and %run_dlconfig
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 12 14:23:25 CET 2003 - sf@suse.de
|
||||||
|
|
||||||
|
- initial release 0.3.0
|
||||||
|
|
94
yasm.spec
Normal file
94
yasm.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#
|
||||||
|
# spec file for package yasm (Version 0.4.0)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: yasm
|
||||||
|
URL: http://www.tortall.net/projects/yasm/
|
||||||
|
License: BSD
|
||||||
|
Group: Development/Languages/Other
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: 0.4.0
|
||||||
|
Release: 6
|
||||||
|
Summary: YASM is a complete rewrite of the NASM assembler
|
||||||
|
Source: yasm-%{version}.tar.gz
|
||||||
|
Patch0: yasm-genmacro.patch
|
||||||
|
Patch1: yasm-overflow.patch
|
||||||
|
Patch2: yasm-declaration.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
YASM is a complete rewrite of the NASM assembler. It is designed from
|
||||||
|
the ground up to allow for multiple syntaxes to be supported (e.g.,
|
||||||
|
NASM, TASM, GAS, etc.) in addition to multiple output object formats.
|
||||||
|
Another primary module of the overall design is an optimizer module.
|
||||||
|
Actually it supports ix86 and AMD64, next will be PowerPC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Peter Johnson <peter@tortall.net>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
./configure --libdir=%_libdir --prefix=/usr --mandir=%_mandir
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING ChangeLog GNU_GPL-2.0
|
||||||
|
%doc GNU_LGPL-2.0 INSTALL NEWS README
|
||||||
|
%_libdir/lib*
|
||||||
|
%_libdir/yasm
|
||||||
|
/usr/bin/*
|
||||||
|
/usr/include/*
|
||||||
|
%_mandir/man7/*
|
||||||
|
%_mandir/man1/*
|
||||||
|
|
||||||
|
%changelog -n yasm
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Mon Jul 04 2005 - sf@suse.de
|
||||||
|
- fix missing string function declarations
|
||||||
|
* Wed Apr 27 2005 - meissner@suse.de
|
||||||
|
- fixed one stack overflow.
|
||||||
|
* Sun Mar 20 2005 - olh@suse.de
|
||||||
|
- fix memory corruption in genmacro while handling empty lines
|
||||||
|
or lines with whitespaces only
|
||||||
|
use RPM_OPT_FLAGS, build with icecream
|
||||||
|
* Thu Feb 10 2005 - sf@suse.de
|
||||||
|
- update to version 0.4.0
|
||||||
|
- added man pages
|
||||||
|
* Fri Nov 12 2004 - ro@suse.de
|
||||||
|
- fixed file list
|
||||||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||||||
|
- add %%defattr and %%run_dlconfig
|
||||||
|
* Wed Nov 12 2003 - sf@suse.de
|
||||||
|
- initial release 0.3.0
|
Loading…
Reference in New Issue
Block a user