forked from pool/libreadline-java
- Version bump to 0.8.2:
* bugfix: using tab completion would crash the virtual machine * getVar()/setVar() (Bernhard) * unicode support (Andrew) * added bats test case and running on travis ci (Andrew) * various build fixes (Andrew) - Update URL/Source to point to current location - Refresh patches: * libreadline-java-0.8.0-jdk10.patch * libreadline-java-0.8.0-sourcetarget.patch * libreadline-java-ncurses.patch - Remove upstream merged: * libreadline-java-0.8.0-missing-return-type.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/libreadline-java?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
91250d98aa
commit
48ac9e97f3
@@ -1,24 +1,26 @@
|
||||
diff -urN ../libreadline-java-0.8.0.orig/src/native/Makefile ./src/native/Makefile
|
||||
--- ../libreadline-java-0.8.0.orig/src/native/Makefile 2003-01-07 05:14:35.000000000 -0500
|
||||
+++ ./src/native/Makefile 2007-07-05 13:54:47.000000000 -0400
|
||||
@@ -45,9 +45,8 @@
|
||||
CFLAGS=-DWIN32=$(WIN32) -D__IBMC__
|
||||
else
|
||||
Index: src/native/Makefile
|
||||
===================================================================
|
||||
--- src/native/Makefile.orig
|
||||
+++ src/native/Makefile
|
||||
@@ -43,10 +43,8 @@ NATIVE_CFLAGS := -fpic -DPOSIX $(CFLAGS)
|
||||
LD_FLAGS = -shared
|
||||
|
||||
INCLUDES = -I $(JAVAINCLUDE) -I $(JAVANATINC)
|
||||
-LIBPATH = -L/usr/lib/termcap
|
||||
-LIBPATH = -L/usr/lib/termcap
|
||||
-
|
||||
-JavaReadline_LIBS = -lreadline -ltermcap -lhistory
|
||||
-JavaEditline_LIBS = -ledit -ltermcap
|
||||
+JavaReadline_LIBS = -lreadline -ltinfo -lhistory
|
||||
+JavaEditline_LIBS = -ledit -lncurses
|
||||
ifeq (cygwin,$(WIN32))
|
||||
JavaGetline_LIBS = -lcygwin
|
||||
endif
|
||||
@@ -97,7 +96,7 @@
|
||||
$(CC) -W1,$(ROOTDIR)/lib$(TG).exp -o $@ \
|
||||
$(OBJECTS) -W1,-e,_readline_init@12
|
||||
else
|
||||
- $(CC) -shared $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
|
||||
+ $(CC) -shared $(OBJECTS) $($(TG)_LIBS) -o $@
|
||||
endif
|
||||
JavaGetline_LIBS =
|
||||
endif
|
||||
|
||||
@@ -125,7 +123,7 @@ ifeq (MSWIN,$(OS_FLAVOR))
|
||||
$(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -Fe$@
|
||||
endif
|
||||
ifeq (LINUX,$(OS_FLAVOR))
|
||||
- $(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
|
||||
+ $(CC) $(LD_FLAGS) $(OBJECTS) $($(TG)_LIBS) -o $@
|
||||
endif
|
||||
ifeq (MAC,$(OS_FLAVOR))
|
||||
$(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
|
||||
|
||||
Reference in New Issue
Block a user