Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134554 Details for
Bug 195977
sys-libs/gpm-1.20.1-r6 fails to build w/ linux-headers-2.6.23 due to missing "OPEN_MAX"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gpm-open-max.patch
gpm-open-max.patch (text/plain), 1004 bytes, created by
Robert Bridge
on 2007-10-28 19:04:09 UTC
(
hide
)
Description:
gpm-open-max.patch
Filename:
MIME Type:
Creator:
Robert Bridge
Created:
2007-10-28 19:04:09 UTC
Size:
1004 bytes
patch
obsolete
>diff -uNr gpm-1.20.1/src/prog/gpm-root.y gpm-1.20.1.new/src/prog/gpm-root.y >--- gpm-1.20.1/src/prog/gpm-root.y 2007-10-28 19:57:38.000000000 +0000 >+++ gpm-1.20.1.new/src/prog/gpm-root.y 2007-10-28 20:01:41.000000000 +0000 >@@ -44,7 +44,7 @@ > #include <sys/stat.h> /* fstat() */ > #include <sys/utsname.h> /* uname() */ > #include <termios.h> /* winsize */ >-#include <linux/limits.h> /* OPEN_MAX */ >+#define OPEN_MAX (sysconf(_SC_OPEN_MAX)) > #include <linux/vt.h> /* VT_ACTIVATE */ > #include <linux/keyboard.h> /* K_SHIFT */ > #include <utmp.h> >diff -uNr gpm-1.20.1/src/special.c gpm-1.20.1.new/src/special.c >--- gpm-1.20.1/src/special.c 2002-12-24 22:57:16.000000000 +0000 >+++ gpm-1.20.1.new/src/special.c 2007-10-28 20:01:26.000000000 +0000 >@@ -25,7 +25,7 @@ > > /* This file is compiled conditionally, see the Makefile */ > >-#include <linux/limits.h> /* for OPEN_MAX */ >+#define OPEN_MAX (sysconf(_SC_OPEN_MAX)) > #include <stdio.h> > #include <stdlib.h> > #include <string.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195977
:
133591
|
133735
|
133736
|
133737
| 134554