New package: plotutils-2.6

This commit is contained in:
Duncaen 2015-11-15 15:40:42 +01:00
parent 5eb12450a0
commit 4d4449033e
4 changed files with 55 additions and 0 deletions

View File

@ -2283,3 +2283,4 @@ libtoluapp.so toluapp-1.0.93_1
libmpd.so.1 libmpd-11.8.17_1
libfa.so.1 augeas-1.4.0_1
libaugeas.so.0 augeas-1.4.0_1
libplot.so.2 plotutils-2.6_1

1
srcpkgs/plotutils-devel Symbolic link
View File

@ -0,0 +1 @@
plotutils

View File

@ -0,0 +1,31 @@
fix building with libpng-1.5
--- libplot/z_write.c
+++ libplot/z_write.c
@@ -164,7 +164,7 @@
}
/* cleanup after libpng errors (error handler does a longjmp) */
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_jmpbuf (png_ptr)))
{
png_destroy_write_struct (&png_ptr, (png_info **)NULL);
return -1;
@@ -444,7 +444,7 @@
#endif
}
- longjmp (png_ptr->jmpbuf, 1);
+ png_longjmp (png_ptr, 1);
}
static void
@@ -515,7 +515,7 @@
#endif
}
- longjmp (png_ptr->jmpbuf, 1);
+ png_longjmp (png_ptr, 1);
}
static void

View File

@ -0,0 +1,22 @@
# Template file for 'plotutils'
pkgname=plotutils
version=2.6
revision=1
build_style=gnu-configure
makedepends="libXaw-devel libpng-devel"
short_desc="Set of utilities and libraries for plotting"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://directory.fsf.org/wiki/Plotutils"
distfiles="${GNU_SITE}/plotutils/plotutils-${version}.tar.gz"
checksum=4f4222820f97ca08c7ea707e4c53e5a3556af4d8f1ab51e0da6ff1627ff433ab
plotutils-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}