development/xvile: Updated for version 9.8k.
Added a patch from Gentoo Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
d0f8fdccb6
commit
0628bbc15b
|
@ -0,0 +1,30 @@
|
|||
--- vile-9.8h/filters/filters.h
|
||||
+++ vile-9.8h/filters/filters.h
|
||||
@@ -200,27 +200,6 @@
|
||||
#endif
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
-/*
|
||||
- * 2003/5/20 - "new" flex 2.5.31:
|
||||
- * workaround for "developers" who don't use compiler-warnings...
|
||||
- * perhaps by the time "new" flex merits the term "beta", they'll fix this:
|
||||
- */
|
||||
-#if defined(FLEX_BETA)
|
||||
-extern FILE *yyget_in (void);
|
||||
-extern FILE *yyget_out (void);
|
||||
-extern char *yyget_text (void);
|
||||
-extern int yyget_debug (void);
|
||||
-extern int yyget_leng (void);
|
||||
-extern int yyget_lineno (void);
|
||||
-extern int yylex_destroy (void);
|
||||
-extern void yyset_debug (int bdebug);
|
||||
-extern void yyset_in (FILE * in_str);
|
||||
-extern void yyset_lineno (int line_number);
|
||||
-extern void yyset_out (FILE * out_str);
|
||||
-/* there's also warnings for unused 'yyunput()', but I don't see a fix */
|
||||
-/* flex's skeleton includes <unistd.h> - no particular reason apparent */
|
||||
-#endif
|
||||
-
|
||||
#define YY_NO_INPUT 1 /* get rid of 'input()' function */
|
||||
|
||||
/*
|
|
@ -25,7 +25,7 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=xvile
|
||||
VERSION=${VERSION:-9.8j}
|
||||
VERSION=${VERSION:-9.8k}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -68,7 +68,14 @@ rm -rf $SRCNAM-$VERSION
|
|||
tar xvf $CWD/$SRCNAM-$VERSION.tgz
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Thanks Gentoo
|
||||
patch -p1 < $CWD/vile-9.8h-flex.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -79,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--with-screen=X11 \
|
||||
--with-app-defaults=/etc/X11/app-defaults \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="xvile"
|
||||
VERSION="9.8j"
|
||||
VERSION="9.8k"
|
||||
HOMEPAGE="http://invisible-island.net/vile/"
|
||||
DOWNLOAD="ftp://invisible-island.net/vile/current/vile-9.8j.tgz"
|
||||
MD5SUM="f6c3212f2a3eae8e45cedf9e9287f8b9"
|
||||
DOWNLOAD="ftp://invisible-island.net/vile/current/vile-9.8k.tgz"
|
||||
MD5SUM="909103492a92ff7e5a72a5eab2bd25c6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue