]> git.pld-linux.org Git - packages/blt.git/commitdiff
- added 64 bit patch, fixed install
authorTomasz Pala <gotar@pld-linux.org>
Mon, 25 Jun 2012 08:14:57 +0000 (08:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blt-64bit.patch -> 1.1
    blt.spec -> 1.52

blt-64bit.patch [new file with mode: 0644]
blt.spec

diff --git a/blt-64bit.patch b/blt-64bit.patch
new file mode 100644 (file)
index 0000000..9f1c3c9
--- /dev/null
@@ -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
index d62b6ec09949c7f520b438d65adc03c4a6946fa9..ffa690c204144ea034081ebb4b8bf50669edbe96 100644 (file)
--- a/blt.spec
+++ b/blt.spec
@@ -21,6 +21,7 @@ Patch6:               %{name}-norpath.patch
 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
@@ -140,7 +141,7 @@ cp -f /usr/share/automake/config.* cf
 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}
 
This page took 0.143275 seconds and 4 git commands to generate.