@@ -0,0 +1,40 @@
1+diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs
2+--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000
3++++ postfix-2.2.9.new/makedefs 2006-03-11 00:38:30.000000000 +0000
4+@@ -219,21 +219,21 @@
5+ ;;
6+ Linux.2*) SYSTYPE=LINUX2
7+ # Postfix no longer needs DB 1.85 compatibility
8+- if [ -f /usr/include/db.h ]
9+- then
10+- : we are all set
11+- elif [ -f /usr/include/db/db.h ]
12+- then
13+- CCARGS="$CCARGS -I/usr/include/db"
14+- else
15+- # No, we're not going to try db1 db2 db3 etc.
16+- # On a properly installed system, Postfix builds
17+- # by including <db.h> and by linking with -ldb
18+- echo "No <db.h> include file found." 1>&2
19+- echo "Install the appropriate db*-devel package first." 1>&2
20+- echo "See the RELEASE_NOTES file for more information." 1>&2
21+- exit 1
22+- fi
23++ #if [ -f /usr/include/db.h ]
24++ #then
25++ #: we are all set
26++ #elif [ -f /usr/include/db/db.h ]
27++ #then
28++ #CCARGS="$CCARGS -I/usr/include/db"
29++ #else
30++ ## No, we're not going to try db1 db2 db3 etc.
31++ ## On a properly installed system, Postfix builds
32++ ## by including <db.h> and by linking with -ldb
33++ #echo "No <db.h> include file found." 1>&2
34++ #echo "Install the appropriate db*-devel package first." 1>&2
35++ #echo "See the RELEASE_NOTES file for more information." 1>&2
36++ #exit 1
37++ #fi
38+ # GDBM locks the DBM .pag file after open. This breaks postmap.
39+ # if [ -f /usr/include/gdbm-ndbm.h ]
40+ # then