public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] db4 for aicasm
@ 2003-06-17 21:29 J.A. Magallon
  0 siblings, 0 replies; only message in thread
From: J.A. Magallon @ 2003-06-17 21:29 UTC (permalink / raw)
  To: Lista Linux-Kernel; +Cc: Marcelo Tosatti

Hi.

This enables the build of aicasm with db4-devel.

--- linux-2.4.21/drivers/scsi/aic7xxx/aicasm/Makefile.orig	2003-06-17 23:26:37.000000000 +0200
+++ linux-2.4.21/drivers/scsi/aic7xxx/aicasm/Makefile	2003-06-17 23:26:55.000000000 +0200
@@ -33,7 +33,9 @@
 	$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)
 
 aicdb.h:
-	@if [ -e "/usr/include/db3/db_185.h" ]; then		\
+	@if [ -e "/usr/include/db4/db_185.h" ]; then		\
+		echo "#include <db4/db_185.h>" > aicdb.h;	\
+	 elif [ -e "/usr/include/db3/db_185.h" ]; then		\
 		echo "#include <db3/db_185.h>" > aicdb.h;	\
 	 elif [ -e "/usr/include/db2/db_185.h" ]; then		\
 		echo "#include <db2/db_185.h>" > aicdb.h;	\
--- linux-2.4.21/drivers/scsi/aic79xx/aicasm/Makefile.orig	2003-06-17 23:25:57.000000000 +0200
+++ linux-2.4.21/drivers/scsi/aic79xx/aicasm/Makefile	2003-06-17 23:26:22.000000000 +0200
@@ -33,7 +33,9 @@
 	$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)
 
 aicdb.h:
-	@if [ -e "/usr/include/db3/db_185.h" ]; then		\
+	@if [ -e "/usr/include/db4/db_185.h" ]; then		\
+		echo "#include <db4/db_185.h>" > aicdb.h;	\
+	 elif [ -e "/usr/include/db3/db_185.h" ]; then		\
 		echo "#include <db3/db_185.h>" > aicdb.h;	\
 	 elif [ -e "/usr/include/db2/db_185.h" ]; then		\
 		echo "#include <db2/db_185.h>" > aicdb.h;	\


-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.21-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-1mdk))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-17 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 21:29 [PATCH] db4 for aicasm J.A. Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox