Hello community, here is the log from the commit of package libreadline-java checked in at Thu Feb 15 18:21:01 CET 2007. -------- --- libreadline-java/libreadline-java.changes 2006-12-14 18:38:26.000000000 +0100 +++ /mounts/work_src_done/STABLE/libreadline-java/libreadline-java.changes 2007-02-14 19:25:55.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Feb 14 19:25:27 CET 2007 - dbornkessel@suse.de + +- added missing return type where missing (Bug #237944) + +------------------------------------------------------------------- New: ---- libreadline-java-0.8.0-missing-return-type.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libreadline-java.spec ++++++ --- /var/tmp/diff_new_pack.v11424/_old 2007-02-15 18:20:55.000000000 +0100 +++ /var/tmp/diff_new_pack.v11424/_new 2007-02-15 18:20:55.000000000 +0100 @@ -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... -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 @@ %prep %setup -q -n %{name}-%{version} -%patch +%patch0 +%patch1 -p1 find . -name "*.jar" -exec rm -f {} \; %build @@ -105,6 +107,8 @@ %{_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 ++++++ libreadline-java-0.8.0-missing-return-type.patch ++++++ 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, ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org