Hi,
> fcgid_config.h:4:9: error: macro names must be identifiers
> fcgid_config.h:7:9: error: macro names must be identifiers
> fcgid_config.h:13:9: error: macro names must be identifiers
In configure.apxs, it says as
if make local-clean conftest_sys_file_h >>../config.apxs.log 2>&1; then
found_features="$found_features \
-e \"s/^#undef \(HAVE_SYS_FILE_H\)[ \t]*/#define \1 1/;\""
^^^^^^^^^^^^^
With changes for this part solves the problem.
See attached patch, thanks.
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
diff -u libapache2-mod-fcgid-2.3.5/debian/changelog libapache2-mod-fcgid-2.3.5/debian/changelog
--- libapache2-mod-fcgid-2.3.5/debian/changelog
+++ libapache2-mod-fcgid-2.3.5/debian/changelog
@@ -1,3 +1,10 @@
+libapache2-mod-fcgid (1:2.3.5-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * add debian/patches/30_define_macro_name_as_identifier.dpatch
+
+ -- Hideki Yamane (Debian-JP) <[email protected]> Tue, 25 May 2010 20:30:22 +0900
+
libapache2-mod-fcgid (1:2.3.5-1) unstable; urgency=medium
* New upstream release
diff -u libapache2-mod-fcgid-2.3.5/debian/patches/00list libapache2-mod-fcgid-2.3.5/debian/patches/00list
--- libapache2-mod-fcgid-2.3.5/debian/patches/00list
+++ libapache2-mod-fcgid-2.3.5/debian/patches/00list
@@ -2,0 +3 @@
+30_define_macro_name_as_identifier.dpatch
only in patch2:
unchanged:
--- libapache2-mod-fcgid-2.3.5.orig/debian/patches/30_define_macro_name_as_identifier.dpatch
+++ libapache2-mod-fcgid-2.3.5/debian/patches/30_define_macro_name_as_identifier.dpatch
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_define_macro_name_as_identifier.dpatch by Hideki Yamane (Debian-JP) <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+...@dpatch@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libapache2-mod-fcgid-2.3.5~/configure.apxs libapache2-mod-fcgid-2.3.5/configure.apxs
+--- libapache2-mod-fcgid-2.3.5~/configure.apxs 2009-11-15 04:58:31.000000000 +0900
++++ libapache2-mod-fcgid-2.3.5/configure.apxs 2010-05-25 20:29:56.000000000 +0900
+@@ -80,22 +80,22 @@
+
+ if make local-clean conftest_sys_file_h >>../config.apxs.log 2>&1; then
+ found_features="$found_features \
+- -e \"s/^#undef \(HAVE_SYS_FILE_H\)[ \t]*/#define \1 1/;\""
++ -e \"s/^#undef \(HAVE_SYS_FILE_H\)[ \t]*/#define true/;\""
+ fi
+
+ if make local-clean conftest_sys_mman_h >>../config.apxs.log 2>&1; then
+ found_features="$found_features \
+- -e \"s/^#undef \(HAVE_SYS_MMAN_H\)[ \t]*/#define \1 1/;\""
++ -e \"s/^#undef \(HAVE_SYS_MMAN_H\)[ \t]*/#define true/;\""
+ fi
+
+ if make local-clean conftest_sys_mutex_h >>../config.apxs.log 2>&1; then
+ found_features="$found_features \
+- -e \"s/^#undef \(HAVE_SYS_MUTEX_H\)[ \t]*/#define \1 1/;\""
++ -e \"s/^#undef \(HAVE_SYS_MUTEX_H\)[ \t]*/#define true/;\""
+ fi
+
+ if make local-clean conftest_sys_shm_h >>../config.apxs.log 2>&1; then
+ found_features="$found_features \
+- -e \"s/^#undef \(HAVE_SYS_SHM_H\)[ \t]*/#define \1 1/;\""
++ -e \"s/^#undef \(HAVE_SYS_SHM_H\)[ \t]*/#define true/;\""
+ fi
+
+ make local-distclean >>../config.apxs.log 2>&1