Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 277139 Details for
Bug 371643
mail-mta/postfix-2.8.3-r1 fails to compile with linux-3.0 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to compile with linux-3.x kernels by wietse venema
linux3.patch (text/plain), 1.49 KB, created by
ron widler
on 2011-06-15 17:20:12 UTC
(
hide
)
Description:
patch to compile with linux-3.x kernels by wietse venema
Filename:
MIME Type:
Creator:
ron widler
Created:
2011-06-15 17:20:12 UTC
Size:
1.49 KB
patch
obsolete
>*** makedefs- Tue Mar 1 14:14:18 2011 >--- makedefs Tue Jun 14 19:31:23 2011 >*************** >*** 340,345 **** >--- 340,372 ---- > fi;; > esac > ;; >+ Linux.3*) SYSTYPE=LINUX3 >+ if [ -f /usr/include/db.h ] >+ then >+ : we are all set >+ elif [ -f /usr/include/db/db.h ] >+ then >+ CCARGS="$CCARGS -I/usr/include/db" >+ else >+ # On a properly installed system, Postfix builds >+ # by including <db.h> and by linking with -ldb >+ echo "No <db.h> include file found." 1>&2 >+ echo "Install the appropriate db*-devel package first." 1>&2 >+ echo "See the RELEASE_NOTES file for more information." 1>&2 >+ exit 1 >+ fi >+ SYSLIBS="-ldb" >+ for name in nsl resolv $GDBM_LIBS >+ do >+ for lib in /usr/lib64 /lib64 /usr/lib /lib >+ do >+ test -e $lib/lib$name.a -o -e $lib/lib$name.so && { >+ SYSLIBS="$SYSLIBS -l$name" >+ break >+ } >+ done >+ done >+ ;; > GNU.0*|GNU/kFreeBSD.[567]*) > SYSTYPE=GNU0 > # Postfix no longer needs DB 1.85 compatibility >diff -cr src/util/sys_defs.h- src/util/sys_defs.h >*** src/util/sys_defs.h- Tue Mar 1 14:14:44 2011 >--- src/util/sys_defs.h Tue Jun 14 19:37:12 2011 >*************** >*** 708,714 **** > /* > * LINUX. > */ >! #ifdef LINUX2 > #define SUPPORTED > #include <sys/types.h> > #define UINT32_TYPE unsigned int >--- 708,714 ---- > /* > * LINUX. > */ >! #if defined(LINUX2) || defined(LINUX3) > #define SUPPORTED > #include <sys/types.h> > #define UINT32_TYPE unsigned int >
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 371643
:
277061
| 277139 |
277141
|
277143
|
277145