Author: gotar                        Date: Mon Jun 25 08:15:02 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added 64 bit patch, fixed install

---- Files affected:
packages/blt:
   blt.spec (1.51 -> 1.52) , blt-64bit.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/blt/blt.spec
diff -u packages/blt/blt.spec:1.51 packages/blt/blt.spec:1.52
--- packages/blt/blt.spec:1.51  Mon Feb 12 22:23:49 2007
+++ packages/blt/blt.spec       Mon Jun 25 10:14:57 2012
@@ -22,6 +22,7 @@
 Patch7:                %{name}-tcl85.patch
 Patch8:                %{name}-decl.patch
 Patch9:                %{name}-link.patch
+Patch10:       %{name}-64bit.patch
 URL:           http://blt.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -141,7 +142,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d 
$RPM_BUILD_ROOT{%{_prefix},%{_examplesdir}/%{name}-%{version},%{_mandir}}
 
-%{__make} install \
+%{__make} -j1 install \
        INSTALL_ROOT=$RPM_BUILD_ROOT \
        libdir=%{_libdir}
 
@@ -195,6 +196,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2012/06/25 08:14:57  gotar
+- added 64 bit patch, fixed install
+
 Revision 1.51  2007/02/12 21:23:49  glen
 - tabs in preamble
 

================================================================
Index: packages/blt/blt-64bit.patch
diff -u /dev/null packages/blt/blt-64bit.patch:1.1
--- /dev/null   Mon Jun 25 10:15:03 2012
+++ packages/blt/blt-64bit.patch        Mon Jun 25 10:14:57 2012
@@ -0,0 +1,24 @@
+--- blt2.4z/src/bltTree.c.64bit-fixes  2002-09-29 07:44:12.000000000 +0200
++++ blt2.4z/src/bltTree.c      2003-07-31 12:22:53.000000000 +0200
+@@ -95,17 +95,16 @@ static Value *TreeNextValue _ANSI_ARGS_(
+  */
+ 
+ #define REBUILD_MULTIPLIER    3
++#define START_LOGSIZE         5 /* Initial hash table size is 32. */
++#define MAX_LIST_VALUES               20 /* Convert to hash table when node
++                                  * value list gets bigger than this
++                                  * many values. */
+ 
+ #if (SIZEOF_VOID_P == 8)
+ #define RANDOM_INDEX(i)               HashOneWord(mask, downshift, i)
+ #define BITSPERWORD           64
+ #else 
+ 
+-#define START_LOGSIZE         5 /* Initial hash table size is 32. */
+-#define MAX_LIST_VALUES               20 /* Convert to hash table when node
+-                                  * value list gets bigger than this
+-                                  * many values. */
+-
+ /*
+  * The following macro takes a preliminary integer hash value and
+  * produces an index into a hash tables bucket list.  The idea is
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/blt/blt.spec?r1=1.51&r2=1.52

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to