# HG changeset patch # User Pascal Bellard # Date 1465027815 -7200 # Node ID 362c1f0b500405fb26c8be6d41dd9298e0cc1174 # Parent 2ffe75bd99f7d5fa1c49c4d5270131dc0d113304 sc-im: fix build diff -r 2ffe75bd99f7 -r 362c1f0b5004 memtest/stuff/memtest86+-5.01-setup.patch --- a/memtest/stuff/memtest86+-5.01-setup.patch Fri Jun 03 21:06:09 2016 +0100 +++ b/memtest/stuff/memtest86+-5.01-setup.patch Sat Jun 04 10:10:15 2016 +0200 @@ -13,6 +13,25 @@ push %cs pop %ds lidt idt_48 - start # load idt with 0,0 +@@ -50,13 +49,13 @@ + jz alt_a20_done + + /* set or clear bit1, the ALT_A20_GATE bit */ +- movb 4(%esp), %ah +- testb %ah, %ah +- jz alt_a20_cont1 ++ //movb 4(%esp), %ah ++ //testb %ah, %ah ++ //jz alt_a20_cont1 + orb $2, %al +- jmp alt_a20_cont2 ++ //jmp alt_a20_cont2 + alt_a20_cont1: +- and $0xfd, %al ++ //and $0xfd, %al + + /* clear the INIT_NOW bit; don't accidently reset the machine */ + alt_a20_cont2: @@ -87,8 +86,8 @@ movw $KERNEL_DS, %ax movw %ax, %ds diff -r 2ffe75bd99f7 -r 362c1f0b5004 sc-im/receipt --- a/sc-im/receipt Fri Jun 03 21:06:09 2016 +0100 +++ b/sc-im/receipt Sat Jun 04 10:10:15 2016 +0200 @@ -5,7 +5,7 @@ CATEGORY="office" SHORT_DESC="Spreadsheet Calculator Improvised." MAINTAINER="paul@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/andmarti1424/sc-im" WGET_URL="git|git://github.com/andmarti1424/sc-im" @@ -16,7 +16,7 @@ compile_rules() { cd $src/src - export LDFLAGS="-Wl,--copy-dt-needed-entries" + sed -i 's|ncursesw/curses|curses|' *.c *.h make -j1 make DESTDIR=$DESTDIR install }