OBS User unknown 2007-02-15 17:21:02 +00:00 committed by Git OBS Bridge
parent a3cffb6a0b
commit 900b814cd7
3 changed files with 27 additions and 5 deletions

View 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,

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# package are under the same license as the package itself.
#
@ -12,18 +12,19 @@
# icecream 0
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 version 0.8.0
%define readline_ver 4.3
%define release 9jpp
%define section free
Version: 0.8.0
Release: 47
Release: 57
Summary: Java Wrapper for the GNU Readline Library
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
Patch: %{name}-java14compat.patch
Patch0: %{name}-java14compat.patch
Patch1: %{name}-%{version}-missing-return-type.patch
URL: http://java-readline.sf.net/
# Requires: readline = %{readline_ver}
PreReq: /sbin/ldconfig
@ -55,7 +56,8 @@ This package contains the javadoc documentation for Java-Readline.
%prep
%setup -q -n %{name}-%{version}
%patch
%patch0
%patch1 -p1
find . -name "*.jar" -exec rm -f {} \;
%build
@ -105,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
%{_javadocdir}/%{name}-%{version}
%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
- Removed xml-commons-apis from BuildRequires because xerces-j2
already provides xml-commons-apis but xerces-j2 would be