Initial commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			
		
			
				
	
				Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			
		
			
				
	
				Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			
		
			
				
	
				Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			
		
			
				
	
				Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			
		
			
				
	
				Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			This commit is contained in:
		
							
								
								
									
										54
									
								
								package/utils/lua5.3/patches-host/100-no_readline.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								package/utils/lua5.3/patches-host/100-no_readline.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| --- a/src/luaconf.h | ||||
| +++ b/src/luaconf.h | ||||
| @@ -61,14 +61,12 @@ | ||||
|  #if defined(LUA_USE_LINUX) | ||||
|  #define LUA_USE_POSIX | ||||
|  #define LUA_USE_DLOPEN		/* needs an extra library: -ldl */ | ||||
| -#define LUA_USE_READLINE	/* needs some extra libraries */ | ||||
|  #endif | ||||
|   | ||||
|   | ||||
|  #if defined(LUA_USE_MACOSX) | ||||
|  #define LUA_USE_POSIX | ||||
|  #define LUA_USE_DLOPEN		/* MacOS does not need -ldl */ | ||||
| -#define LUA_USE_READLINE	/* needs an extra library: -lreadline */ | ||||
|  #endif | ||||
|   | ||||
|   | ||||
| --- a/src/Makefile | ||||
| +++ b/src/Makefile | ||||
| @@ -23,6 +23,7 @@ MYCFLAGS= | ||||
|  MYLDFLAGS= | ||||
|  MYLIBS= | ||||
|  MYOBJS= | ||||
| +# USE_READLINE=1 | ||||
|   | ||||
|  # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE ======= | ||||
|   | ||||
| @@ -83,6 +84,7 @@ echo: | ||||
|   | ||||
|  # Convenience targets for popular platforms | ||||
|  ALL= all | ||||
| +RFLAG=$(if $(USE_READLINE),-DLUA_USE_READLINE) | ||||
|   | ||||
|  none: | ||||
|  	@echo "Please do 'make PLATFORM' where PLATFORM is one of these:" | ||||
| @@ -102,15 +104,15 @@ c89: | ||||
|   | ||||
|   | ||||
|  freebsd: | ||||
| -	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit" SYSLIBS="-Wl,-E -ledit" CC="cc" | ||||
| +	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX $(RFLAG) -I/usr/include/edit" SYSLIBS="-Wl,-E -ledit" CC="cc" | ||||
|   | ||||
|  generic: $(ALL) | ||||
|   | ||||
|  linux: | ||||
| -	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline" | ||||
| +	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" $(RFLAG) SYSLIBS="-Wl,-E -ldl $(if $(USE_READLINE), -lreadline)" | ||||
|   | ||||
|  macosx: | ||||
| -	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX" SYSLIBS="-lreadline" | ||||
| +	$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX" $(RFLAG) SYSLIBS="$(if $(USE_READLINE), -lreadline)" | ||||
|   | ||||
|  mingw: | ||||
|  	$(MAKE) "LUA_A=lua53.dll" "LUA_T=lua.exe" \ | ||||
		Reference in New Issue
	
	Block a user
	 domenico
					domenico