SPECS: sphinx.spec - _FILE_OFFSET_BITS=64 for proper build (thx to...

glen glen at pld-linux.org
Thu Mar 15 18:48:26 CET 2007


Author: glen                         Date: Thu Mar 15 17:48:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- _FILE_OFFSET_BITS=64 for proper build (thx to Andrew Aksyonoff for pointing to right direction)

---- Files affected:
SPECS:
   sphinx.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/sphinx.spec
diff -u SPECS/sphinx.spec:1.2 SPECS/sphinx.spec:1.3
--- SPECS/sphinx.spec:1.2	Tue Mar 13 12:53:14 2007
+++ SPECS/sphinx.spec	Thu Mar 15 18:48:21 2007
@@ -1,8 +1,6 @@
 # $Revision$, $Date$
-# TODO
-# - make mysql Storage Engine
 %define		_rc		rc2
-%define		_rel	0.1
+%define		_rel	0.2
 Summary:	Free open-source SQL full-text search engine
 Summary(pl.UTF-8):	Silnik przeszukiwania pełnotekstowego SQL open-source
 Name:		sphinx
@@ -12,8 +10,7 @@
 Group:		Applications/Databases
 Source0:	http://www.sphinxsearch.com/downloads/%{name}-%{version}-%{_rc}.tar.gz
 # Source0-md5:	65daf0feb7e276fb3de0aba82cff1d3e
-Patch0:		%{name}-offset_t.patch
-Patch1:		%{name}-DESTDIR.patch
+Patch0:		%{name}-DESTDIR.patch
 URL:		http://www.sphinxsearch.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -39,18 +36,14 @@
 
 %prep
 %setup -q -n %{name}-%{version}-%{_rc}
-%ifnarch %{x8664} alpha
-# he uses off_t for 8 bit pointers. at least i686 has off_t 4 bit
-# it could break code but at least it compiles now.
 %patch0 -p1
-%endif
-%patch1 -p1
 
 %build
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+CPPFLAGS=-D_FILE_OFFSET_BITS=64
 %configure
 %{__make}
 
@@ -80,9 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/03/15 17:48:21  glen
+- _FILE_OFFSET_BITS=64 for proper build (thx to Andrew Aksyonoff for pointing to right direction)
+
 Revision 1.2  2007/03/13 11:53:14  beorn
 - Polish translation
 
 Revision 1.1  2007/03/13 08:59:19  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sphinx.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list