pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/pilot-link Fix GCC 3.3.1 related build problem.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/510820a29101
branches:  trunk
changeset: 462239:510820a29101
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Sep 28 15:09:50 2003 +0000

description:
Fix GCC 3.3.1 related build problem.

diffstat:

 comms/pilot-link/distinfo         |     3 +-
 comms/pilot-link/patches/patch-ae |  1312 +++++++++++++++++++++++++++++++++++++
 2 files changed, 1314 insertions(+), 1 deletions(-)

diffs (truncated from 1330 to 300 lines):

diff -r 02efa5c986f7 -r 510820a29101 comms/pilot-link/distinfo
--- a/comms/pilot-link/distinfo Sun Sep 28 15:09:48 2003 +0000
+++ b/comms/pilot-link/distinfo Sun Sep 28 15:09:50 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/01/10 04:30:18 rh Exp $
+$NetBSD: distinfo,v 1.13 2003/09/28 15:09:50 tron Exp $
 
 SHA1 (pilot-link-0.11.7.tar.bz2) = f1ae56d3aad5d793f58fac4d3a51ca0c0f517262
 Size (pilot-link-0.11.7.tar.bz2) = 669470 bytes
@@ -6,3 +6,4 @@
 SHA1 (patch-ab) = add1156600a681cc0ae30c5d9095b4f1bb6739c3
 SHA1 (patch-ac) = 1a5c5946a23850910849d3f58011b2e9086d7641
 SHA1 (patch-ad) = 91e0a72a0f2d313173024c9edacfa0b92fb33b3d
+SHA1 (patch-ae) = a7e84e6fc2b7414c63e4306da5df3cd840b2a6ca
diff -r 02efa5c986f7 -r 510820a29101 comms/pilot-link/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/pilot-link/patches/patch-ae Sun Sep 28 15:09:50 2003 +0000
@@ -0,0 +1,1312 @@
+$NetBSD: patch-ae,v 1.4 2003/09/28 15:09:50 tron Exp $
+
+--- src/pilot-debug.c.orig     2002-12-02 15:32:47.000000000 +0100
++++ src/pilot-debug.c  2003-09-28 17:08:23.000000000 +0200
+@@ -1549,526 +1549,524 @@
+     return TCL_OK;
+   }
+ 
+-  Tcl_VarEval(interp,"\
+-
+-###  /*** Generate remote UI window ***/
+-
+-set tkdbg 1
+-
+-toplevel .remote
+-wm title .remote {Palm Remote UI}
+-
+-catch {
+-      if {[file exists {tools/pix/case.gif}]} {
+-              set dir {tools}
+-      } elseif {[file exists {",LIBDIR,"/pix/case.gif}]} {
+-              set dir {",LIBDIR,"/pix}
+-      } else {
+-              error {No pix}
+-      }
+-      image create photo Case -format gif -file \"$dir/pix/case.gif\"
+-      image create photo B1 -format gif -file \"$dir/pix/b1.gif\"
+-      image create photo B2 -format gif -file \"$dir/pix/b2.gif\"
+-      image create photo B3 -format gif -file \"$dir/pix/b3.gif\"
+-      image create photo B4 -format gif -file \"$dir/pix/b4.gif\"
+-      image create photo B5 -format gif -file \"$dir/pix/b5.gif\"
+-      image create photo B6 -format gif -file \"$dir/pix/b6.gif\"
+-      image create photo B7 -format gif -file \"$dir/pix/b7.gif\"
+-}
+-
+-canvas .remote.c -width 221 -height 337
+-
+-.remote.c create rectangle 27 29 196 260 -outline {red} -tag screen -fill {blue}
+-.remote.c create rectangle 0 280 18 306 -outline {red} -tag button1 -fill {blue}
+-.remote.c create oval 23 276 52 307 -outline {red} -tag button2 -fill {blue}
+-.remote.c create oval 63 276 92 307 -outline {red} -tag button3 -fill {blue}
+-.remote.c create rectangle 97 277 127 294 -outline {red} -tag button4 -fill {blue}
+-.remote.c create rectangle 97 300 127 317 -outline {red} -tag button5 -fill {blue}
+-.remote.c create oval 133 276 162 307 -outline {red} -tag button6 -fill {blue}
+-.remote.c create oval 171 276 200 307 -outline {red} -tag button7 -fill {blue}
+-
+-.remote.c create rectangle 33 32 187 253 -outline black -tag screen
+-.remote.c create rectangle 33 200 61 225 -outline black -tag screen
+-.remote.c create rectangle 33 225 61 253 -outline black -tag screen
+-.remote.c create rectangle 160 200 187 225 -outline black -tag screen
+-.remote.c create rectangle 160 225 187 253 -outline black -tag screen
+-.remote.c create rectangle 62 200 159 253 -outline black -tag screen
+-
+-set buttons(1) 0
+-
+-proc holdbutton {button} {
+-      global buttons
+-      if {$button==1} {
+-              set buttons($button) [after 1000 \"continuebutton $button\"]
+-      } else {
+-              pushbutton $button
+-              set buttons($button) [after 250 \"holdbutton $button\"]
+-      }
+-}
+-
+-proc continuebutton {button} {
+-      global buttons
+-      if {$button==1} {
+-              pushbutton 0
+-      }
+-      set buttons($button) \"\"
+-}
+-
+-proc releasebutton {button} {
+-      global buttons
+-      if {$buttons($button)!=\"\"} {
+-              if {$button==1} {
+-                      pushbutton 1
+-              }
+-              after cancel $buttons($button)
+-              set buttons($button) \"\"
+-      }
+-}
+-
+-.remote.c bind button1 <ButtonPress-1> {.remote.c itemconfigure button1 -fill green; update; holdbutton 1}
+-.remote.c bind button1 <ButtonRelease-1> {.remote.c itemconfigure button1 -fill blue; releasebutton 1}
+-
+-.remote.c bind button2 <ButtonPress-1> {.remote.c itemconfigure button2 -fill green; update; holdbutton 2}
+-.remote.c bind button2 <ButtonRelease-1> {.remote.c itemconfigure button2 -fill blue; releasebutton 2}
+-
+-.remote.c bind button3 <ButtonPress-1> {.remote.c itemconfigure button3 -fill green; update; holdbutton 3}
+-.remote.c bind button3 <ButtonRelease-1> {.remote.c itemconfigure button3 -fill blue; releasebutton 3}
+-
+-.remote.c bind button4 <ButtonPress-1> {.remote.c itemconfigure button4 -fill green; update; holdbutton 4}
+-.remote.c bind button4 <ButtonRelease-1> {.remote.c itemconfigure button4 -fill blue; releasebutton 4}
+-
+-.remote.c bind button5 <ButtonPress-1> {.remote.c itemconfigure button5 -fill green; update; holdbutton 5}
+-.remote.c bind button5 <ButtonRelease-1> {.remote.c itemconfigure button5 -fill blue; releasebutton 5}
+-
+-.remote.c bind button6 <ButtonPress-1> {.remote.c itemconfigure button6 -fill green; update; holdbutton 6}
+-.remote.c bind button6 <ButtonRelease-1> {.remote.c itemconfigure button6 -fill blue; releasebutton 6}
+-
+-.remote.c bind button7 <ButtonPress-1> {.remote.c itemconfigure button7 -fill green; update; holdbutton 7}
+-.remote.c bind button7 <ButtonRelease-1> {.remote.c itemconfigure button7 -fill blue; releasebutton 7}
+-
+-catch {
+-      .remote.c create image 0 282 -image B1 -anchor nw -tag downbutton1
+-      .remote.c create image 22 274 -image B2 -anchor nw -tag downbutton2
+-      .remote.c create image 60 275 -image B3 -anchor nw -tag downbutton3
+-      .remote.c create image 93 278 -image B4 -anchor nw -tag downbutton4
+-      .remote.c create image 95 298 -image B5 -anchor nw -tag downbutton5
+-      .remote.c create image 131 275 -image B6 -anchor nw -tag downbutton6
+-      .remote.c create image 169 274 -image B7 -anchor nw -tag downbutton7
+-
+-      .remote.c create image 0 0 -image Case -anchor nw
+-
+-      .remote.c bind button1 <ButtonPress-1> {.remote.c raise downbutton1; update; holdbutton 1}
+-      .remote.c bind button1 <ButtonRelease-1> {.remote.c lower downbutton1; releasebutton 1}
+-
+-      .remote.c bind button2 <ButtonPress-1> {.remote.c raise downbutton2; update; holdbutton 2}
+-      .remote.c bind button2 <ButtonRelease-1> {.remote.c lower downbutton2; releasebutton 2}
+-
+-      .remote.c bind button3 <ButtonPress-1> {.remote.c raise downbutton3; update; holdbutton 3}
+-      .remote.c bind button3 <ButtonRelease-1> {.remote.c lower downbutton3; releasebutton 3}
+-
+-      .remote.c bind button4 <ButtonPress-1> {.remote.c raise downbutton4; update; holdbutton 4}
+-      .remote.c bind button4 <ButtonRelease-1> {.remote.c lower downbutton4; releasebutton 4}
+-
+-      .remote.c bind button5 <ButtonPress-1> {.remote.c raise downbutton5; update; holdbutton 5}
+-      .remote.c bind button5 <ButtonRelease-1> {.remote.c lower downbutton5; releasebutton 5}
+-
+-      .remote.c bind button6 <ButtonPress-1> {.remote.c raise downbutton6; update; holdbutton 6}
+-      .remote.c bind button6 <ButtonRelease-1> {.remote.c lower downbutton6; releasebutton 6}
+-
+-      .remote.c bind button7 <ButtonPress-1> {.remote.c raise downbutton7; update; holdbutton 7}
+-      .remote.c bind button7 <ButtonRelease-1> {.remote.c lower downbutton7; releasebutton 7}
+-      
+-      
+-      .remote.c itemconfigure button1 -outline {} -fill {}
+-      .remote.c raise button1
+-      .remote.c itemconfigure button2 -outline {} -fill {}
+-      .remote.c raise button2
+-      .remote.c itemconfigure button3 -outline {} -fill {}
+-      .remote.c raise button3
+-      .remote.c itemconfigure button4 -outline {} -fill {}
+-      .remote.c raise button4
+-      .remote.c itemconfigure button5 -outline {} -fill {}
+-      .remote.c raise button5
+-      .remote.c itemconfigure button6 -outline {} -fill {}
+-      .remote.c raise button6
+-      .remote.c itemconfigure button7 -outline {} -fill {}
+-      .remote.c raise button7
+-      .remote.c itemconfigure screen -outline {} -fill {}
+-      .remote.c raise screen
+-}
+-
+-pack .remote.c -side top
+-
+-.remote.c bind screen <ButtonPress-1> {pen %x %y 1}
+-.remote.c bind screen <B1-Motion> {pen %x %y 1}
+-.remote.c bind screen <ButtonRelease-1> {pen %x %y 0}
+-
+-global KeyQueue
+-global KeyQueueId
+-global KeyQueueDelay
+-set KeyQueue {}
+-set KeyQueueId {}
+-set KeyQueueDelay 50
+-
+-proc readyqueue {} {
+-    global KeyQueueId
+-    global KeyQueueDelay
+-    if {$KeyQueueId == {}} {
+-      after $KeyQueueDelay { set KeyQueueId [ after idle {sendqueue} ] }
+-    }
+-}
+-
+-proc queuekey {c} {
+-    global KeyQueue
+-    append KeyQueue $c
+-    readyqueue
+-}
+-
+-proc sendqueue {} {
+-    global KeyQueue
+-    global KeyQueueId
+-    if {[string length $KeyQueue] > 0} {
+-      key [string index $KeyQueue 0]
+-      set KeyQueue [string range $KeyQueue 1 end]
+-    }
+-    set KeyQueueId {}
+-    if {[string length $KeyQueue] > 0} { readyqueue }
+-}
+-
+-bind .remote <KeyPress> {queuekey %A}
+-
+-## Handle pasting
+-proc do_paste { } {
+-    if [catch {selection get} sel] {
+-      if [catch {selection get -selection CLIPBOARD} sel] {
+-          return
+-      }
+-    }
+-    queuekey $sel
+-}
+-bind .remote <ButtonPress-2> {do_paste}
+-
+-#####  /*** Generate remote console window ***/
+-
+-toplevel .console
+-wm title .console \"Palm Remote Console\"
+-scrollbar .console.y -orient vertical -command {.console.t yview}
+-text .console.t -yscrollcommand {.console.y set}
+-pack .console.t -fill both -expand yes -side left
+-pack .console.y -fill y -side right
+-focus .console.t
+-
+-####  /*** Generate pilot state window ***/
+-
+-toplevel .state
+-wm title .state {Palm State}
+-label .state.l1 -text {Active mode:}
+-label .state.l1x -text {Battery:}
+-label .state.l2 -text {Exception:}
+-label .state.l25 -text {Reset:}
+-label .state.l3 -text {Function:}
+-label .state.l4 -text {F-start:}
+-label .state.l5 -text {F-end:}
+-label .state.l6 -text {D0:}
+-label .state.l7 -text {A0:}
+-label .state.l8 -text {D1:}
+-label .state.l9 -text {A1:}
+-label .state.l10 -text {D2:}
+-label .state.l11 -text {A2:}
+-label .state.l12 -text {D3:}
+-label .state.l13 -text {A3:}
+-label .state.l14 -text {D4:}
+-label .state.l15 -text {A4:}
+-label .state.l16 -text {D5:}
+-label .state.l17 -text {A5:}
+-label .state.l18 -text {D6:}
+-label .state.l19 -text {A6:}
+-label .state.l20 -text {D7:}
+-
+-label .state.l21 -text {PC:}
+-label .state.l22 -text {SR:}
+-label .state.l23 -text {USP:}
+-label .state.l24 -text {SSP:}
+-
+-label .state.halted -text {None}
+-label .state.battery -text {Unknown}
+-label .state.exception -text {0}
+-label .state.reset -text {No}
+-label .state.funcname -text {}
+-label .state.funcstart -text {00000000}
+-label .state.funcend -text {00000000}
+-label .state.d0 -text {00000000}
+-label .state.a0 -text {00000000}
+-label .state.d1 -text {00000000}
+-label .state.a1 -text {00000000}
+-label .state.d2 -text {00000000}
+-label .state.a2 -text {00000000}
+-label .state.d3 -text {00000000}
+-label .state.a3 -text {00000000}
+-label .state.d4 -text {00000000}
+-label .state.a4 -text {00000000}
+-label .state.d5 -text {00000000}
+-label .state.a5 -text {00000000}
+-label .state.d6 -text {00000000}
+-label .state.a6 -text {00000000}
+-label .state.d7 -text {00000000}
+-label .state.pc -text {00000000}
+-label .state.sr -text {0000}
+-label .state.usp -text {00000000}
+-label .state.ssp -text {00000000}
+-
+-grid .state.l1 -column 0 -row 0 -sticky e -columnspan 2
+-grid .state.halted -column 2 -row 0 -sticky w -columnspan 2
+-
+-grid .state.l1x -column 0 -row 1 -sticky e -columnspan 2
+-grid .state.battery -column 2 -row 1 -sticky w -columnspan 2
+-



Home | Main Index | Thread Index | Old Index