This commit is contained in:
commit
16f25a5aba
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
|
29
jikes-1.22-strict_aliasing.patch
Normal file
29
jikes-1.22-strict_aliasing.patch
Normal file
@ -0,0 +1,29 @@
|
||||
Index: jikes-1.22/src/stream.cpp
|
||||
===================================================================
|
||||
--- src/stream.cpp
|
||||
+++ src/stream.cpp
|
||||
@@ -271,13 +271,20 @@ wchar_t Stream::DecodeNextCharacter()
|
||||
size_t chl = sizeof(wchar_t);
|
||||
size_t srcl = 1;
|
||||
|
||||
+ char* c_chp = (char *) chp;
|
||||
+# ifdef HAVE_ERROR_CALL_ICONV_CONST
|
||||
+ char* c_source_ptr = (char *) source_ptr;
|
||||
+# endif // HAVE_ERROR_CALL_ICONV_CONST
|
||||
try_it_again:
|
||||
size_t n = iconv(_decoder,
|
||||
# ifdef HAVE_ERROR_CALL_ICONV_CONST
|
||||
- (char**)
|
||||
-# endif // HAVE_ERROR_CALL_ICONV_CONST
|
||||
- &source_ptr, &srcl,
|
||||
- (char**) &chp, &chl);
|
||||
+ &c_source_ptr,
|
||||
+# else // HAVE_ERROR_CALL_ICONV_CONST
|
||||
+ &source_ptr,
|
||||
+# endif
|
||||
+ &srcl,
|
||||
+ &c_chp,
|
||||
+ &chl);
|
||||
|
||||
if (n == (size_t) -1)
|
||||
{
|
44
jikes-1.22-uninitialized-variables.patch
Normal file
44
jikes-1.22-uninitialized-variables.patch
Normal file
@ -0,0 +1,44 @@
|
||||
Index: src/diagnose.cpp
|
||||
===================================================================
|
||||
--- src/diagnose.cpp.orig
|
||||
+++ src/diagnose.cpp
|
||||
@@ -380,10 +380,10 @@ RepairCandidate DiagnoseParser::ErrorRec
|
||||
/*****************************************************************/
|
||||
RepairCandidate DiagnoseParser::PrimaryPhase(TokenObject error_token)
|
||||
{
|
||||
- PrimaryRepairInfo repair,
|
||||
- new_repair;
|
||||
+ PrimaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0 };
|
||||
+ PrimaryRepairInfo new_repair = { ERROR_CODE, 0, 0, 0, 0 };
|
||||
|
||||
- RepairCandidate candidate;
|
||||
+ RepairCandidate candidate = { 0, 0 };
|
||||
|
||||
repair.distance = 0;
|
||||
repair.misspell_index = 0;
|
||||
@@ -1449,8 +1449,10 @@ bool DiagnoseParser::SecondaryCheck(int
|
||||
/*****************************************************************/
|
||||
RepairCandidate DiagnoseParser::SecondaryPhase(TokenObject error_token)
|
||||
{
|
||||
- SecondaryRepairInfo repair,
|
||||
- misplaced;
|
||||
+ SecondaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0, 0, false };
|
||||
+ SecondaryRepairInfo misplaced = { ERROR_CODE, 0, 0, 0, 0, 0, false };
|
||||
+
|
||||
+
|
||||
|
||||
RepairCandidate candidate;
|
||||
|
||||
Index: src/parser.cpp
|
||||
===================================================================
|
||||
--- src/parser.cpp.orig
|
||||
+++ src/parser.cpp
|
||||
@@ -506,7 +506,7 @@ void Parser::RepairParse(TokenObject cur
|
||||
//
|
||||
void Parser::ErrorRepair(TokenObject error_token)
|
||||
{
|
||||
- SecondaryRepairInfo repair;
|
||||
+ SecondaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0, 0, false };
|
||||
|
||||
repair.code = ERROR_CODE;
|
||||
do
|
3
jikes-1.22.tar.bz2
Normal file
3
jikes-1.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cb02c763bc441349f6d38cacd52adf762302cce3a08e269f1f75f726e6e14e3
|
||||
size 616655
|
144
jikes.changes
Normal file
144
jikes.changes
Normal file
@ -0,0 +1,144 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:03 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 19:30:44 CET 2005 - dbornkessel@suse.de
|
||||
|
||||
- minor adjustments to avoid "strict aliasing" and "uninitialized variables" warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 18 17:01:45 CET 2005 - skh@suse.de
|
||||
|
||||
- updated to version 1.22:
|
||||
* supports compilation using the rt.jar shipped with the
|
||||
released version of Java 5.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 01 13:37:18 CEST 2004 - pmladek@suse.cz
|
||||
|
||||
- updated to version 1.21
|
||||
* correctly detects an attempt to use a non-static member class from a
|
||||
static one, without proper qualification
|
||||
* new command-line options generalize the old -nowarn/+Z
|
||||
* the default on vs. off state of several warnings added in 1.19 have been
|
||||
changed, by popular demand
|
||||
* etc., see /usr/share/doc/packages/jikes/NEWS for more details
|
||||
- enabled parallel build
|
||||
- used autoreconf instead of the single utils like aclocal, automake
|
||||
- removed the unneeded file INSTALL from documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 03 12:10:41 CET 2004 - pmladek@suse.cz
|
||||
|
||||
- updated to version 1.19
|
||||
- m4 marcos are included in the original source tar-ball again
|
||||
- removed obsolete patch which fixed aclocal.m4
|
||||
- fixed usage of aclocal
|
||||
- used %%_prefix and %%_sysconfdir macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 12:41:55 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 17:01:24 CEST 2003 - pmladek@suse.cz
|
||||
|
||||
- removed license.htm from buildroot (it is packaged another way)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 12:46:21 CET 2003 - novak@suse.cz
|
||||
|
||||
- updated to version 1.18
|
||||
- updated m4 macros from CVS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 07 10:24:19 CEST 2002 - pmladek@suse.cz
|
||||
|
||||
- updated to version 1.16
|
||||
- updated m4 macros from CVS
|
||||
- removed obsolete axp patch (it is fixed in this version)
|
||||
- removed obsolete ia64 patch (it is no longer needed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 12 18:01:33 CET 2001 - pmladek@suse.cz
|
||||
|
||||
- updated to version 1.15, bugfix release
|
||||
- updated m4 macros from CVS
|
||||
- removed obsolete namespace patch, gcc works now
|
||||
- added /usr/include/jikesapi.h to filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 9 15:05:47 CET 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed to compile with automake 1.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 11:53:06 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed requires - jikes works with all javas
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 13:33:24 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed to compile on i386:
|
||||
* compiled with namespace on
|
||||
- fixed to compile on ia64:
|
||||
* added sources of autoconf macros from jikes CVS
|
||||
* ugly fix through bug in autoconf
|
||||
- fixed to compile on axp:
|
||||
* renamed variable NAN which is defined as macro in math.h
|
||||
- cleaned up specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 11:48:30 CEST 2001 - pblaha@suse.cz
|
||||
|
||||
- upadte on 1.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 15:07:32 CET 2000 - aj@suse.de
|
||||
|
||||
- Fix for compilation with glibc 2.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 13:28:42 CEST 2000 - smid@suse.cz
|
||||
|
||||
- upgrade to 1.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 8 08:08:17 MEST 2000 - cihlar@suse.cz
|
||||
|
||||
- added %clean
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 14:23:25 CEST 2000 - smid@suse.cz
|
||||
|
||||
- add documentation which was unfortunetly removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 11:38:42 CEST 2000 - smid@suse.cz
|
||||
|
||||
- buildroot added
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 17 11:54:16 CET 2000 - aj@suse.de
|
||||
|
||||
- /usr/man -> /usr/share/man
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 20 11:54:33 CEST 1999 - aj@suse.de
|
||||
|
||||
- Fixed configure and make calls.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 16:40:50 CEST 1999 - aj@suse.de
|
||||
|
||||
- Added a require for java_runtime, updated pac file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 15:31:24 CEST 1999 - aj@suse.de
|
||||
|
||||
- created package (version 1.06)
|
||||
|
174
jikes.spec
Normal file
174
jikes.spec
Normal file
@ -0,0 +1,174 @@
|
||||
#
|
||||
# spec file for package jikes (Version 1.22)
|
||||
#
|
||||
# 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://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: jikes
|
||||
BuildRequires: gcc-c++
|
||||
License: IBM Public License, Other License(s), see package
|
||||
Group: Development/Languages/Java
|
||||
Autoreqprov: on
|
||||
Requires: jre1.1.x
|
||||
Version: 1.22
|
||||
Release: 5
|
||||
URL: http://ibm.com/developerworks/oss/jikes/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: %{name}-%{version}-uninitialized-variables.patch
|
||||
Patch1: %{name}-%{version}-strict_aliasing.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: IBM Java compiler
|
||||
|
||||
%description
|
||||
Jikes(TM) is a compiler that translates Java(TM) source files as
|
||||
defined in The Java Language Specification into the bytecode
|
||||
instruction set and binary format defined in The Java Virtual Machine
|
||||
Specification.
|
||||
|
||||
You may wonder why the world needs another Java compiler, considering
|
||||
that Sun provides javac free with its SDK. Jikes has four advantages
|
||||
that make it a valuable contribution to the Java community:
|
||||
|
||||
* Open source. Jikes is OSI Certified Open Source Software. OSI
|
||||
Certified is a certification mark of the Open Source Initiative.
|
||||
|
||||
* Strictly Java compatible. Jikes strives to adhere to both The Java
|
||||
Language Specification and The Java Virtual Machine Specification
|
||||
as tightly as possible, and does not support subsets, supersets,
|
||||
or other variations of the language. The FAQ describes some of
|
||||
the side effects of this strict language conformance.
|
||||
|
||||
* High performance. Jikes is a high performance compiler, making it
|
||||
ideal for use with larger projects.
|
||||
|
||||
* Dependency analysis. Jikes performs a dependency analysis on your
|
||||
code that provides two very useful features: Incremental builds
|
||||
and makefile generation.
|
||||
|
||||
Please note that you have to set CLASSPATH correctly to use jikes.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Philippe Charles <charles@watson.ibm.com>
|
||||
Ken Coar <Ken.Coar@Golux.Com>
|
||||
Michael Ernst <mernst@cs.washington.edu>
|
||||
Dave Shields <shields@watson.ibm.com>
|
||||
Vadim Zaliva <lord@crocodile.org>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
cp -v doc/license.htm license.html
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
autoreconf -I src/m4 --force --install
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --mandir=%{_mandir} \
|
||||
--prefix=%{_prefix} \
|
||||
--infodir=%{_infodir} \
|
||||
--sysconfdir=%{_sysconfdir}
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
#
|
||||
rm $RPM_BUILD_ROOT/%{_datadir}/doc/%name-%version/license.htm
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/license.htm
|
||||
%{_mandir}/man1/jikes.1.gz
|
||||
%{_prefix}/include/*
|
||||
%{_bindir}/jikes
|
||||
|
||||
%changelog -n jikes
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Dec 19 2005 - dbornkessel@suse.de
|
||||
- minor adjustments to avoid "strict aliasing" and "uninitialized variables" warnings
|
||||
* Fri Feb 18 2005 - skh@suse.de
|
||||
- updated to version 1.22:
|
||||
* supports compilation using the rt.jar shipped with the
|
||||
released version of Java 5.0
|
||||
* Wed Sep 01 2004 - pmladek@suse.cz
|
||||
- updated to version 1.21
|
||||
* correctly detects an attempt to use a non-static member class from a
|
||||
static one, without proper qualification
|
||||
* new command-line options generalize the old -nowarn/+Z
|
||||
* the default on vs. off state of several warnings added in 1.19 have been
|
||||
changed, by popular demand
|
||||
* etc., see /usr/share/doc/packages/jikes/NEWS for more details
|
||||
- enabled parallel build
|
||||
- used autoreconf instead of the single utils like aclocal, automake
|
||||
- removed the unneeded file INSTALL from documentation
|
||||
* Wed Mar 03 2004 - pmladek@suse.cz
|
||||
- updated to version 1.19
|
||||
- m4 marcos are included in the original source tar-ball again
|
||||
- removed obsolete patch which fixed aclocal.m4
|
||||
- fixed usage of aclocal
|
||||
- used %%_prefix and %%_sysconfdir macros
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Tue May 27 2003 - pmladek@suse.cz
|
||||
- removed license.htm from buildroot (it is packaged another way)
|
||||
* Wed Feb 05 2003 - novak@suse.cz
|
||||
- updated to version 1.18
|
||||
- updated m4 macros from CVS
|
||||
* Wed Aug 07 2002 - pmladek@suse.cz
|
||||
- updated to version 1.16
|
||||
- updated m4 macros from CVS
|
||||
- removed obsolete axp patch (it is fixed in this version)
|
||||
- removed obsolete ia64 patch (it is no longer needed)
|
||||
* Wed Dec 12 2001 - pmladek@suse.cz
|
||||
- updated to version 1.15, bugfix release
|
||||
- updated m4 macros from CVS
|
||||
- removed obsolete namespace patch, gcc works now
|
||||
- added /usr/include/jikesapi.h to filelist
|
||||
* Fri Nov 09 2001 - pmladek@suse.cz
|
||||
- fixed to compile with automake 1.5
|
||||
* Thu Sep 20 2001 - pmladek@suse.cz
|
||||
- fixed requires - jikes works with all javas
|
||||
* Mon Aug 13 2001 - pmladek@suse.cz
|
||||
- fixed to compile on i386:
|
||||
* compiled with namespace on
|
||||
- fixed to compile on ia64:
|
||||
* added sources of autoconf macros from jikes CVS
|
||||
* ugly fix through bug in autoconf
|
||||
- fixed to compile on axp:
|
||||
* renamed variable NAN which is defined as macro in math.h
|
||||
- cleaned up specfile
|
||||
* Fri May 18 2001 - pblaha@suse.cz
|
||||
- upadte on 1.14
|
||||
* Wed Nov 29 2000 - aj@suse.de
|
||||
- Fix for compilation with glibc 2.2.
|
||||
* Wed Sep 20 2000 - smid@suse.cz
|
||||
- upgrade to 1.12
|
||||
* Thu Jun 08 2000 - cihlar@suse.cz
|
||||
- added %%clean
|
||||
* Thu Apr 20 2000 - smid@suse.cz
|
||||
- add documentation which was unfortunetly removed
|
||||
* Thu Apr 20 2000 - smid@suse.cz
|
||||
- buildroot added
|
||||
* Mon Jan 17 2000 - aj@suse.de
|
||||
- /usr/man -> /usr/share/man
|
||||
* Wed Oct 20 1999 - aj@suse.de
|
||||
- Fixed configure and make calls.
|
||||
* Tue Oct 19 1999 - aj@suse.de
|
||||
- Added a require for java_runtime, updated pac file.
|
||||
* Tue Oct 19 1999 - aj@suse.de
|
||||
- created package (version 1.06)
|
Loading…
Reference in New Issue
Block a user