- Update to 3.63
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= fastdb
|
||||
PORTVERSION= 3.53
|
||||
PORTVERSION= 3.63
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MD5 (fastdb-3.53.tar.gz) = 666839686bcd467df3376078af916901
|
||||
SHA256 (fastdb-3.53.tar.gz) = 62b6decc2bcf8b580b005c3c97d3cdfa939b75cd760fe26549a4697e0ca6f9f3
|
||||
SIZE (fastdb-3.53.tar.gz) = 1028375
|
||||
MD5 (fastdb-3.63.tar.gz) = a5dd1090c40a6ad9d48cf56994d69dad
|
||||
SHA256 (fastdb-3.63.tar.gz) = 68c944d2fbd3ed4c3ae693f8f886a21fdc3101188f0a3914d945e0da33d12458
|
||||
SIZE (fastdb-3.63.tar.gz) = 1913077
|
||||
|
||||
11
databases/fastdb/files/patch-inc-sync_unix.h
Normal file
11
databases/fastdb/files/patch-inc-sync_unix.h
Normal file
@@ -0,0 +1,11 @@
|
||||
--- inc/sync_unix.h.orig 2009-11-20 20:53:02.000000000 +0800
|
||||
+++ inc/sync_unix.h 2010-08-16 13:56:02.000000000 +0800
|
||||
@@ -160,7 +160,7 @@
|
||||
}
|
||||
|
||||
static int getCurrentThreadId() {
|
||||
- return (int)pthread_self();
|
||||
+ return reinterpret_cast<unsigned long>(pthread_self());
|
||||
}
|
||||
|
||||
static int numberOfProcessors();
|
||||
@@ -1,6 +1,6 @@
|
||||
--- makefile.orig 2009-03-01 20:30:50.000000000 +0800
|
||||
+++ makefile 2009-05-20 15:47:02.000000000 +0800
|
||||
@@ -37,8 +37,8 @@
|
||||
--- makefile.orig 2009-12-15 00:07:00.000000000 +0800
|
||||
+++ makefile 2010-08-16 13:53:31.000000000 +0800
|
||||
@@ -38,8 +38,8 @@
|
||||
THRLIBS=
|
||||
SUFF=
|
||||
else
|
||||
@@ -11,7 +11,7 @@
|
||||
SUFF=_r
|
||||
endif
|
||||
|
||||
@@ -67,21 +67,21 @@
|
||||
@@ -65,23 +65,23 @@
|
||||
|
||||
WEB_EXAMPLES = cgistub bugdb clidb
|
||||
|
||||
@@ -21,10 +21,12 @@
|
||||
# DEFS macro is deprecatred, edit config.h file instead
|
||||
DEFS = -Wno-invalid-offsetof
|
||||
|
||||
#CFLAGS = $(TFLAGS) -Iinc -c -Wall -O5 -g -fPIC $(DEFS)
|
||||
ifeq ($(DEBUG), 1)
|
||||
-CFLAGS = -c -Iinc -Wall -O0 -g -fPIC $(DEFS) $(TFLAGS)
|
||||
+CFLAGS = -c -Iinc ${CXXFLAGS} -fPIC $(DEFS) $(TFLAGS)
|
||||
#CFLAGS = -c -Iinc -Wall -O0 -fPIC -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
|
||||
else
|
||||
CFLAGS = -c -Iinc -Wall -O5 -g -fPIC $(DEFS) $(TFLAGS)
|
||||
endif
|
||||
|
||||
-#SHFLAGS=-shared -Wl,-soname,$@
|
||||
-SHFLAGS=-shared
|
||||
@@ -38,16 +40,17 @@
|
||||
|
||||
AR = ar
|
||||
ARFLAGS = -cru
|
||||
@@ -389,24 +389,20 @@
|
||||
@@ -433,16 +433,15 @@
|
||||
|
||||
install: subsql cleanupsem installlib
|
||||
install: subsql cleanupsem inspectsem installlib
|
||||
mkdir -p $(BINSPATH)
|
||||
- cp subsql $(BINSPATH)
|
||||
- strip $(BINSPATH)/subsql
|
||||
- cp cleanupsem $(BINSPATH)
|
||||
- strip $(BINSPATH)/cleanupsem
|
||||
- cp inspectsem $(BINSPATH)
|
||||
+ ${BSD_INSTALL_PROGRAM} subsql $(BINSPATH)
|
||||
+ ${BSD_INSTALL_PROGRAM} cleanupsem $(BINSPATH)
|
||||
+ ${BSD_INSTALL_PROGRAM} inspectsem $(BINSPATH)
|
||||
|
||||
installlib: $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED)
|
||||
mkdir -p $(INCSPATH)
|
||||
@@ -58,8 +61,8 @@
|
||||
+ ${BSD_INSTALL_PROGRAM} $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) $(LIBSPATH)
|
||||
(cd $(LIBSPATH) && ln -f -s $(FASTDB_SHARED) libfastdb$(SUFF).so \
|
||||
&& ln -f -s $(CLI_SHARED) libcli$(SUFF).so)
|
||||
- if [ -f $(JNI_LIB) ]; then cp $(JNI_LIB) $(LIBSPATH); \
|
||||
- cd $(LIBSPATH) && ln -f -s $(JNI_LIB) libjnicli.so; fi
|
||||
if [ -f $(JNI_LIB) ]; then cp $(JNI_LIB) $(LIBSPATH); \
|
||||
@@ -450,7 +449,7 @@
|
||||
|
||||
uninstall:
|
||||
rm -fr $(INCSPATH)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
bin/cleanupsem
|
||||
bin/inspectsem
|
||||
bin/subsql
|
||||
include/fastdb/array.h
|
||||
include/fastdb/class.h
|
||||
|
||||
Reference in New Issue
Block a user