SPECS: squid.spec - fixes -m32 error that gcc doesn't recognize

glen glen at pld-linux.org
Wed Sep 19 18:43:09 CEST 2007


Author: glen                         Date: Wed Sep 19 16:43:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixes -m32 error that gcc doesn't recognize

---- Files affected:
SPECS:
   squid.spec (1.280 -> 1.281) 

---- Diffs:

================================================================
Index: SPECS/squid.spec
diff -u SPECS/squid.spec:1.280 SPECS/squid.spec:1.281
--- SPECS/squid.spec:1.280	Wed Sep 19 18:08:09 2007
+++ SPECS/squid.spec	Wed Sep 19 18:43:04 2007
@@ -3,9 +3,6 @@
 # - use /usr/lib/cgi-bin instead of /home/services
 # - test fd-config.patch (works in Fedora)
 # - test new hit_miss_mark.patch (ZPH TOS)
-# - ac-ppc fails: cc1: error: invalid option `32', this is due:
-#   [builder2 at forge]$ getconf POSIX_V6_ILP32_OFFBIG_CFLAGS
-#   -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 #
 # Conditional build:
 %bcond_with	combined_log	# enables apache-like combined log format
@@ -19,7 +16,7 @@
 Summary(zh_CN.UTF-8):	SQUID 高速缓冲代理服务器
 Name:		squid
 Version:	2.6.STABLE16
-Release:	0.3
+Release:	0.4
 Epoch:		7
 License:	GPL v2
 Group:		Networking/Daemons
@@ -53,6 +50,7 @@
 Patch112:	%{name}-2.5.STABLE4-apache-like-combined-log.patch
 Patch113:	%{name}-auth_on_acceleration.patch
 Patch114:	%{name}-fd-config.patch
+Patch115:	%{name}-ppc-m32.patch
 URL:		http://www.squid-cache.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -454,6 +452,9 @@
 %{?with_combined_log:%patch112 -p1}
 %patch113 -p1
 %patch114 -p1
+%ifarch ppc
+%patch115 -p1
+%endif
 
 %{__sed} -i -e '1s#!.*bin/perl#!%{__perl}#' {contrib,scripts,helpers/*/*}/*.pl
 
@@ -763,6 +764,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.281  2007/09/19 16:43:04  glen
+- fixes -m32 error that gcc doesn't recognize
+
 Revision 1.280  2007/09/19 16:08:09  glen
 - some more details about ppc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/squid.spec?r1=1.280&r2=1.281&f=u



More information about the pld-cvs-commit mailing list