This commit is contained in:
parent
a3cffb6a0b
commit
900b814cd7
13
libreadline-java-0.8.0-missing-return-type.patch
Normal file
13
libreadline-java-0.8.0-missing-return-type.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: libreadline-java-0.8.0/src/native/org_gnu_readline_Readline.c
|
||||||
|
===================================================================
|
||||||
|
--- libreadline-java-0.8.0.orig/src/native/org_gnu_readline_Readline.c
|
||||||
|
+++ libreadline-java-0.8.0/src/native/org_gnu_readline_Readline.c
|
||||||
|
@@ -430,7 +430,7 @@ const char *java_completer(char *text, i
|
||||||
|
jtext = (*jniEnv)->NewStringUTF(jniEnv,text);
|
||||||
|
|
||||||
|
if (jniMethodId == 0) {
|
||||||
|
- return;
|
||||||
|
+ return ((const char *)NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
completion = (*jniEnv)->CallObjectMethod(jniEnv, jniObject,
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 14 19:25:27 CET 2007 - dbornkessel@suse.de
|
||||||
|
|
||||||
|
- added missing return type where missing (Bug #237944)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 18:16:24 CET 2006 - jsmeix@suse.de
|
Thu Dec 14 18:16:24 CET 2006 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libreadline-java (Version 0.8.0)
|
# spec file for package libreadline-java (Version 0.8.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -12,18 +12,19 @@
|
|||||||
# icecream 0
|
# icecream 0
|
||||||
|
|
||||||
Name: libreadline-java
|
Name: libreadline-java
|
||||||
BuildRequires: java2-devel-packages readline-devel termcap xerces-j2
|
BuildRequires: java-1_4_2-gcj-compat-devel readline-devel termcap xerces-j2
|
||||||
%define name libreadline-java
|
%define name libreadline-java
|
||||||
%define version 0.8.0
|
%define version 0.8.0
|
||||||
%define readline_ver 4.3
|
%define readline_ver 4.3
|
||||||
%define release 9jpp
|
%define release 9jpp
|
||||||
%define section free
|
%define section free
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
Release: 47
|
Release: 57
|
||||||
Summary: Java Wrapper for the GNU Readline Library
|
Summary: Java Wrapper for the GNU Readline Library
|
||||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||||
Source0: http://download.sourceforge.net/java-readline/libreadline-java-0.8.0-src.tar.gz
|
Source0: http://download.sourceforge.net/java-readline/libreadline-java-0.8.0-src.tar.gz
|
||||||
Patch: %{name}-java14compat.patch
|
Patch0: %{name}-java14compat.patch
|
||||||
|
Patch1: %{name}-%{version}-missing-return-type.patch
|
||||||
URL: http://java-readline.sf.net/
|
URL: http://java-readline.sf.net/
|
||||||
# Requires: readline = %{readline_ver}
|
# Requires: readline = %{readline_ver}
|
||||||
PreReq: /sbin/ldconfig
|
PreReq: /sbin/ldconfig
|
||||||
@ -55,7 +56,8 @@ This package contains the javadoc documentation for Java-Readline.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch
|
%patch0
|
||||||
|
%patch1 -p1
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -105,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
%changelog -n libreadline-java
|
%changelog -n libreadline-java
|
||||||
|
* Wed Feb 14 2007 - dbornkessel@suse.de
|
||||||
|
- added missing return type where missing (Bug #237944)
|
||||||
* Thu Dec 14 2006 - jsmeix@suse.de
|
* Thu Dec 14 2006 - jsmeix@suse.de
|
||||||
- Removed xml-commons-apis from BuildRequires because xerces-j2
|
- Removed xml-commons-apis from BuildRequires because xerces-j2
|
||||||
already provides xml-commons-apis but xerces-j2 would be
|
already provides xml-commons-apis but xerces-j2 would be
|
||||||
|
Loading…
Reference in New Issue
Block a user