projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Installation of checkpatch.pl script
[hvlinux.git]
/
stage5
/
pkg
/
xsane
diff --git
a/stage5/pkg/xsane
b/stage5/pkg/xsane
index
fd57226
..
4e1db05
100644
(file)
--- a/
stage5/pkg/xsane
+++ b/
stage5/pkg/xsane
@@
-1,14
+1,13
@@
#!/bin/bash
#!/bin/bash
-hvconfig()
+hvconfig
_pre
()
{
{
- cd ${LFS_TMP}/${PACKAGE}
- ./configure \
- --prefix=/usr
+ sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' ${LFS_TMP}/${PACKAGE}/src/xsane-save.c
}
hvbuild_post()
{
# Adding link for GIMP plugin (Base GIMP version hardcoded for now)
}
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
}
}