diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2016-05-25 10:56:23 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2016-05-25 10:56:23 +0300 |
commit | 352186c283d9543c7a5fe809933dbd2b2d22a98f (patch) | |
tree | 5a5500c82866d613d4429942fc48d3fca2d3976a /media-libs/svgalib/files | |
parent | dev-libs/libffi: Stable for HPPA PPC64 (bug #580616). (diff) | |
download | gentoo-352186c283d9543c7a5fe809933dbd2b2d22a98f.tar.gz gentoo-352186c283d9543c7a5fe809933dbd2b2d22a98f.tar.bz2 gentoo-352186c283d9543c7a5fe809933dbd2b2d22a98f.zip |
media-libs/svgalib: fix build failures
1. Bug 576260.
App code needs C89 extern inlines. The sanes way is to use
-fgnu89-inlines.
2. Bug 583726.
Use long instead of int to avoid incompatible pointer type errors
(starting with linux-4.6.0)
Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.25-linux_2.6.36-r1.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.25-linux_2.6.36-r1.patch b/media-libs/svgalib/files/svgalib-1.9.25-linux_2.6.36-r1.patch index ad8d94cb8702..dbc0338cbfb5 100644 --- a/media-libs/svgalib/files/svgalib-1.9.25-linux_2.6.36-r1.patch +++ b/media-libs/svgalib/files/svgalib-1.9.25-linux_2.6.36-r1.patch @@ -10,7 +10,7 @@ static int svgalib_helper_ioctl( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) { +#else -+static int svgalib_helper_ioctl(struct file *filp, ++static long svgalib_helper_ioctl(struct file *filp, + unsigned int cmd, unsigned long arg) { + struct inode *inode=filp->f_dentry->d_inode; +#endif |