7
0
forked from pool/rxtx-java

Accepting request 787830 from Application:Geo

lets move this package where it belongs

OBS-URL: https://build.opensuse.org/request/show/787830
OBS-URL: https://build.opensuse.org/package/show/Java:packages/rxtx-java?expand=0&rev=1
This commit is contained in:
2020-03-24 14:54:33 +00:00
committed by Git OBS Bridge
commit d36345772c
14 changed files with 554 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
diff -up rxtx-2.2pre2/src/ParallelImp.c.orig rxtx-2.2pre2/src/ParallelImp.c
--- rxtx-2.2pre2/src/ParallelImp.c.orig 2008-11-27 21:01:48.000000000 +0100
+++ rxtx-2.2pre2/src/ParallelImp.c 2012-09-16 12:47:04.293202519 +0200
@@ -920,7 +920,7 @@ void throw_java_exception_system_msg( JN
void report_error(char *msg)
{
#ifndef DEBUG_MW
- fprintf(stderr, msg);
+ fputs(stderr, msg);
#else
mexWarnMsgTxt( msg );
#endif /* DEBUG_MW */
@@ -938,7 +938,7 @@ void report_error(char *msg)
void report(char *msg)
{
#ifdef DEBUG
- fprintf(stderr, msg);
+ fputs(stderr, msg);
#endif /* DEBUG */
}
diff -up rxtx-2.2pre2/src/SerialImp.c.orig rxtx-2.2pre2/src/SerialImp.c
--- rxtx-2.2pre2/src/SerialImp.c.orig 2009-02-04 23:06:16.000000000 +0100
+++ rxtx-2.2pre2/src/SerialImp.c 2012-09-16 12:48:06.336426875 +0200
@@ -5096,7 +5096,7 @@ void throw_java_exception( JNIEnv *env,
void report_warning(char *msg)
{
#ifndef DEBUG_MW
- fprintf(stderr, msg);
+ fputs(stderr, msg);
#else
mexWarnMsgTxt( (const char *) msg );
#endif /* DEBUG_MW */
@@ -5133,7 +5133,7 @@ void report_verbose(char *msg)
void report_error(char *msg)
{
#ifndef DEBUG_MW
- fprintf(stderr, msg);
+ fputs(stderr, msg);
#else
mexWarnMsgTxt( msg );
#endif /* DEBUG_MW */