]> git.ipfire.org Git - people/amarx/ipfire-2.x.git/commitdiff
icecc: Update to 0.9.7.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Aug 2012 12:28:33 +0000 (14:28 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Aug 2012 12:28:33 +0000 (14:28 +0200)
Add patch for ARM support.

lfs/icecc
src/patches/icecream-0.9.7-platform-arm.patch [new file with mode: 0644]

index d661b193b4f0a9b2d7bb8f4dce97e118eb8df210..9c9651cde4f6afbe68a08a389fe16bcf826f8f00 100644 (file)
--- a/lfs/icecc
+++ b/lfs/icecc
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.9.6
+VER        = 0.9.7
 
 THISAPP    = icecc-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = icecc
-PAK_VER    = 2
+PAK_VER    = 3
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = c6dacb3f28eade45f603a99245cde4fd
+$(DL_FILE)_MD5 = c06900c2f4011428d0d48826a04f74fb
 
 install : $(TARGET)
 
@@ -78,6 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/icecream-rename-scheduler.patch
+       cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/icecream-0.9.7-platform-arm.patch
        cd $(DIR_APP) && ./configure \
                                --prefix=/opt/icecream
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
diff --git a/src/patches/icecream-0.9.7-platform-arm.patch b/src/patches/icecream-0.9.7-platform-arm.patch
new file mode 100644 (file)
index 0000000..53402f0
--- /dev/null
@@ -0,0 +1,22 @@
+Index: services/scheduler.cpp
+===================================================================
+--- services/scheduler.cpp     (revision 1310078)
++++ services/scheduler.cpp     (working copy)
+@@ -52,7 +52,7 @@
+ #include "config.h"
+ #include "bench.h"
+-#define DEBUG_SCHEDULER 0
++#define DEBUG_SCHEDULER 1
+ /* TODO:
+    * leak check
+@@ -613,6 +613,8 @@
+       platform_map.insert( make_pair( string( "ppc" ), string( "ppc64" ) ) );
+       platform_map.insert( make_pair( string( "s390" ), string( "s390x" ) ) );
++
++      platform_map.insert( make_pair( string( "armv5tel"), string( "armv7l" ) ) );
+     }
+   multimap<string, string>::const_iterator end = platform_map.upper_bound( target );