Revision: 7400
          http://sourceforge.net/p/ipcop/svn/7400
Author:   owes
Date:     2014-04-04 12:48:55 +0000 (Fri, 04 Apr 2014)
Log Message:
-----------
Use bc 1.06.95 which is not a stable release, but in use by many distros since 
long time.

Modified Paths:
--------------
    ipcop/trunk/lfs/bc

Modified: ipcop/trunk/lfs/bc
===================================================================
--- ipcop/trunk/lfs/bc  2014-04-04 08:36:48 UTC (rev 7399)
+++ ipcop/trunk/lfs/bc  2014-04-04 12:48:55 UTC (rev 7400)
@@ -32,13 +32,13 @@
 include Config
 
 PKG_NAME   = bc
-VER        = 1.06
+VER        = 1.06.95
 HOST_ARCH  = all
 OTHER_SRC  = yes
 
 THISAPP    = $(PKG_NAME)-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_GNU)/$(PKG_NAME)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_AGNU)/$(PKG_NAME)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
@@ -50,7 +50,7 @@
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d44b5dddebd8a7a7309aea6c36fda117
+$(DL_FILE)_MD5 = 5126a721b73f97d715bb72c13c889035
 
 install : $(TARGET)
 
@@ -79,11 +79,7 @@
 
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && sed -i '/PROTO.*readline/d' bc/scan.l                  
# fix Readline library call
-       cd $(DIR_APP) && sed -i '/flex -I8/s/8//' configure                     
# fix the Flex invocation
-       cd $(DIR_APP) && sed -i '/stdlib/a #include <string.h>' lib/number.c    
# fix the Flex invocation
-       cd $(DIR_APP) && sed -i 's/program.*save/static &/' bc/load.c           
# fixes a segfault when running bc with bc -l
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr --with-readline
        cd $(DIR_APP) && make
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to