pkgsrc/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
mef 611e027d22 (pkgsrc)
simulavr asks for libiberty.a.
  With avr-gcc 4.5.3 and avr-binutils-2.23.2, binutils is installing
  libiberty.a
  But with new binutils-2.24, it won't install libiberty. Instead,
  avr-gcc-4.8.3 will provied libiberty.
  Makefile (of simulavr) now has pointer to PATH of libiberty now
  as:
    CONFIGURE_ARGS+=        --with-libiberty=${PREFIX}/lib/gcc/avr
(Add patches)
   patch-src_systemclock_cpp (rename from  patch-src_systemclock.cpp)
   patch-src_systemclock_h
   patch-src_traceval_cpp
   patch-src_traceval_h
     clang flags as resize unresolved reference,
     backport from git repository (as of 2013-09-15).
  patch-examples_atmel_key_StdDefs_c        Status: Locally Added
     passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
2014-08-29 04:40:06 +00:00

24 lines
580 B
C

$NetBSD: patch-regress_timertest_timer_16bit.c,v 1.2 2014/08/29 04:40:06 mef Exp $
error: attempt to use poisoned "VARNAME"
--- work/simulavr-1.0.0/regress/timertest/timer_16bit.c 2012-02-13 00:26:38.000000000 +0900
+++ regress/timertest/timer_16bit.c 2013-08-08 09:25:31.000000000 +0900
@@ -4,14 +4,14 @@
volatile int timer_ticks;
#ifdef T3TEST
-ISR(SIG_OVERFLOW3) {
+ISR(TIMER3_OVF_vect) {
timer_ticks++;
}
-ISR(SIG_OUTPUT_COMPARE3B) {
+ISR(TIMER3_COMPB_vect) {
timer_ticks++;
}
#else
-ISR(SIG_OVERFLOW1) {
+ISR(TIMER1_OVF_vect) {
timer_ticks++;
}
#endif