This commit is contained in:
milisbir 2016-04-18 21:17:25 +00:00
parent 60f1c7debe
commit 0d2913d85e
2 changed files with 5 additions and 21 deletions

View File

@ -1,14 +0,0 @@
--- a/image.cpp 2012-06-26 04:20:14.000000000 -0400
+++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400
@@ -781,7 +781,11 @@
(png_infopp) NULL);
}
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+ if (setjmp(png_jmpbuf((png_ptr)))) {
+#else
if (setjmp(png_ptr->jmpbuf)) {
+#endif
goto png_destroy;
}

View File

@ -1,20 +1,17 @@
# Description: a graphical login utility
# URL: http://sourceforge.net/projects/slim.berlios
# Packager: Simone Rota, sip at crux dot nu
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: milisarge
# Depends on: xorg-xauth libjpeg-turbo libpng cmake
name=slim
version=1.3.6
release=1
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
http://crux.nu/~tek/slim-crux-smooth.tar.gz $name.rc)
build () {
cd $name-$version
#patch -i ../libpng.patch -p1
# do NOT build slimlock (because of pam)
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
@ -22,8 +19,9 @@ build () {
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
mkdir $PKG/etc/rc.d/
mkdir $PKG/etc/rc.d/init.d
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
cd ../
rm -f slim-crux-smooth/README