diff --git a/srcpkgs/cvs/patches/vasnprintf.diff b/srcpkgs/cvs/patches/vasnprintf.diff new file mode 100644 index 00000000000..f6647177a88 --- /dev/null +++ b/srcpkgs/cvs/patches/vasnprintf.diff @@ -0,0 +1,16 @@ +--- lib/vasnprintf.c.orig 2015-05-16 16:57:13.712246576 +0200 ++++ lib/vasnprintf.c 2015-05-16 16:57:38.471145720 +0200 +@@ -557,13 +557,7 @@ + break; + } + *p = dp->conversion; +-#if USE_SNPRINTF +- p[1] = '%'; +- p[2] = 'n'; +- p[3] = '\0'; +-#else + p[1] = '\0'; +-#endif + + /* Construct the arguments for calling snprintf or sprintf. */ + prefix_count = 0; diff --git a/srcpkgs/cvs/template b/srcpkgs/cvs/template index 60f999cd2c0..2e0cfb41dac 100644 --- a/srcpkgs/cvs/template +++ b/srcpkgs/cvs/template @@ -1,7 +1,7 @@ # Template file for 'cvs' pkgname=cvs version=1.12.13 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-editor=/usr/bin/vi --with-external-zlib ac_cv_func_working_mktime=yes" # broken test upstream