File apache2-mod_owa.patch of Package apache2-mod_owa
diff -Pdpru modowa.orig/bin/apache24/modowa.mk modowa/bin/apache24/modowa.mk --- modowa.orig/bin/apache24/modowa.mk 2019-12-17 23:31:00.000000000 +0100 +++ modowa/bin/apache24/modowa.mk 2021-10-11 11:42:06.579295895 +0200 @@ -19,20 +19,22 @@ ORA_LIB = $(ORACLE_HOME)/lib # # Change this to point to wherever you've installed Apache. # -APACHE_TOP = /usr/local/apache24 +APACHE_TOP = /usr/share/apache2 # # The Oracle includes are needed to compile, especially the OCI headers. # ORAINC = -I$(ORACLE_HOME)/rdbms/public \ -I$(ORACLE_HOME)/network/public \ - -I$(ORACLE_HOME)/xdk/include + -I$(ORACLE_HOME)/xdk/include \ + -I/usr/include/oracle/@ORA_VERSION@/client # # You also need the Apache headers, which are optionally installable with # Apache and normally are all in the /include sub-directory. # -INCLUDES = -I. $(ORAINC) -I$(APACHE_TOP)/include +INCLUDES = -I. $(ORAINC) -I/usr/include/apache2 \ + -I/usr/include/apr-1 # # CC = cc almost everywhere, but change as necessary for your platform