tools/bc: update to 1.08.1
refresh patch: 001-no_doc.patch 002-fix-libmath.patch Changelog included in package. Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17828 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
		 Jack Sun
					Jack Sun
				
			
				
					committed by
					
						 Christian Marangi
						Christian Marangi
					
				
			
			
				
	
			
			
			 Christian Marangi
						Christian Marangi
					
				
			
						parent
						
							208288ff6c
						
					
				
				
					commit
					abd424c3e1
				
			| @@ -7,11 +7,11 @@ | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=bc | ||||
| PKG_VERSION:=1.07.1 | ||||
| PKG_VERSION:=1.08.1 | ||||
|  | ||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | ||||
| PKG_SOURCE_URL:=@GNU/bc | ||||
| PKG_HASH:=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a | ||||
| PKG_HASH:=515430115b3334c636317503460a0950dff79940aa3259ce2c1aa67c2881d023 | ||||
|  | ||||
| PKG_FIXUP := autoreconf | ||||
| PKG_CPE_ID:=cpe:/a:gnu:bc | ||||
|   | ||||
| @@ -7,15 +7,15 @@ | ||||
| +SUBDIRS = lib bc dc | ||||
|   | ||||
|  MAINTAINERCLEANFILES =  aclocal.m4 config.h.in configure Makefile.in \ | ||||
|  			stamp-h $(distdir).tar.gz h/number.h depcomp missing \ | ||||
|  			stamp-h $(distdir).tar.gz h/number.h depcomp missing | ||||
| --- a/Makefile.in | ||||
| +++ b/Makefile.in | ||||
| @@ -288,7 +288,7 @@ target_alias = @target_alias@ | ||||
| @@ -305,7 +305,7 @@ target_alias = @target_alias@ | ||||
|  top_build_prefix = @top_build_prefix@ | ||||
|  top_builddir = @top_builddir@ | ||||
|  top_srcdir = @top_srcdir@ | ||||
| -SUBDIRS = lib bc dc doc | ||||
| +SUBDIRS = lib bc dc | ||||
|  MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \ | ||||
|  			stamp-h $(distdir).tar.gz h/number.h depcomp missing \ | ||||
|  			bc/libmath.h | ||||
|  			stamp-h $(distdir).tar.gz h/number.h depcomp missing | ||||
|   | ||||
|   | ||||
| @@ -1,27 +1,6 @@ | ||||
| --- a/bc/fix-libmath_h | ||||
| +++ b/bc/fix-libmath_h | ||||
| @@ -1,9 +1,9 @@ | ||||
| -ed libmath.h <<EOS-EOS | ||||
| -1,1s/^/{"/ | ||||
| -1,\$s/\$/",/ | ||||
| -2,\$s/^/"/ | ||||
| -\$,\$d | ||||
| -\$,\$s/,\$/,0}/ | ||||
| -w | ||||
| -q | ||||
| -EOS-EOS | ||||
| +#!/usr/bin/env bash | ||||
| +sed -e '1   s/^/{"/' \ | ||||
| +    -e     's/$/",/' \ | ||||
| +    -e '2,$ s/^/"/'  \ | ||||
| +    -e   '$ d'       \ | ||||
| +    -i libmath.h | ||||
| + | ||||
| +sed -e '$ s/$/0}/' \ | ||||
| +    -i libmath.h | ||||
| --- a/configure | ||||
| +++ b/configure | ||||
| @@ -5288,7 +5288,7 @@ case $bcle-$bcrl-$LEX in | ||||
| @@ -5926,7 +5926,7 @@ case $bcle-$bcrl-$LEX in | ||||
|     ?-?-flex) | ||||
|  	LEX="flex -I -8" ;; | ||||
|     ?-y-*) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user