Blame SOURCES/mod_fcgid-2.3.9-r1848311.patch

b04572
# ./pullrev.sh 1848311
b04572
http://svn.apache.org/viewvc?view=revision&revision=1848311
b04572
b04572
https://bugzilla.redhat.com/show_bug.cgi?id=1655035
b04572
b04572
--- mod_fcgid-2.3.9/modules/fcgid/config.m4
b04572
+++ mod_fcgid-2.3.9/modules/fcgid/config.m4
b04572
@@ -43,6 +43,11 @@
b04572
     AC_CHECK_HEADERS(sys/mman.h)
b04572
     AC_CHECK_HEADERS(sys/mutex.h)
b04572
     AC_CHECK_HEADERS(sys/shm.h)
b04572
+    if test "x$enable_fcgid" = "xshared"; then
b04572
+       # The only symbol which needs to be exported is the module
b04572
+       # structure, so ask libtool to hide everything else:
b04572
+       APR_ADDTO(MOD_FCGID_LDADD, [-export-symbols-regex fcgid_module])
b04572
+    fi
b04572
 ])
b04572
 
b04572
 dnl #  end of module specific part
b04572
--- mod_fcgid-2.3.9/modules/fcgid/Makefile.apxs
b04572
+++ mod_fcgid-2.3.9/modules/fcgid/Makefile.apxs
b04572
@@ -16,6 +16,7 @@
b04572
 builddir=.
b04572
 srcdir=.
b04572
 
b04572
+MOD_FCGID_LDADD = -export-symbols-regex fcgid_module
b04572
 CLEAN_TARGETS = *.loT
b04572
 include $(exp_installbuilddir)/special.mk
b04572
 
b04572
--- mod_fcgid-2.3.9/modules/fcgid/modules.mk.apxs
b04572
+++ mod_fcgid-2.3.9/modules/fcgid/modules.mk.apxs
b04572
@@ -17,7 +17,7 @@
b04572
 # this is used/needed by the APACHE2 build system
b04572
 #
b04572
 mod_fcgid.la: mod_fcgid.slo fcgid_bridge.slo fcgid_conf.slo fcgid_pm_main.slo fcgid_protocol.slo fcgid_spawn_ctl.slo  fcgid_proctbl_unix.slo fcgid_pm_unix.slo fcgid_proc_unix.slo fcgid_bucket.slo fcgid_filter.slo fcgid_mutex_unix.slo
b04572
-	$(SH_LINK) -rpath $(libexecdir) -module -avoid-version mod_fcgid.lo fcgid_bridge.lo fcgid_conf.lo fcgid_pm_main.lo fcgid_protocol.lo fcgid_spawn_ctl.lo  fcgid_proctbl_unix.lo fcgid_pm_unix.lo fcgid_proc_unix.lo fcgid_bucket.lo fcgid_filter.lo fcgid_mutex_unix.lo
b04572
+	$(SH_LINK) -rpath $(libexecdir) -module -avoid-version mod_fcgid.lo fcgid_bridge.lo fcgid_conf.lo fcgid_pm_main.lo fcgid_protocol.lo fcgid_spawn_ctl.lo  fcgid_proctbl_unix.lo fcgid_pm_unix.lo fcgid_proc_unix.lo fcgid_bucket.lo fcgid_filter.lo fcgid_mutex_unix.lo $(MOD_FCGID_LDADD)
b04572
 DISTCLEAN_TARGETS = modules.mk
b04572
 static =
b04572
 shared =  mod_fcgid.la