Changes in / [ccf86eae:3a9780d]


Ignore:
Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/fetch/eglibc.sh

    rccf86eae r3a9780d  
    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

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