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