FreeBSD Bugzilla – Attachment 103962 Details for
Bug 144062
[PATCH] devel/loki: update to 0.1.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
loki-0.1.7.patch
loki-0.1.7.patch (text/plain), 8.37 KB, created by
Charming Sun
on 2010-02-18 15:20:00 UTC
(
hide
)
Description:
loki-0.1.7.patch
Filename:
MIME Type:
Creator:
Charming Sun
Created:
2010-02-18 15:20:00 UTC
Size:
8.37 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144062
: 103962