Changes in / [3a9780d:ccf86eae]


Ignore:
Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/fetch/eglibc.sh

    r3a9780d rccf86eae  
    7070find . -name configure -exec touch {} \;
    7171
    72 # Create A copy of the Original Directory So We can do some Updates
     72# Create a copy of the Original Directory So We can do some Updates
    7373#
    7474cd ~/tmp/eglibc-${SOURCEVERSION}
  • scripts/patch/binutils-patch.sh

    r3a9780d rccf86eae  
    111111unset DATE_STAMP
    112112
    113 # Create Another Copy to create fixes patch
     113# Create a copy of the Original Directory So We can do some Updates
    114114#
    115115cd ~/tmp
     116rm -rf binutils-${SOURCEVERSION}.orig
     117cp -ar binutils-${SOURCEVERSION} binutils-${SOURCEVERSION}.orig
     118
     119# Make testsuite fixes
     120#
     121cd ~/tmp/binutils-${SOURCEVERSION}
     122sed -i -e 's/getline/_getline/' libiberty/testsuite/test-demangle.c
     123
     124# Create fixes patch
     125#
    116126if [ -e ${PATCH_DIR}/${SOURCEVERSION} ]; then
    117   rm -rf binutils-${SOURCEVERSION}.orig
    118   cp -ar binutils-${SOURCEVERSION} binutils-${SOURCEVERSION}.orig
    119127
    120128  # Apply Patches from directories
     
    140148    done
    141149  fi
     150fi
    142151
    143   # Cleanup Directory
    144   #
    145   cd ~/tmp/binutils-${SOURCEVERSION}
    146   rm -f $(find * -name "*~")
    147   rm -f $(find * -name "*.orig")
    148   rm -f $(find * -name "*.rej")
    149   rm -f *.orig *~ *.rej
     152# Cleanup Directory
     153#
     154cd ~/tmp/binutils-${SOURCEVERSION}
     155rm -f $(find * -name "*~")
     156rm -f $(find * -name "*.orig")
     157rm -f $(find * -name "*.rej")
     158rm -f *.orig *~ *.rej
    150159
    151   # Create Patch
    152   #
    153   cd ~/tmp
    154   install -d ~/patches
    155   echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    156   echo "Date: `date +%m-%d-%Y`" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    157   echo "Initial Package Version: ${VERSION}" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    158   echo "Origin: Upstream" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    159   echo "Upstream Status: Applied" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    160   echo "Description: This Patch contains fixes for binutils-${SOURCEVERSION}, and should be" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    161   echo "             rechecked periodically." >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    162   echo "" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    163   diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
    164   echo "Created ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch."
    165 fi
     160# Create Patch
     161#
     162cd ~/tmp
     163install -d ~/patches
     164echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     165echo "Date: `date +%m-%d-%Y`" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     166echo "Initial Package Version: ${VERSION}" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     167echo "Origin: Upstream" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     168echo "Upstream Status: Applied" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     169echo "Description: This Patch contains fixes for binutils-${SOURCEVERSION}, and should be" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     170echo "             rechecked periodically." >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     171echo "" >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     172diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch
     173echo "Created ~/patches/binutils-${SOURCEVERSION}-fixes-${PATCH_NUM2}.patch."
    166174
    167175# Cleanup Directory
Note: See TracChangeset for help on using the changeset viewer.