summaryrefslogtreecommitdiff
path: root/x11-wm/bbapm/files
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-03 21:26:28 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-03 21:26:28 +0000
commit9ecd02bfc74eaa7cad1aa864518f241b3ccc6c60 (patch)
tree856ac60c5dc4cf4f070ce159a055a3b5d4ca017f /x11-wm/bbapm/files
parentMove: (diff)
Remove after repo-copy to new location.
Notes
Notes: svn path=/head/; revision=82217
Diffstat (limited to 'x11-wm/bbapm/files')
-rw-r--r--x11-wm/bbapm/files/patch-Baseresource.cc12
-rw-r--r--x11-wm/bbapm/files/patch-Basewindow.cc16
-rw-r--r--x11-wm/bbapm/files/patch-Image.cc102
-rw-r--r--x11-wm/bbapm/files/patch-Image.hh24
-rw-r--r--x11-wm/bbapm/files/patch-LinkedList.hh11
-rw-r--r--x11-wm/bbapm/files/patch-bbapm.cc11
-rw-r--r--x11-wm/bbapm/files/patch-resource.cc11
7 files changed, 0 insertions, 187 deletions
diff --git a/x11-wm/bbapm/files/patch-Baseresource.cc b/x11-wm/bbapm/files/patch-Baseresource.cc
deleted file mode 100644
index d757e836f960..000000000000
--- a/x11-wm/bbapm/files/patch-Baseresource.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- Baseresource.cc.orig Mon Aug 16 10:40:24 1999
-+++ Baseresource.cc Sat Aug 4 20:52:40 2001
-@@ -27,6 +27,9 @@
- {
- bbtool = toolwindow;
-
-+ style.conf_filename = NULL;
-+ style.style_filename = NULL;
-+
- if (bbtool->default_config) {
- ReadDefaultResource();
- ResourceType = DEFAULT;
diff --git a/x11-wm/bbapm/files/patch-Basewindow.cc b/x11-wm/bbapm/files/patch-Basewindow.cc
deleted file mode 100644
index 96fdc2d6d6be..000000000000
--- a/x11-wm/bbapm/files/patch-Basewindow.cc
+++ /dev/null
@@ -1,16 +0,0 @@
---- Basewindow.cc.orig Sun Aug 15 07:43:55 1999
-+++ Basewindow.cc Sat Aug 4 20:52:40 2001
-@@ -23,6 +23,13 @@
-
- Basewindow::Basewindow(int argc,char **argv)
- {
-+ dpy = NULL;
-+ v = NULL;
-+ image_control = NULL;
-+ nobb_filename = NULL;
-+ bbconfig_filename = NULL;
-+ spooldir = NULL;
-+
- display_name=NULL;
- config_filename=NULL;
- position=NULL;
diff --git a/x11-wm/bbapm/files/patch-Image.cc b/x11-wm/bbapm/files/patch-Image.cc
deleted file mode 100644
index 5d5bcca59d64..000000000000
--- a/x11-wm/bbapm/files/patch-Image.cc
+++ /dev/null
@@ -1,102 +0,0 @@
---- Image.cc.orig Sun Aug 15 07:43:55 1999
-+++ Image.cc Mon May 19 12:56:41 2003
-@@ -50,6 +50,17 @@
- BImage::BImage(BImageControl *c, unsigned int w, unsigned int h) {
- control = c;
-
-+ colors = NULL;
-+ red = NULL;
-+ green = NULL;
-+ blue = NULL;
-+ tr = NULL;
-+ tg = NULL;
-+ tb = NULL;
-+
-+ from.allocated = 0;
-+ to.allocated = 0;
-+
- width = ((signed) w > 0) ? w : 1;
- height = ((signed) h > 0) ? h : 1;
-
-@@ -225,12 +236,12 @@
- }
-
- if (control->doDither()) {
-- short er, eg, eb, *or, *og, *ob, *nor, *nog, *nob, *por, *pog, *pob;
-+ short er, eg, eb, *bbor, *og, *ob, *nor, *nog, *nob, *por, *pog, *pob;
- unsigned short *ort, *ogt, *obt;
-
-- control->getDitherBuffers(width + 2, &or, &og, &ob, &nor, &nog, &nob,
-+ control->getDitherBuffers(width + 2, &bbor, &og, &ob, &nor, &nog, &nob,
- &ort, &ogt, &obt);
-- if ((! or) || (! og) || (! ob) || (! nor) || (! nog) || (! nob) ||
-+ if ((! bbor) || (! og) || (! ob) || (! nor) || (! nog) || (! nob) ||
- (! ort) || (! ogt) || (! obt)) {
- fprintf(stderr,
- "BImage::renderXImage: error getting dither information\n");
-@@ -240,7 +251,7 @@
-
- x = width;
-
-- por = or;
-+ por = bbor;
- pog = og;
- pob = ob;
-
-@@ -271,14 +282,14 @@
- }
-
- for (x = 0; x < width; x++) {
-- if (*(or + x) > 255) *(or + x) = 255;
-- else if (*(or + x) < 0) *(or + x) = 0;
-+ if (*(bbor + x) > 255) *(bbor + x) = 255;
-+ else if (*(bbor + x) < 0) *(bbor + x) = 0;
- if (*(og + x) > 255) *(og + x) = 255;
- else if (*(og + x) < 0) *(og + x) = 0;
- if (*(ob + x) > 255) *(ob + x) = 255;
- else if (*(ob + x) < 0) *(ob + x) = 0;
-
-- r = *(tr + *(or + x));
-+ r = *(tr + *(bbor + x));
- g = *(tg + *(og + x));
- b = *(tb + *(ob + x));
-
-@@ -340,11 +351,11 @@
- return 0;
- }
-
-- er = *(or + x) - *(ort + *(or + x));
-+ er = *(bbor + x) - *(ort + *(bbor + x));
- eg = *(og + x) - *(ogt + *(og + x));
- eb = *(ob + x) - *(obt + *(ob + x));
-
-- *(or + x + 1) += er;
-+ *(bbor + x + 1) += er;
- *(og + x + 1) += eg;
- *(ob + x + 1) += eb;
-
-@@ -360,7 +371,7 @@
- off += image->width;
- idata = (pd += image->bytes_per_line);
-
-- por = or; or = nor; nor = por;
-+ por = bbor; bbor = nor; nor = por;
- pog = og; og = nog; nog = pog;
- pob = ob; ob = nob; nob = pob;
- }
-@@ -843,7 +854,14 @@
- window = blackbox->getRootWindow();
- screen_number = blackbox->getScreenNumber();
-
-- colors = 0;
-+ colors = NULL;
-+ red_err = NULL;
-+ green_err = NULL;
-+ blue_err = NULL;
-+ next_red_err = NULL;
-+ next_green_err = NULL;
-+ next_blue_err = NULL;
-+ cache = NULL;
- colors_per_channel = ncolors = 0;
-
- int count;
diff --git a/x11-wm/bbapm/files/patch-Image.hh b/x11-wm/bbapm/files/patch-Image.hh
deleted file mode 100644
index dec4084d89d4..000000000000
--- a/x11-wm/bbapm/files/patch-Image.hh
+++ /dev/null
@@ -1,24 +0,0 @@
---- Image.hh.orig Sun Aug 15 07:43:55 1999
-+++ Image.hh Sat Aug 4 20:52:40 2001
-@@ -35,11 +35,21 @@
- class BImage;
- class BImageControl;
-
-+#if 0
- typedef struct BColor {
- int allocated;
- unsigned char red, green, blue;
- unsigned long pixel;
- };
-+#else
-+class BColor {
-+public:
-+ int allocated;
-+ unsigned char red, green, blue;
-+ unsigned long pixel;
-+ BColor::BColor() { allocated = False; }
-+};
-+#endif
-
- typedef struct BTexture {
- BColor color, colorTo, hiColor, loColor;
diff --git a/x11-wm/bbapm/files/patch-LinkedList.hh b/x11-wm/bbapm/files/patch-LinkedList.hh
deleted file mode 100644
index 24ff55576575..000000000000
--- a/x11-wm/bbapm/files/patch-LinkedList.hh
+++ /dev/null
@@ -1,11 +0,0 @@
---- LinkedList.hh.orig Fri Sep 6 20:14:52 2002
-+++ LinkedList.hh Fri Sep 6 20:14:58 2002
-@@ -63,7 +63,7 @@
- int elements;
- __llist_node *_first, *_last;
-
-- friend __llist_iterator;
-+ friend class __llist_iterator;
-
-
- protected:
diff --git a/x11-wm/bbapm/files/patch-bbapm.cc b/x11-wm/bbapm/files/patch-bbapm.cc
deleted file mode 100644
index 63c97aee5680..000000000000
--- a/x11-wm/bbapm/files/patch-bbapm.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- bbapm.cc.orig Fri Dec 7 19:42:46 2001
-+++ bbapm.cc Fri Dec 7 19:42:57 2001
-@@ -28,6 +28,9 @@
- ToolWindow::ToolWindow(int argc, char **argv):
- Basewindow(argc, argv)
- {
-+ resource = NULL;
-+ load = NULL;
-+
- close_app = False;
- broken = False;
diff --git a/x11-wm/bbapm/files/patch-resource.cc b/x11-wm/bbapm/files/patch-resource.cc
deleted file mode 100644
index 07594d3c7832..000000000000
--- a/x11-wm/bbapm/files/patch-resource.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- resource.cc.orig Fri Dec 7 19:42:46 2001
-+++ resource.cc Fri Dec 7 19:42:57 2001
-@@ -28,6 +28,9 @@
- Resource::Resource(ToolWindow * toolwindow):
- BaseResource(toolwindow)
- {
-+ frame.font = NULL;
-+ label.font = NULL;
-+
- Load();
- }