summaryrefslogtreecommitdiff
blob: 756556cb8a0fe75fd1e508fbd02dc1c29d8c37b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff -u -r firebird-1.0.0.796_orig/builds/original/build_kit firebird-1.0.0.796/builds/original/build_kit
--- firebird-1.0.0.796_orig/builds/original/build_kit	2001-08-06 17:34:57.000000000 +0200
+++ firebird-1.0.0.796/builds/original/build_kit	2002-03-22 09:09:22.000000000 +0100
@@ -67,7 +67,7 @@
 
 #
 
-LD_LIBRARY_PATH=$CURDIR/jrd:$CURDIR/interbase/lib
+LD_LIBRARY_PATH=$CURDIR/jrd:$CURDIR/interbase/lib:$INTERBASE/lib
 SHLIB_PATH=$CURDIR/jrd
 
 export LD_LIBRARY_PATH
diff -u -r firebird-1.0.0.796_orig/builds/original/prefix.linux firebird-1.0.0.796/builds/original/prefix.linux
--- firebird-1.0.0.796_orig/builds/original/prefix.linux	2002-03-08 12:42:26.000000000 +0100
+++ firebird-1.0.0.796/builds/original/prefix.linux	2002-03-22 09:07:31.000000000 +0100
@@ -33,7 +33,7 @@
 PROD_DEBUG_OBJECTS=	nodebug.o
 PROD_SHRLIB_DIR=	-Lsource/jrd -Lsource/interbase/lib
 PROD_VERSION_FLAG=	-DPROD_BUILD
-PROD_CFLAGS=            -O3 -m486 -fpic -DFLINTSTONE
+PROD_CFLAGS=        $(GENTOO_CFLAGS) -fpic -DFLINTSTONE
 
 
 DEV_DEBUG_OBJECTS=	grammar.o dbg.o dbt.o dmp.o
diff -u -r firebird-1.0.0.796_orig/jrd/misc.c firebird-1.0.0.796/jrd/misc.c
--- firebird-1.0.0.796_orig/jrd/misc.c	2000-08-03 22:50:58.000000000 +0200
+++ firebird-1.0.0.796/jrd/misc.c	2002-03-22 09:07:02.000000000 +0100
@@ -73,16 +73,16 @@
    pop the arguments off the call stack and put
    them into the passed buffer */
 
-while (arg_type = va_arg (ptr, SCHAR))
+while (arg_type = va_arg (ptr, int))
     switch (arg_type)
 	{
 	case dtype_byte: /* byte */
-	    ch = va_arg (ptr, SCHAR);
+	    ch = va_arg (ptr, int);
 	    STUFF (p, ch);
 	    break;
 
 	case dtype_short: /* short value */
-	    sh = va_arg (ptr, USHORT);
+	    sh = va_arg (ptr, int);
 	    STUFF_SHORT (p, sh);
 	    break;
 
@@ -97,7 +97,7 @@
 	    break;
 
 	case dtype_varying: /* short value followed by a value with that many bytes */
-	    sh = va_arg (ptr, USHORT);
+	    sh = va_arg (ptr, int);
 	    STUFF_SHORT (p, sh);
 	    q = va_arg (ptr, UCHAR*);
 	    STUFF_BYTES (p, q, sh);