diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index ff6591d2336..e17150ab29f 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.30 2015/04/04 09:21:03 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.31 2015/04/05 14:09:17 landry Exp $ COMMENT= GTK+2 frontend to CUPS DISTNAME= gtklp-1.3.1 EXTRACT_SUFX= .src.tar.gz -REVISION= 2 +REVISION= 3 CATEGORIES= print sysutils x11 diff --git a/print/gtklp/patches/patch-gtklp_file_c b/print/gtklp/patches/patch-gtklp_file_c new file mode 100644 index 00000000000..edf3e269571 --- /dev/null +++ b/print/gtklp/patches/patch-gtklp_file_c @@ -0,0 +1,13 @@ +$OpenBSD: patch-gtklp_file_c,v 1.1 2015/04/05 14:09:17 landry Exp $ +Fix display of file arguments passed on the cmdline +--- gtklp/file.c.orig Sun Apr 5 15:58:29 2015 ++++ gtklp/file.c Sun Apr 5 15:59:26 2015 +@@ -407,7 +407,7 @@ void FileFrame(GtkWidget *container) + + for(i1 = 0; i1 < filesToPrintAnz; i1++) + { +- entry[0][0]=g_filename_to_utf8((gchar *)filesToPrint[i1],(size_t)MAXPATH,NULL,NULL,NULL); ++ entry[0][0]=g_filename_to_utf8((gchar *)filesToPrint[i1],-1,NULL,NULL,NULL); + gtk_clist_append(GTK_CLIST(fileList),entry[0]); + g_free(entry[0][0]); + }