aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/ede/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-29 18:28:21 +0800
committerkrion <krion@FreeBSD.org>2004-02-29 18:28:21 +0800
commitaa8768ce99bc9762a534c97c4c3b8e3b6d9e7436 (patch)
treea6e6d7d9451e37e764247bd12b04b12e979d57f6 /x11-wm/ede/files
parente90bdc002953ac713087e019f60bbda2e0351502 (diff)
downloadfreebsd-ports-gnome-aa8768ce99bc9762a534c97c4c3b8e3b6d9e7436.tar.gz
freebsd-ports-gnome-aa8768ce99bc9762a534c97c4c3b8e3b6d9e7436.tar.zst
freebsd-ports-gnome-aa8768ce99bc9762a534c97c4c3b8e3b6d9e7436.zip
Add ede 1.0.1,
Equinox Desktop Environment. Main goals of this project are simplicity, speed, minimal memory usage (if possible), good look and fell and stability. PR: ports/63518 Submitted by: Sergey Matveychuk <sem@ciam.ru>
Diffstat (limited to 'x11-wm/ede/files')
-rw-r--r--x11-wm/ede/files/patch-datas::desktop-links::Makefile.am10
-rw-r--r--x11-wm/ede/files/patch-datas::startede.in22
-rw-r--r--x11-wm/ede/files/patch-efinder::eglob.cpp25
-rw-r--r--x11-wm/ede/files/patch-esvrconf::ehacklist.h389
-rw-r--r--x11-wm/ede/files/patch-etimedate::fl_time.cpp84
-rw-r--r--x11-wm/ede/files/patch-eworkpanel::cpumonitor.cpp11
-rw-r--r--x11-wm/ede/files/patch-eworkpanel::cpumonitor.h11
7 files changed, 552 insertions, 0 deletions
diff --git a/x11-wm/ede/files/patch-datas::desktop-links::Makefile.am b/x11-wm/ede/files/patch-datas::desktop-links::Makefile.am
new file mode 100644
index 000000000000..a1331683daa3
--- /dev/null
+++ b/x11-wm/ede/files/patch-datas::desktop-links::Makefile.am
@@ -0,0 +1,10 @@
+--- datas/desktop-links/Makefile.am.orig Sat Feb 28 04:54:22 2004
++++ datas/desktop-links/Makefile.am Sat Feb 28 04:54:29 2004
+@@ -1,7 +1,6 @@
+ desktopdir = $(datadir)/ede/.ede/desktop
+
+ DESKTOPLINKS = \
+- datas.desktop \
+ Internet.desktop \
+ Terminal.desktop
+
diff --git a/x11-wm/ede/files/patch-datas::startede.in b/x11-wm/ede/files/patch-datas::startede.in
new file mode 100644
index 000000000000..9856ae4a2462
--- /dev/null
+++ b/x11-wm/ede/files/patch-datas::startede.in
@@ -0,0 +1,22 @@
+--- datas/startede.in.orig Sat Feb 28 05:31:52 2004
++++ datas/startede.in Sat Feb 28 05:32:14 2004
+@@ -32,16 +32,16 @@
+ fi
+
+ # If we have xsetroot than script shoult run it
+-if [ ! "$XSETROOT" ]; then
++if [ ! -z "$XSETROOT" ]; then
+ $XSETROOT -solid black
+ fi
+
+ # Test if XScreenSaver is somewhere in PATH, if not - don't start it
+-if [ ! "$XSSAVER" ]; then
++if [ ! -z "$XSSAVER" ]; then
+ xscreensaver -nosplash &
+ fi
+
+ exec edewm &
+ exec eiconman &
+ etip &
+- exec eworkpanel
++ eworkpanel
diff --git a/x11-wm/ede/files/patch-efinder::eglob.cpp b/x11-wm/ede/files/patch-efinder::eglob.cpp
new file mode 100644
index 000000000000..f602317a5380
--- /dev/null
+++ b/x11-wm/ede/files/patch-efinder::eglob.cpp
@@ -0,0 +1,25 @@
+--- efinder/eglob.cpp.orig Sat Feb 28 04:48:43 2004
++++ efinder/eglob.cpp Sat Feb 28 04:49:07 2004
+@@ -74,14 +74,14 @@
+
+ static char *ftypes[9] =
+ {
+- {"Any kind"},
+- {"Regular"},
+- {"Directory"},
+- {"Symlink"},
+- {"Socket"},
+- {"Block device"},
+- {"Character device"},
+- {"FIFO"},
++ "Any kind",
++ "Regular",
++ "Directory",
++ "Symlink",
++ "Socket",
++ "Block device",
++ "Character device",
++ "FIFO",
+ NULL
+ };
+
diff --git a/x11-wm/ede/files/patch-esvrconf::ehacklist.h b/x11-wm/ede/files/patch-esvrconf::ehacklist.h
new file mode 100644
index 000000000000..a90950c6097d
--- /dev/null
+++ b/x11-wm/ede/files/patch-esvrconf::ehacklist.h
@@ -0,0 +1,389 @@
+--- esvrconf/ehacklist.h.orig Sat Feb 28 04:52:22 2004
++++ esvrconf/ehacklist.h Sat Feb 28 04:16:07 2004
+@@ -18,195 +18,194 @@
+
+ // This is from xscreensaver 4.0 XScreenSaver.ad
+
+-char hacks[] = " \
+- \"Qix (solid)\" qix -root -solid -segments 100 \n\
+- \"Qix (transparent)\" qix -root -count 4 -solid -transparent \n\
+- \"Qix (linear)\" qix -root -count 5 -solid -transparent \
+- -linear -segments 250 -size 100 \n\
+-- mono: \"Qix (xor)\" qix -root -linear -count 5 -size 200 \
+- -spread 30 -segments 75 -solid -xor \n\
+- \
+- \"Attraction (balls)\" attraction -root -mode balls \n\
+- \"Attraction (lines)\" attraction -root -mode lines -points 3
+- -segments 200 \n\
+-- \"Attraction (poly)\" attraction -root -mode polygons \n\
+- \"Attraction (splines)\" attraction -root -mode splines -segments \
+- 300 \n\
+- \"Attraction (orbital)\" attraction -root -mode lines -radius 300 \
+- -orbit -vmult 0.5 \n\
+- \
+- pyro -root \n\
+- rocks -root \n\
+- helix -root \n\
+- pedal -root \n\
+- rorschach -root -offset 7 \n\
+- hopalong -root \n\
+- greynetic -root \n\
+- imsmap -root \n\
+- slidescreen -root \n\
+- decayscreen -root \n\
+- jigsaw -root \n\
+- blitspin -root -grab \n\
+- slip -root \n\
+- distort -root \n\
+- spotlight -root \n\
+- \"Ripples (oily)\" ripples -root -oily -light 2 \n\
+- \"Ripples (stir)\" ripples -root -oily -light 2 -stir \n\
+- \"Ripples (desktop)\" ripples -root -water -light 6 \n\
+- hypercube -root \n\
+- hyperball -root \n\
+- halo -root \n\
+- maze -root \n\
+- noseguy -root \n\
+- flame -root \n\
+- lmorph -root \n\
+- deco -root \n\
+- moire -root \n\
+- moire2 -root \n\
+- lightning -root \n\
+- strange -root \n\
+- spiral -root \n\
+- laser -root \n\
+- grav -root \n\
+- \"Grav (trails)\" grav -root -trail -decay \n\
+- drift -root \n\
+- ifs -root \n\
+- julia -root \n\
+- penrose -root \n\
+- sierpinski -root \n\
+- braid -root \n\
+- galaxy -root \n\
+- bouboule -root \n\
+- swirl -root \n\
+- flag -root \n\
+- sphere -root \n\
+- forest -root \n\
+- lisa -root \n\
+- lissie -root \n\
+- goop -root -max-velocity 0.5 -elasticity \
+- 0.9 \n\
+- starfish -root \n\
+- \"Starfish (blob)\" starfish -root -blob \n\
+- munch -root \n\
+- fadeplot -root \n\
+- coral -root -delay 0 \n\
+- mountain -root \n\
+- triangle -root -delay 1 \n\
+- worm -root \n\
+- rotor -root \n\
+- ant -root \n\
+- demon -root \n\
+- loop -root \n\
+- vines -root \n\
+- kaleidescope -root \n\
+- xjack -root \n\
+- xlyap -root -randomize \n\
+- cynosure -root \n\
+- flow -root \n\
+- epicycle -root \n\
+- interference -root \n\
+- truchet -root -randomize \n\
+- bsod -root \n\
+- crystal -root \n\
+- discrete -root \n\
+- kumppa -root \n\
+- rd-bomb -root \n\
+- \"RD-Bomb (mobile)\" rd-bomb -root -speed 1 -size 0.1 \n\
+- sonar -root \n\
+- t3d -root \n\
+- penetrate -root \n\
+- deluxe -root \n\
+- compass -root \n\
+- squiral -root \n\
+- xflame -root \n\
+- wander -root \n\
+- \"Wander (spots)\" wander -root -advance 0 -size 10 -circles \
+- -length 10000 -reset 100000 \n\
+- critical -root \n\
+- phosphor -root \n\
+- xmatrix -root \n\
+- petri -root -size 2 -count 20 \n\
+- \"Petri 2\" petri -root -minlifespeed 0.02 \
+- -maxlifespeed 0.03 -minlifespan 1 \
+- -maxlifespan 1 -instantdeathchan 0 \
+- -minorchan 0 -anychan 0.3 \n\
+- shadebobs -root \n\
+- ccurve -root \n\
+- blaster -root \n\
+- bumps -root \n\
+- xteevee -root \n\
+- xspirograph -root \n\
+- nerverot -root \n\
+-- \"NerveRot (dense)\" nerverot -root -count 1000 \n\
+-- \"NerveRot (thick)\" nerverot -root -count 100 -line-width 4 \
+- -max-nerve-radius 0.8 -nervousness 0.5 -db \n\
+- xrayswarm -root \n\
+-- \"Zoom (Fatbits)\" zoom -root \n\
+- \"Zoom (Lenses)\" zoom -root -lenses \n\
+- rotzoomer -root \n\
+-- \"RotZoomer (mobile)\" rotzoomer -root -move \n\
+-- \"RotZoomer (sweep)\" rotzoomer -root -sweep \n\
+- whirlwindwarp -root \n\
+- \"WhirlyGig\" whirlygig -root \n\
+- \"SpeedMine\" speedmine -root \n\
+- \"SpeedWorm\" speedmine -root -worm \n\
+- vermiculate -root \n\
+- color: bubbles -root \n\
+- default-n: webcollage -root \n\
+- default-n: \"WebCollage (whacked)\" \
+- webcollage -root -filter \
+- 'vidwhacker -stdin -stdout' \n\
+-- default-n: vidwhacker -root \n\
+- \
+- GL: gears -root \n\
+- GL: \"Gears (planetary)\" gears -root -planetary \n\
+- GL: superquadrics -root \n\
+- GL: morph3d -root \n\
+- GL: cage -root \n\
+- GL: moebius -root \n\
+- GL: stairs -root \n\
+- GL: pipes -root \n\
+- GL: sproingies -root \n\
+- GL: rubik -root \n\
+- GL: atlantis -root \n\
+- GL: lament -root \n\
+- GL: bubble3d -root \n\
+- GL: glplanet -root \n\
+- GL: pulsar -root \n\
+-- GL: \"Pulsar (textures)\" \
+- pulsar -root -texture -mipmap \
+- -texture_quality -light -fog \n\
+-- GL: extrusion -root \n\
+- GL: sierpinski3d -root \n\
+- GL: menger -root \n\
+- GL: \"GFlux\" gflux -root \n\
+- GL: \"GFlux (grab)\" gflux -root -mode grab \n\
+- GL: stonerview -root \n\
+- GL: starwars -root \n\
+- GL: gltext -root \n\
+- GL: \"GLText (clock)\" gltext -text \"%A%n%d %b %Y%n%r\" -root \n\
+- GL: \"Molecule\" molecule -root \n\
+- GL: \"Molecule (lumpy)\" molecule -root -no-bonds -no-labels \n\
+- GL: dangerball -root \n\
+- GL: circuit -root \n\
+- GL: engine -root \n\
+- GL: flipscreen3d -root \n\
+- \
+-- xdaliclock -root -builtin3 -cycle \n\
+-- default-n: xearth -nofork -nostars -ncolors 50 \
+- -night 3 -wait 0 -timewarp 400.0 -pos \
+- sunrel/38/-30 \n\
+-- xplanetbg -xscreensaver -moonside \
+- -markerfile earth -wait 1 -timewarp 400 \n\
+-- ssystem -fullscreen :32 \n\
+-- xmountains -b -M -Z 0 -r 1 \n\
+-- \"XMountains (top)\" xmountains -b -M -Z 0 -r 1 -m \n\
+-- xaos -fullscreen -autopilot \
+- -incoloring -1 -outcoloring -1 \n\
+-- xfishtank -d -s \n\
+-- xsnow \n\
+-- goban -root \n\
+-- electricsheep \n\
+-- cosmos -root \n\
+-- GL: sphereEversion --root \n";
+-
++char hacks[] = " "\
++" \"Qix (solid)\" qix -root -solid -segments 100 \n"\
++" \"Qix (transparent)\" qix -root -count 4 -solid -transparent \n"\
++" \"Qix (linear)\" qix -root -count 5 -solid -transparent "\
++" -linear -segments 250 -size 100 \n"\
++"- mono: \"Qix (xor)\" qix -root -linear -count 5 -size 200 "\
++" -spread 30 -segments 75 -solid -xor \n"\
++" "\
++" \"Attraction (balls)\" attraction -root -mode balls \n"\
++" \"Attraction (lines)\" attraction -root -mode lines -points 3 "\
++" -segments 200 \n"\
++"- \"Attraction (poly)\" attraction -root -mode polygons \n"\
++" \"Attraction (splines)\" attraction -root -mode splines -segments "\
++" 300 \n"\
++" \"Attraction (orbital)\" attraction -root -mode lines -radius 300 "\
++" -orbit -vmult 0.5 \n"\
++" "\
++" pyro -root \n"\
++" rocks -root \n"\
++" helix -root \n"\
++" pedal -root \n"\
++" rorschach -root -offset 7 \n"\
++" hopalong -root \n"\
++" greynetic -root \n"\
++" imsmap -root \n"\
++" slidescreen -root \n"\
++" decayscreen -root \n"\
++" jigsaw -root \n"\
++" blitspin -root -grab \n"\
++" slip -root \n"\
++" distort -root \n"\
++" spotlight -root \n"\
++" \"Ripples (oily)\" ripples -root -oily -light 2 \n"\
++" \"Ripples (stir)\" ripples -root -oily -light 2 -stir \n"\
++" \"Ripples (desktop)\" ripples -root -water -light 6 \n"\
++" hypercube -root \n"\
++" hyperball -root \n"\
++" halo -root \n"\
++" maze -root \n"\
++" noseguy -root \n"\
++" flame -root \n"\
++" lmorph -root \n"\
++" deco -root \n"\
++" moire -root \n"\
++" moire2 -root \n"\
++" lightning -root \n"\
++" strange -root \n"\
++" spiral -root \n"\
++" laser -root \n"\
++" grav -root \n"\
++" \"Grav (trails)\" grav -root -trail -decay \n"\
++" drift -root \n"\
++" ifs -root \n"\
++" julia -root \n"\
++" penrose -root \n"\
++" sierpinski -root \n"\
++" braid -root \n"\
++" galaxy -root \n"\
++" bouboule -root \n"\
++" swirl -root \n"\
++" flag -root \n"\
++" sphere -root \n"\
++" forest -root \n"\
++" lisa -root \n"\
++" lissie -root \n"\
++" goop -root -max-velocity 0.5 -elasticity "\
++" 0.9 \n"\
++" starfish -root \n"\
++" \"Starfish (blob)\" starfish -root -blob \n"\
++" munch -root \n"\
++" fadeplot -root \n"\
++" coral -root -delay 0 \n"\
++" mountain -root \n"\
++" triangle -root -delay 1 \n"\
++" worm -root \n"\
++" rotor -root \n"\
++" ant -root \n"\
++" demon -root \n"\
++" loop -root \n"\
++" vines -root \n"\
++" kaleidescope -root \n"\
++" xjack -root \n"\
++" xlyap -root -randomize \n"\
++" cynosure -root \n"\
++" flow -root \n"\
++" epicycle -root \n"\
++" interference -root \n"\
++" truchet -root -randomize \n"\
++" bsod -root \n"\
++" crystal -root \n"\
++" discrete -root \n"\
++" kumppa -root \n"\
++" rd-bomb -root \n"\
++" \"RD-Bomb (mobile)\" rd-bomb -root -speed 1 -size 0.1 \n"\
++" sonar -root \n"\
++" t3d -root \n"\
++" penetrate -root \n"\
++" deluxe -root \n"\
++" compass -root \n"\
++" squiral -root \n"\
++" xflame -root \n"\
++" wander -root \n"\
++" \"Wander (spots)\" wander -root -advance 0 -size 10 -circles "\
++" -length 10000 -reset 100000 \n"\
++" critical -root \n"\
++" phosphor -root \n"\
++" xmatrix -root \n"\
++" petri -root -size 2 -count 20 \n"\
++" \"Petri 2\" petri -root -minlifespeed 0.02 "\
++" -maxlifespeed 0.03 -minlifespan 1 "\
++" -maxlifespan 1 -instantdeathchan 0 "\
++" -minorchan 0 -anychan 0.3 \n"\
++" shadebobs -root \n"\
++" ccurve -root \n"\
++" blaster -root \n"\
++" bumps -root \n"\
++" xteevee -root \n"\
++" xspirograph -root \n"\
++" nerverot -root \n"\
++"- \"NerveRot (dense)\" nerverot -root -count 1000 \n"\
++"- \"NerveRot (thick)\" nerverot -root -count 100 -line-width 4 "\
++" -max-nerve-radius 0.8 -nervousness 0.5 -db \n"\
++" xrayswarm -root \n"\
++"- \"Zoom (Fatbits)\" zoom -root \n"\
++" \"Zoom (Lenses)\" zoom -root -lenses \n"\
++" rotzoomer -root \n"\
++"- \"RotZoomer (mobile)\" rotzoomer -root -move \n"\
++"- \"RotZoomer (sweep)\" rotzoomer -root -sweep \n"\
++" whirlwindwarp -root \n"\
++" \"WhirlyGig\" whirlygig -root \n"\
++" \"SpeedMine\" speedmine -root \n"\
++" \"SpeedWorm\" speedmine -root -worm \n"\
++" vermiculate -root \n"\
++" color: bubbles -root \n"\
++" default-n: webcollage -root \n"\
++" default-n: \"WebCollage (whacked)\" "\
++" webcollage -root -filter "\
++" 'vidwhacker -stdin -stdout' \n"\
++"- default-n: vidwhacker -root \n"\
++" "\
++" GL: gears -root \n"\
++" GL: \"Gears (planetary)\" gears -root -planetary \n"\
++" GL: superquadrics -root \n"\
++" GL: morph3d -root \n"\
++" GL: cage -root \n"\
++" GL: moebius -root \n"\
++" GL: stairs -root \n"\
++" GL: pipes -root \n"\
++" GL: sproingies -root \n"\
++" GL: rubik -root \n"\
++" GL: atlantis -root \n"\
++" GL: lament -root \n"\
++" GL: bubble3d -root \n"\
++" GL: glplanet -root \n"\
++" GL: pulsar -root \n"\
++"- GL: \"Pulsar (textures)\" "\
++" pulsar -root -texture -mipmap "\
++" -texture_quality -light -fog \n"\
++"- GL: extrusion -root \n"\
++" GL: sierpinski3d -root \n"\
++" GL: menger -root \n"\
++" GL: \"GFlux\" gflux -root \n"\
++" GL: \"GFlux (grab)\" gflux -root -mode grab \n"\
++" GL: stonerview -root \n"\
++" GL: starwars -root \n"\
++" GL: gltext -root \n"\
++" GL: \"GLText (clock)\" gltext -text \"%A%n%d %b %Y%n%r\" -root \n"\
++" GL: \"Molecule\" molecule -root \n"\
++" GL: \"Molecule (lumpy)\" molecule -root -no-bonds -no-labels \n"\
++" GL: dangerball -root \n"\
++" GL: circuit -root \n"\
++" GL: engine -root \n"\
++" GL: flipscreen3d -root \n"\
++" "\
++"- xdaliclock -root -builtin3 -cycle \n"\
++"- default-n: xearth -nofork -nostars -ncolors 50 "\
++" -night 3 -wait 0 -timewarp 400.0 -pos "\
++" sunrel/38/-30 \n"\
++"- xplanetbg -xscreensaver -moonside "\
++" -markerfile earth -wait 1 -timewarp 400 \n"\
++"- ssystem -fullscreen :32 \n"\
++"- xmountains -b -M -Z 0 -r 1 \n"\
++"- \"XMountains (top)\" xmountains -b -M -Z 0 -r 1 -m \n"\
++"- xaos -fullscreen -autopilot "\
++" -incoloring -1 -outcoloring -1 \n"\
++"- xfishtank -d -s \n"\
++"- xsnow \n"\
++"- goban -root \n"\
++"- electricsheep \n"\
++"- cosmos -root \n"\
++"- GL: sphereEversion --root \n";
diff --git a/x11-wm/ede/files/patch-etimedate::fl_time.cpp b/x11-wm/ede/files/patch-etimedate::fl_time.cpp
new file mode 100644
index 000000000000..20c50780eec3
--- /dev/null
+++ b/x11-wm/ede/files/patch-etimedate::fl_time.cpp
@@ -0,0 +1,84 @@
+--- etimedate/fl_time.cpp.orig Sat Feb 28 04:50:39 2004
++++ etimedate/fl_time.cpp Sat Feb 28 04:00:25 2004
+@@ -86,7 +86,7 @@
+ gettimeofday(&current_tv, 0);
+ display_tv.tv_sec = current_tv.tv_sec;
+ display_tv.tv_usec = current_tv.tv_usec;
+- display_time_tm = localtime(&current_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&current_tv.tv_sec);
+
+ if(type() == FL_TIME_24HOUR) strftime(time_string, 19, "%2H:%2M", display_time_tm);
+ else strftime(time_string, 19, "%2I:%2M %p", display_time_tm);
+@@ -106,7 +106,7 @@
+ gettimeofday(&current_tv, 0);
+
+ display_tv.tv_sec = current_tv.tv_sec - different;
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+
+ if(type() == FL_TIME_24HOUR) strftime(time_string, 19, "%2H:%2M", display_time_tm);
+ else strftime(time_string, 19, "%2I:%2M %p", display_time_tm);
+@@ -120,7 +120,7 @@
+ {
+ struct tm *display_time_tm;
+
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+ return display_time_tm->tm_hour;
+ }
+
+@@ -129,7 +129,7 @@
+ {
+ struct tm *display_time_tm;
+
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+ return display_time_tm->tm_min;
+ }
+
+@@ -138,7 +138,7 @@
+ {
+ struct tm *display_time_tm;
+
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+
+ if(type() == FL_TIME_24HOUR) strftime(time_string, 19, "%2H:%2M", display_time_tm);
+ else strftime(time_string, 19, "%2I:%2M %p", display_time_tm);
+@@ -151,7 +151,7 @@
+ {
+ struct tm *display_time_tm;
+
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+ display_time_tm->tm_hour = value;
+ display_tv.tv_sec = mktime(display_time_tm);
+ }
+@@ -161,7 +161,7 @@
+ {
+ struct tm *display_time_tm;
+
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+ if(value < 0)
+ {
+ display_time_tm->tm_min = 59;
+@@ -182,10 +182,17 @@
+ void Fl_Time::settime()
+ {
+ struct tm *display_time_tm;
+- display_time_tm = localtime(&display_tv.tv_sec);
++ display_time_tm = localtime((time_t*)&display_tv.tv_sec);
+ // return display_time_tm->tm_min;
+ time_t ct = mktime (display_time_tm);
++#if defined(__FreeBSD__)
++ struct timeval tp;
++ tp.tv_sec=ct;
++ tp.tv_usec=0;
++ if (settimeofday(&tp,0)!=0)
++#else
+ if (stime(&ct)!=0)
++#endif
+ fl_alert(_("Error setting time. You are probably not superuser!"));
+ }
+
diff --git a/x11-wm/ede/files/patch-eworkpanel::cpumonitor.cpp b/x11-wm/ede/files/patch-eworkpanel::cpumonitor.cpp
new file mode 100644
index 000000000000..2d8fc782731e
--- /dev/null
+++ b/x11-wm/ede/files/patch-eworkpanel::cpumonitor.cpp
@@ -0,0 +1,11 @@
+--- eworkpanel/cpumonitor.cpp.orig Sat Feb 28 04:46:23 2004
++++ eworkpanel/cpumonitor.cpp Sat Feb 28 04:46:55 2004
+@@ -26,7 +26,7 @@
+ #include <kstat.h>
+ #endif
+
+-#if (defined(linux) || defined(HAVE_KSTAT_H))
++#if (defined(linux) || defined(__FreeBSD__) || defined(HAVE_KSTAT_H))
+
+ #define UPDATE_INTERVAL .5f
+
diff --git a/x11-wm/ede/files/patch-eworkpanel::cpumonitor.h b/x11-wm/ede/files/patch-eworkpanel::cpumonitor.h
new file mode 100644
index 000000000000..2863a9cc4dbf
--- /dev/null
+++ b/x11-wm/ede/files/patch-eworkpanel::cpumonitor.h
@@ -0,0 +1,11 @@
+--- eworkpanel/cpumonitor.h.orig Sat Feb 28 04:46:26 2004
++++ eworkpanel/cpumonitor.h Sat Feb 28 04:47:10 2004
+@@ -3,7 +3,7 @@
+
+ #include <config.h>
+
+-#if (defined(linux) || defined(HAVE_KSTAT_H))
++#if (defined(linux) || defined(__FreeBSD__) || defined(HAVE_KSTAT_H))
+
+ #ifdef HAVE_KSTAT_H
+ #include <kstat.h>