Actualy, I did run in the "Description Too Long" message for
texlive-latex-extra package. Obviously, the solution is to change the
static char descrBuffer[8192] for a growable buffer: assign it a
reasonnable value (8k seems to me a little bit much for simple
description texts) and resize it if it's too small.

Simple working patch attached, I'm hoping it fits your taste.
--- synaptic-0.57.11.1/common/rpackage.cc	2006-07-27 15:08:22.000000000 +0200
+++ synaptic.new/common/rpackage.cc	2007-01-03 01:52:49.000000000 +0100
@@ -70,7 +70,8 @@
 #include "raptoptions.h"
 
 
-static char descrBuffer[8192];
+static char *descrBuffer = new char[4096];
+static int descrBufferSize = 4096;
 
 static char *parseDescription(string descr);
 
@@ -1179,8 +1180,11 @@
 static char *parseDescription(string descr)
 {
 
-   if (descr.size() > sizeof(descrBuffer))
-      return "Description Too Long";
+   if (descr.size() + 1 > descrBufferSize) {
+      delete[] descrBuffer;
+      descrBufferSize = descr.size() + 1;
+      descrBuffer = new char[descrBufferSize];
+   }
 
 #ifdef HAVE_RPM
    int parser = _config->FindI("Synaptic::descriptionParser", NO_PARSER);

Reply via email to