diff options
author | Will Andrews <will@FreeBSD.org> | 2002-04-19 02:30:02 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-04-19 02:30:02 +0000 |
commit | e05ed36727813c752300995435b0dc1aee51ecc3 (patch) | |
tree | d926f0f9b039ccf866d06988fbb956f5373cb5b9 /astro/xglobe/files/patch-random | |
parent | Add support for localization. (diff) |
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation,
which had a dependency on audio/xamp (being removed), so I removed that
dependency and bumped PORTREVISION. All other ports are real dependents
upon Qt 1.x, including KDE 1.x stuff.
Code in bsd.kde.mk supporting these ports is also removed or adjusted.
Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be
committed Real Soon Now (TM), pending repo-copies.
This commit made in impending view of Qt3/KDE3 entering ports tree.
Notes
Notes:
svn path=/head/; revision=57872
Diffstat (limited to 'astro/xglobe/files/patch-random')
-rw-r--r-- | astro/xglobe/files/patch-random | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/astro/xglobe/files/patch-random b/astro/xglobe/files/patch-random deleted file mode 100644 index ba9f41cf8b9e..000000000000 --- a/astro/xglobe/files/patch-random +++ /dev/null @@ -1,47 +0,0 @@ ---- earthapp.cpp.orig Sat Feb 24 10:13:10 2001 -+++ earthapp.cpp Sat Feb 24 10:13:29 2001 -@@ -937,8 +937,8 @@ - - void EarthApplication::randomPosition() - { -- view_lat = ((rand()%30001)/30000.)*180. - 90.; -- view_long = ((rand()%30001)/30000.)*360. - 180.; -+ view_lat = ((random()%30001)/30000.)*180. - 90.; -+ view_long = ((random()%30001)/30000.)*360. - 180.; - } - - /* ------------------------------------------------------------------------*/ ---- renderer.cpp.orig Sat Feb 24 10:12:53 2001 -+++ renderer.cpp Sat Feb 24 10:13:04 2001 -@@ -1562,9 +1562,9 @@ - - for(int i=0; i<numstars; i++) - { -- x = rand() % renderedImage->width(); -- y = rand() % renderedImage->height(); -- brightness = 150+ (rand() % 106); -+ x = random() % renderedImage->width(); -+ y = random() % renderedImage->height(); -+ brightness = 150+ (random() % 106); - p = (unsigned int *)renderedImage->scanLine(y); - p += x; - *p = qRgb(brightness, brightness, brightness); ---- main.cpp.orig Tue Jul 13 10:32:55 1999 -+++ main.cpp Sat Feb 24 10:14:56 2001 -@@ -24,6 +24,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include <string.h> - #include <qstring.h> - #include "config.h" -@@ -36,6 +37,8 @@ - int main(int argc, char **argv) - { - EarthApplication myApp(argc, argv); -+ -+ srandomdev(); - - #ifdef WITH_QIMAGEIO - qInitImageIO(); |