diff -Nru fpc-2.6.0/debian/changelog fpc-2.6.0/debian/changelog --- fpc-2.6.0/debian/changelog 2012-12-22 09:12:58.000000000 +0000 +++ fpc-2.6.0/debian/changelog 2013-01-23 06:10:18.000000000 +0000 @@ -1,3 +1,9 @@ +fpc (2.6.0-7+rpi1) wheezy-staging; urgency=low + + * Set compiler defaults for raspbian. + + -- Peter Michael Green Wed, 23 Jan 2013 06:09:56 +0000 + fpc (2.6.0-7) unstable; urgency=low * Proofread templates by debian-l10n-english list. (Closes: Bug#686038) diff -Nru fpc-2.6.0/debian/patches/raspbian.diff fpc-2.6.0/debian/patches/raspbian.diff --- fpc-2.6.0/debian/patches/raspbian.diff 1970-01-01 01:00:00.000000000 +0100 +++ fpc-2.6.0/debian/patches/raspbian.diff 2013-01-23 06:10:18.000000000 +0000 @@ -0,0 +1,45 @@ +Description: Change compiler defaults for raspbian + We need armv6 and vfpv2 rather than armv7 and vfpv3-d16 +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +Index: fpc-2.6.0-4+rpi1/fpcsrc/compiler/options.pas +=================================================================== +--- fpc-2.6.0-4+rpi1.orig/fpcsrc/compiler/options.pas 2012-07-21 14:07:38.000000000 +0000 ++++ fpc-2.6.0-4+rpi1/fpcsrc/compiler/options.pas 2012-07-21 14:09:14.000000000 +0000 +@@ -2832,7 +2832,8 @@ + begin + if not(option.FPUSetExplicitly) then + begin +- init_settings.fputype:=fpu_vfpv3_d16 ++ //RPI -- reduce default fpu to vfpv2 ++ init_settings.fputype:=fpu_vfpv2 + end + else + begin +@@ -2858,10 +2859,11 @@ + { set default cpu type to ARMv7 for ARMHF unless specified otherwise } + if (target_info.abi = abi_eabihf) then + begin ++ // RPI - reduce default CPU to armv6 + if not option.CPUSetExplicitly then +- init_settings.cputype:=cpu_armv7; ++ init_settings.cputype:=cpu_armv6; + if not option.OptCPUSetExplicitly then +- init_settings.optimizecputype:=cpu_armv7; ++ init_settings.optimizecputype:=cpu_armv6; + end; + + {$endif arm} diff -Nru fpc-2.6.0/debian/patches/series fpc-2.6.0/debian/patches/series --- fpc-2.6.0/debian/patches/series 2012-11-14 20:31:43.000000000 +0000 +++ fpc-2.6.0/debian/patches/series 2013-01-23 06:10:18.000000000 +0000 @@ -5,3 +5,4 @@ armhf-linker-path.diff fix-vfp-exceptions.diff fix-creating-help-index-on-read-only-file-system.diff +raspbian.diff