[notify] xorg-libxfont: update to 1.4.8
Several security fixes, see - http://lists.x.org/archives/xorg-announce/2014-May/002431.html - http://lists.x.org/archives/xorg-announce/2014-May/002432.html
This commit is contained in:
parent
2b89c5c9fc
commit
07be7c6831
@ -1,2 +1 @@
|
|||||||
b21ee5739d5d2e5028b302fbf9fe630b libXfont-1.4.7.tar.bz2
|
a7cbc4128c244d9c54fdf21cd517ac8c libXfont-1.4.8.tar.bz2
|
||||||
7c8a0fe77265af3a7c159fa2be9eecf7 xorg-libxfont-const.diff
|
|
||||||
|
@ -4,14 +4,12 @@
|
|||||||
# Depends on: freetype, xorg-xproto, xorg-xtrans, xorg-fontsproto, xorg-libfontenc
|
# Depends on: freetype, xorg-xproto, xorg-xtrans, xorg-fontsproto, xorg-libfontenc
|
||||||
|
|
||||||
name=xorg-libxfont
|
name=xorg-libxfont
|
||||||
version=1.4.7
|
version=1.4.8
|
||||||
release=1
|
release=1
|
||||||
source=(http://xorg.freedesktop.org/releases/individual/lib/libXfont-$version.tar.bz2 \
|
source=(http://xorg.freedesktop.org/releases/individual/lib/libXfont-$version.tar.bz2)
|
||||||
$name-const.diff)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd libXfont-$version
|
cd libXfont-$version
|
||||||
patch -p1 -i $SRC/$name-const.diff
|
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
diff -urN libXfont-1.4.7.orig/src/util/patcache.c libXfont-1.4.7/src/util/patcache.c
|
|
||||||
--- libXfont-1.4.7.orig/src/util/patcache.c 2014-01-07 10:25:08.000000000 -0600
|
|
||||||
+++ libXfont-1.4.7/src/util/patcache.c 2014-04-19 13:28:51.509242842 -0500
|
|
||||||
@@ -128,7 +128,7 @@
|
|
||||||
/* add entry */
|
|
||||||
void
|
|
||||||
CacheFontPattern (FontPatternCachePtr cache,
|
|
||||||
- char *pattern,
|
|
||||||
+ const char *pattern,
|
|
||||||
int patlen,
|
|
||||||
FontPtr pFont)
|
|
||||||
{
|
|
||||||
@@ -174,7 +174,7 @@
|
|
||||||
/* find matching entry */
|
|
||||||
FontPtr
|
|
||||||
FindCachedFontPattern (FontPatternCachePtr cache,
|
|
||||||
- char *pattern,
|
|
||||||
+ const char *pattern,
|
|
||||||
int patlen)
|
|
||||||
{
|
|
||||||
int hash;
|
|
Loading…
Reference in New Issue
Block a user