X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fxsane;h=9356feda95b2778abfbaa3b31000e02bd4b61f68;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=fd57226439edc7d6f6777187d4173ed79270b2d6;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/xsane b/stage5/pkg/xsane index fd57226..9356fed 100644 --- a/stage5/pkg/xsane +++ b/stage5/pkg/xsane @@ -1,14 +1,14 @@ #!/bin/bash -hvconfig() +hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE} - ./configure \ - --prefix=/usr + sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \ + ${SRC_DIR}/src/xsane-save.c } hvbuild_post() { # Adding link for GIMP plugin (Base GIMP version hardcoded for now) - ln -v -s ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins + rm -f /usr/lib/gimp/2.0/plug-ins/xsane + ln -sv /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins }