From f5f770166bf0a377c7560954a8b193cd964cebc3 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 8 May 2011 20:48:10 +0000 Subject: [PATCH] change a particularly annoying progress bar to fit in 80 columns so it doesn't wrap and spew all over the console. --- multimedia/atomicparsley/Makefile | 3 ++- .../patches/patch-AtomicParsley_cpp | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 multimedia/atomicparsley/patches/patch-AtomicParsley_cpp diff --git a/multimedia/atomicparsley/Makefile b/multimedia/atomicparsley/Makefile index 1188072d34d..3008a6b3eff 100644 --- a/multimedia/atomicparsley/Makefile +++ b/multimedia/atomicparsley/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/11/06 14:29:14 sthen Exp $ +# $OpenBSD: Makefile,v 1.2 2011/05/08 20:48:10 sthen Exp $ COMMENT= read and set MPEG-4/3GPP metadata tags DISTNAME= AtomicParsley-source-0.9.0 +REVISION= 0 EXTRACT_SUFX= .zip PKGNAME= ${DISTNAME:L:S/-source//} diff --git a/multimedia/atomicparsley/patches/patch-AtomicParsley_cpp b/multimedia/atomicparsley/patches/patch-AtomicParsley_cpp new file mode 100644 index 00000000000..ed54d9831a2 --- /dev/null +++ b/multimedia/atomicparsley/patches/patch-AtomicParsley_cpp @@ -0,0 +1,16 @@ +$OpenBSD: patch-AtomicParsley_cpp,v 1.1 2011/05/08 20:48:10 sthen Exp $ +--- AtomicParsley.cpp.orig Sun May 8 20:48:55 2011 ++++ AtomicParsley.cpp Sun May 8 20:50:01 2011 +@@ -96,11 +96,7 @@ struct padding_preferences pad_prefs; + + bool contains_unsupported_64_bit_atom = false; //reminder that there are some 64-bit files that aren't yet supported (and where that limit is set) + +-#if defined (WIN32) || defined (__CYGWIN__) +-short max_display_width = 45; ++short max_display_width = 62; +-#else +-short max_display_width = 75; //ah, figured out grub - vga=773 makes a whole new world open up +-#endif + char* file_progress_buffer=(char*)calloc(1, sizeof(char)* (max_display_width+50) ); //+50 for any overflow in "%100", or "|" + + struct PicPrefs myPicturePrefs;