ports/144062: [PATCH] devel/loki: update to 0.1.7
Charlie &
snnn119 at gmail.com
Thu Feb 18 15:20:01 UTC 2010
>Number: 144062
>Category: ports
>Synopsis: [PATCH] devel/loki: update to 0.1.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 18 15:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Changming Sun
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
wanmei.inc
>Environment:
System: FreeBSD fb.localdomain 9.0-CURRENT FreeBSD 9.0-CURRENT #14 r204023M: Thu Feb 18 11:10:07 UTC
>Description:
- Update to 0.1.7
Added file(s):
- files/patch-Makefile.common
- files/patch-test_SingletonDll_Makefile
Removed file(s):
- files/patch-Makefile
- files/patch-include-loki-Threads.h
- files/patch-test-Makefile
- files/patch-test-SingletonDll-Makefile
- files/patch-test-SmartPtr-main.cpp
Port maintainer (snnn119 at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- loki-0.1.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/loki/Makefile /tmp/port/loki/Makefile
--- /usr/ports/devel/loki/Makefile 2010-02-18 20:31:22.855061746 +0000
+++ /tmp/port/loki/Makefile 2010-02-18 20:31:36.735168000 +0000
@@ -6,7 +6,7 @@
#
PORTNAME= loki
-PORTVERSION= 0.1.5
+PORTVERSION= 0.1.7
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}-lib/Loki/Loki%20${PORTVERSION}
diff -ruN --exclude=CVS /usr/ports/devel/loki/distinfo /tmp/port/loki/distinfo
--- /usr/ports/devel/loki/distinfo 2010-02-18 20:31:22.855061746 +0000
+++ /tmp/port/loki/distinfo 2010-02-18 20:35:32.826973000 +0000
@@ -1,3 +1,3 @@
-MD5 (loki-0.1.5.tar.gz) = f246e9e91b46d4e55ce36193984697e6
-SHA256 (loki-0.1.5.tar.gz) = 01ae8b65e286a64017a9fa2eb633d70b5f029b03bb4682f3105148165e3345f5
-SIZE (loki-0.1.5.tar.gz) = 324972
+MD5 (loki-0.1.7.tar.gz) = 005d79581fbe888ceabd65d46c99c8b1
+SHA256 (loki-0.1.7.tar.gz) = 0f185478552009cd3f82a4ef3038fd6080d293308c15a6501284ba6092b21cf6
+SIZE (loki-0.1.7.tar.gz) = 520453
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-Makefile /tmp/port/loki/files/patch-Makefile
--- /usr/ports/devel/loki/files/patch-Makefile 2010-02-18 20:31:22.845061033 +0000
+++ /tmp/port/loki/files/patch-Makefile 1970-01-01 00:00:00.000000000 +0000
@@ -1,20 +0,0 @@
---- Makefile.orig Sun Jan 28 02:20:26 2007
-+++ Makefile Sun Jan 28 02:24:49 2007
-@@ -2,7 +2,7 @@
- export OS ?= $(shell uname -s)
-
- export CXXWARNFLAGS = -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic
--export CXXFLAGS = $(CXXWARNFLAGS) -g -O2
-+export CXXFLAGS += $(CXXWARNFLAGS) -fPIC
-
- .PHONY: all build-static build-shared check clean distclean
- all: build-static build-shared check
-@@ -23,7 +23,7 @@
- $(MAKE) -C src distclean
-
- ifneq ($(OS),Windows)
--export prefix ?= /usr
-+export prefix ?= ${PREFIX}
-
- .PHONY: install install-static
- install:
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-Makefile.common /tmp/port/loki/files/patch-Makefile.common
--- /usr/ports/devel/loki/files/patch-Makefile.common 1970-01-01 00:00:00.000000000 +0000
+++ /tmp/port/loki/files/patch-Makefile.common 2010-02-18 20:40:17.769152000 +0000
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- Makefile.common.orig
++++ Makefile.common
+@@ -4,4 +4,4 @@
+ CXXWARNFLAGS := -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic
+ CXXFLAGS := $(CXXWARNFLAGS) -g -O2
+
+-prefix := /usr
++prefix := ${PREFIX}
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-include-loki-Threads.h /tmp/port/loki/files/patch-include-loki-Threads.h
--- /usr/ports/devel/loki/files/patch-include-loki-Threads.h 2010-02-18 20:31:22.855061746 +0000
+++ /tmp/port/loki/files/patch-include-loki-Threads.h 1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
---- include/loki/Threads.h.orig Mon Nov 6 20:39:26 2006
-+++ include/loki/Threads.h Mon Nov 6 20:42:26 2006
-@@ -51,8 +51,8 @@
-
- #include <cassert>
-
--#if defined(LOKI_CLASS_LEVEL_THREADING) || defined(LOKI_OBJECT_LEVEL_THREADING)
--
-+//#if defined(LOKI_CLASS_LEVEL_THREADING) || defined(LOKI_OBJECT_LEVEL_THREADING)
-+#if 0
- #define LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL ::Loki::ClassLevelLockable
-
- #if defined(LOKI_CLASS_LEVEL_THREADING) && !defined(LOKI_OBJECT_LEVEL_THREADING)
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-src-Makefile /tmp/port/loki/files/patch-src-Makefile
--- /usr/ports/devel/loki/files/patch-src-Makefile 2010-02-18 20:31:22.845061033 +0000
+++ /tmp/port/loki/files/patch-src-Makefile 2010-02-18 20:49:42.353471000 +0000
@@ -1,21 +1,14 @@
---- src/Makefile.orig Sun Jan 28 01:57:12 2007
-+++ src/Makefile Sun Jan 28 01:59:57 2007
-@@ -20,10 +20,18 @@
- LDLIBS = -lpthread
- RESULT_DIR = ../lib/
+
+$FreeBSD$
+
+--- src/Makefile.orig
++++ src/Makefile
+@@ -20,7 +20,7 @@
+ override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC
+ LDLIBS := -lpthread
else
-+ifeq ($(OS), FreeBSD)
-+ SHARED_LIB_BASE = libloki.so
-+ SHARED_LIB_VERSIONED = libloki.so.0
-+ LDFLAGS = --shared -Wl,-soname=$(SHARED_LIB_VERSIONED)
-+ LDLIBS = -pthread
-+ RESULT_DIR = ../lib/
-+else
- SHARED_LIB_BASE = libloki.dll
- LDFLAGS = --shared
- LDLIBS =
- RESULT_DIR = ../lib/
-+endif
- endif
- endif
-
+-ifeq ($(OS), GNU/kFreeBSD)
++ifeq ($(OS), $(filter $(OS),GNU/kFreeBSD FreeBSD))
+ SHARED_LIB_BASE := libloki.so
+ SHARED_LIB_VERSIONED := libloki.so.$(VERSION)
+ override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-test-Makefile /tmp/port/loki/files/patch-test-Makefile
--- /usr/ports/devel/loki/files/patch-test-Makefile 2010-02-18 20:31:22.845061033 +0000
+++ /tmp/port/loki/files/patch-test-Makefile 1970-01-01 00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
---- test/Makefile.orig Mon Nov 6 20:45:11 2006
-+++ test/Makefile Mon Nov 6 20:49:04 2006
-@@ -1,5 +1,9 @@
- export CPPFLAGS = -I../../include -DNDEBUG
-+ifeq ($(OS),FreeBSD)
-+export LDFLAGS = -L../../lib -pthread
-+else
- export LDFLAGS = -L../../lib
-+endif
- export LDLIBS = -lloki
-
- ifeq ($(OS),Windows)
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-test-SingletonDll-Makefile /tmp/port/loki/files/patch-test-SingletonDll-Makefile
--- /usr/ports/devel/loki/files/patch-test-SingletonDll-Makefile 2010-02-18 20:31:22.855061746 +0000
+++ /tmp/port/loki/files/patch-test-SingletonDll-Makefile 1970-01-01 00:00:00.000000000 +0000
@@ -1,18 +0,0 @@
---- test/SingletonDll/Makefile.orig Sun Jan 28 02:00:34 2007
-+++ test/SingletonDll/Makefile Sun Jan 28 02:05:49 2007
-@@ -8,9 +8,15 @@
- LIB2 = libsingletondll.so
- SHARED_LIB_FLAG = --shared
- else
-+ifeq ($(OS),FreeBSD)
-+ LIB1 = libfoo.so
-+ LIB2 = libsingletondll.so
-+ SHARED_LIB_FLAG = --shared
-+else
- LIB1 = foo.dll
- LIB2 = singletondll.dll
- SHARED_LIB_FLAG = --shared
-+endif
- endif
- endif
-
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-test-SmartPtr-main.cpp /tmp/port/loki/files/patch-test-SmartPtr-main.cpp
--- /usr/ports/devel/loki/files/patch-test-SmartPtr-main.cpp 2010-02-18 20:31:22.845061033 +0000
+++ /tmp/port/loki/files/patch-test-SmartPtr-main.cpp 1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
---- test/SmartPtr/main.cpp.orig Mon Nov 6 20:25:41 2006
-+++ test/SmartPtr/main.cpp Mon Nov 6 20:26:02 2006
-@@ -998,7 +998,7 @@
-
- // ----------------------------------------------------------------------------
-
--int main( unsigned int , const char * [] )
-+int main( int , const char * [] )
- {
-
- DoRefLinkTests();
diff -ruN --exclude=CVS /usr/ports/devel/loki/files/patch-test_SingletonDll_Makefile /tmp/port/loki/files/patch-test_SingletonDll_Makefile
--- /usr/ports/devel/loki/files/patch-test_SingletonDll_Makefile 1970-01-01 00:00:00.000000000 +0000
+++ /tmp/port/loki/files/patch-test_SingletonDll_Makefile 2010-02-18 20:55:48.396268000 +0000
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- test/SingletonDll/Makefile.orig
++++ test/SingletonDll/Makefile
+@@ -5,6 +5,11 @@
+ LIB2 := libsingletondll.dylib
+ SHARED_LIB_FLAG := -dynamiclib -fPIC
+ else
++ifeq ($(OS),FreeBSD)
++ LIB1 := libfoo.so
++ LIB2 := libsingletondll.so
++ SHARED_LIB_FLAG := --shared -fPIC
++else
+ ifeq ($(OS),Linux)
+ LIB1 := libfoo.so
+ LIB2 := libsingletondll.so
+@@ -15,6 +20,7 @@
+ SHARED_LIB_FLAG := --shared
+ endif
+ endif
++endif
+
+ BIN1 := client$(BIN_SUFFIX)
+ SRC1 := client.cpp
diff -ruN --exclude=CVS /usr/ports/devel/loki/pkg-plist /tmp/port/loki/pkg-plist
--- /usr/ports/devel/loki/pkg-plist 2010-02-18 20:31:22.855061746 +0000
+++ /tmp/port/loki/pkg-plist 2010-02-18 21:23:54.359178000 +0000
@@ -1,5 +1,9 @@
include/loki/AbstractFactory.h
+include/loki/Allocator.h
include/loki/AssocVector.h
+include/loki/CachedFactory.h
+include/loki/CheckReturn.h
+include/loki/Checker.h
include/loki/ConstPolicy.h
include/loki/DataGenerators.h
include/loki/EmptyType.h
@@ -7,6 +11,8 @@
include/loki/Function.h
include/loki/Functor.h
include/loki/HierarchyGenerators.h
+include/loki/Key.h
+include/loki/LevelMutex.h
include/loki/LockingPtr.h
include/loki/LokiExport.h
include/loki/LokiTypeInfo.h
@@ -16,6 +22,8 @@
include/loki/Pimpl.h
include/loki/RefToValue.h
include/loki/Register.h
+include/loki/SPCachedFactory.h
+include/loki/SafeBits.h
include/loki/SafeFormat.h
include/loki/ScopeGuard.h
include/loki/Sequence.h
@@ -48,7 +56,7 @@
include/loki/yasli/yasli_vector.h
lib/libloki.a
lib/libloki.so
-lib/libloki.so.0
+lib/libloki.so.0.1.7
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/Notes.txt
%%PORTDOCS%%%%DOCSDIR%%/README
--- loki-0.1.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list