diff -u fblogo-0.5.0.orig/fblogo.1 fblogo-0.5.0/fblogo.1
--- fblogo-0.5.0.orig/fblogo.1	2002-08-17 16:01:57.000000000 +0200
+++ fblogo-0.5.0/fblogo.1	2003-02-06 20:01:09.000000000 +0100
@@ -19,7 +19,7 @@
 fblogo \- Converts images to framebuffer-logo header file
 .SH SYNOPSIS
 .B fblogo
-[-2] [-h] [-d] [-v] [\fIinputfile\fP [\fIoutputfile\fP]]
+[-2] [-h] [-d] [-w] [-v] [\fIinputfile\fP [\fIoutputfile\fP]]
 
 .SH DESCRIPTION
 .PP
@@ -44,6 +44,9 @@
 .B -d, --verbose
 Verbose mode, give some feedback.
 .TP
+.B -w, --wolk
+Create a linux_logo.h compatible with WOLK patched kernels. The default is to not define LOGO_W and LOGO_H in the logo header. WOLK requires them there.
+.TP
 .B \fIinputfile\fP
 The input file, has to be a PNG with \fBless\fP than 224 colours. If
 omitted, stdin will be used.
diff -u fblogo-0.5.0.orig/fblogo.c fblogo-0.5.0/fblogo.c
--- fblogo-0.5.0.orig/fblogo.c	2002-08-17 16:01:57.000000000 +0200
+++ fblogo-0.5.0/fblogo.c	2003-02-06 20:22:52.000000000 +0100
@@ -75,12 +75,13 @@
 void displayUsage(char* program_name)
 {
     printf("Usage:\n");
-    printf("%s [-2|-4] [-d] [-v] [-h] [inputfile [outputfile]]\n", program_name);
+    printf("%s [-2|-4] [-d] [-v] [-w] [-h] [inputfile [outputfile]]\n", program_name);
     printf("  -h,  --help                    display this help screen\n");
     printf("  -v,  --version                 display program version\n");
     printf("  -d,  --verbose                 display helpful messages\n");
     printf("  -2,  --linux-2.2               Create for 2.2.x kernels\n");
     printf("  -4,  --linux-2.4               Create for 2.4.x kernels (default)\n");
+    printf("  -w,  --wolk                    Create for WOLK powered kernels\n");
     printf("  inputfile                      name of image file\n");
     printf("  outputfile                     name of output file\n");
     printf("If outputfile is omitted, results will be sent to stdout.\nIf inputfile is omitted too, input will be read from stdin.\n");
@@ -93,9 +94,12 @@
     return;
 
   fprintf(stderr, "Logo generated successfully\n\n");
-  fprintf(stderr, "Remember to modify linux/drivers/video/fbcon.c:\n");
-  fprintf(stderr, " Change \"#define LOGO_H 80\" to \"#define LOGO_H %li\"\n", height_);
-  fprintf(stderr, " Change \"#define LOGO_W 80\" to \"#define LOGO_W %li\"\n\n", width_);
+  if (!wolk_)
+    {
+      fprintf(stderr, "Remember to modify linux/drivers/video/fbcon.c:\n");
+      fprintf(stderr, " Change \"#define LOGO_H 80\" to \"#define LOGO_H %li\"\n", height_);
+      fprintf(stderr, " Change \"#define LOGO_W 80\" to \"#define LOGO_W %li\"\n\n", width_);
+    }
   if(version_ == LINUX_22)
     {
       fprintf(stderr, "As you are going to use it for Linux 2.2,\nmodify linux/include/asm-<arch>/linux_logo.h:\n");
@@ -121,6 +125,7 @@
     {"linux-2.4",  0, NULL, '4'},
     {"linux-2.2",  0, NULL, '2'},
     {"verbose",    0, NULL, 'd'},
+    {"wolk",       0, NULL, 'w'},
     {NULL,         0, NULL, 0  }};
   int counter;
   int filename_position;
@@ -131,7 +136,7 @@
       exit(EXIT_FAILURE);
     }
     
-  while ((counter = getopt_long(argc, argv, "hvd24", long_opts, NULL)) != -1) 
+  while ((counter = getopt_long(argc, argv, "hvd24w", long_opts, NULL)) != -1) 
     {
       switch (counter) 
 	{
@@ -154,6 +159,9 @@
 	case '4':
 	  version_ = LINUX_24;
 	  break;
+	case 'w':
+	  wolk_ = TRUE;
+	  break;
 	}
     }
   
@@ -393,9 +401,18 @@
       fprintf(output_file_, " * Change \"#define LINUX_LOGO_COLORS 214\" to \"#define LINUX_LOGO_COLORS %i\"\n", num_palette_);
     }
 
-  fprintf(output_file_, " *\n * Remember to modify drivers/video/fbcon.c:\n");
-  fprintf(output_file_, " * Change \"#define LOGO_H 80\" to \"#define LOGO_H %li\"\n", height_);
-  fprintf(output_file_, " * Change \"#define LOGO_W 80\" to \"#define LOGO_W %li\"\n */\n\n", width_);
+  if (wolk_)
+    {
+      fprintf(output_file_, " */\n\n");
+      fprintf(output_file_, "#define LOGO_H %li\n", height_);
+      fprintf(output_file_, "#define LOGO_W %li\n", width_);
+    }
+  else
+    {
+      fprintf(output_file_, " *\n * Remember to modify drivers/video/fbcon.c:\n");
+      fprintf(output_file_, " * Change \"#define LOGO_H 80\" to \"#define LOGO_H %li\"\n", height_);
+      fprintf(output_file_, " * Change \"#define LOGO_W 80\" to \"#define LOGO_W %li\"\n */\n\n", width_);
+    }
   
   
   if(version_ == LINUX_24) 
@@ -426,6 +443,9 @@
   
   else if(version_ == LINUX_24 && verbose_)
     printf("Creating for Linux kernel version 2.4.x/2.5.x\n");
+
+  if(wolk_)
+    printf("Creating for WOLK powered kernel\n");
   
   writeOutputFileHeader();
   
diff -u fblogo-0.5.0.orig/fblogo.h fblogo-0.5.0/fblogo.h
--- fblogo-0.5.0.orig/fblogo.h	2002-08-17 16:01:57.000000000 +0200
+++ fblogo-0.5.0/fblogo.h	2003-02-06 19:55:11.000000000 +0100
@@ -82,6 +82,7 @@
 
 char verbose_;
 char version_;
+char wolk_;
 
 FILE* input_file_  = NULL;
 FILE* output_file_ = NULL;
