summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornemaeon2015-08-26 19:18:13 -0400
committernemaeon2015-08-26 19:18:13 -0400
commit93d84b456d78e9bed813b0701d71cef50766874e (patch)
tree87059c23a28b6b963e7c6fe365b6931bb94f285c
parent4d311267edc502f18b6a16113a9012e160f88ae1 (diff)
downloadaur-93d84b456d78e9bed813b0701d71cef50766874e.tar.gz
Updated to includ vga_getmodenumber patch from Fedora
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--svgalib-1.9.25-vga_getmodenumber.patch11
3 files changed, 18 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4c5a176b554..a5249d01a3b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,12 +13,14 @@ pkgbase = svgalib
source = svgalib-1.9.25-glibc210.patch
source = svgalib-1.9.25-linux2.6.36.patch
source = svgalib-1.9.25-quickmath-h-redefinitions.patch
+ source = svgalib-1.9.25-vga_getmodenumber.patch
md5sums = 4dda7e779e550b7404cfe118f1d74222
md5sums = eadd4d3974a475ccc9d72f1e614c69df
md5sums = 5c797ca334e4c7f326dc08df7a3eb5c9
md5sums = 938f822ede2c9e76f2da0dd3ee38ba33
md5sums = 99e767dec306ff4d307eef151f352466
md5sums = e584d783f50991881e8c16c1ba2be7b1
+ md5sums = 08770c05c94416c10771cf819e739fb9
pkgname = svgalib
diff --git a/PKGBUILD b/PKGBUILD
index 6bec70abfe5b..5e90d9dd62c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,13 +13,15 @@ source=(http://mail.arava.co.il/~matan/${pkgname}/${pkgname}-${pkgver}.tar.gz
svgalib-1.9.25-linux2.6.28.patch
svgalib-1.9.25-glibc210.patch
svgalib-1.9.25-linux2.6.36.patch
- svgalib-1.9.25-quickmath-h-redefinitions.patch)
+ svgalib-1.9.25-quickmath-h-redefinitions.patch
+ svgalib-1.9.25-vga_getmodenumber.patch)
md5sums=('4dda7e779e550b7404cfe118f1d74222'
'eadd4d3974a475ccc9d72f1e614c69df'
'5c797ca334e4c7f326dc08df7a3eb5c9'
'938f822ede2c9e76f2da0dd3ee38ba33'
'99e767dec306ff4d307eef151f352466'
- 'e584d783f50991881e8c16c1ba2be7b1')
+ 'e584d783f50991881e8c16c1ba2be7b1'
+ '08770c05c94416c10771cf819e739fb9')
build() {
cd ${pkgname}-${pkgver}
@@ -33,6 +35,7 @@ build() {
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-linux2.6.28.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-glibc210.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-linux2.6.36.patch
+ patch -Np1 -i "${srcdir}"/svgalib-1.9.25-vga_getmodenumber.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-quickmath-h-redefinitions.patch
cd ${pkgname}-${pkgver}
diff --git a/svgalib-1.9.25-vga_getmodenumber.patch b/svgalib-1.9.25-vga_getmodenumber.patch
new file mode 100644
index 000000000000..0a07565bde7d
--- /dev/null
+++ b/svgalib-1.9.25-vga_getmodenumber.patch
@@ -0,0 +1,11 @@
+--- src/svgalib-1.9.25/src/vgamodesel.c 2012-02-03 10:45:43.000000000 +0200
++++ src/svgalib-1.9.25/src/vgamodesel.c 2012-02-03 10:45:47.000000000 +0200
+@@ -35,7 +35,7 @@ int __svgalib_name2number(char *m)
+ int vga_getmodenumber(char *m)
+ {
+ int i;
+- char s[3];
++ char s[8];
+
+ __svgalib_getchipset(); /* Do initialisation first */
+ i = __svgalib_name2number(m);