Changes in / [3a9780d:ccf86eae]
- Location:
- scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/eglibc.sh
r3a9780d rccf86eae 70 70 find . -name configure -exec touch {} \; 71 71 72 # Create Acopy of the Original Directory So We can do some Updates72 # Create a copy of the Original Directory So We can do some Updates 73 73 # 74 74 cd ~/tmp/eglibc-${SOURCEVERSION} -
scripts/patch/binutils-patch.sh
r3a9780d rccf86eae 111 111 unset DATE_STAMP 112 112 113 # Create Another Copy to create fixes patch113 # Create a copy of the Original Directory So We can do some Updates 114 114 # 115 115 cd ~/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 # 116 126 if [ -e ${PATCH_DIR}/${SOURCEVERSION} ]; then 117 rm -rf binutils-${SOURCEVERSION}.orig118 cp -ar binutils-${SOURCEVERSION} binutils-${SOURCEVERSION}.orig119 127 120 128 # Apply Patches from directories … … 140 148 done 141 149 fi 150 fi 142 151 143 144 145 146 147 148 149 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 150 159 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 # 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." 166 174 167 175 # Cleanup Directory
Note:
See TracChangeset
for help on using the changeset viewer.