Index: trunk/src/plug_footprint.c =================================================================== --- trunk/src/plug_footprint.c (revision 1593) +++ trunk/src/plug_footprint.c (revision 1594) @@ -33,7 +33,6 @@ #include "paths.h" #include "plug_footprint.h" #include "plugins.h" -#include "pcb-printf.h" #include #include @@ -130,8 +129,14 @@ if (entry == NULL) return NULL; - if (type == PCB_FP_PARAMETRIC) - entry->name = pcb_strdup_printf("%s()", name); + if (type == PCB_FP_PARAMETRIC) { + /* concat name and () */ + /* do not use pcb_strdup_printf or Concat here, do not increase gsch2pcb-rnd deps */ + int nl = strlen(name); + entry->name = malloc(nl+3); + memcpy(entry->name, name, nl); + strcpy(entry->name+nl, "()"); + } else entry->name = strdup(name);