mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Upgrade to 0.6.
Approved by: clsung@
This commit is contained in:
parent
a50688e7eb
commit
29d08137c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193401
@ -7,10 +7,9 @@
|
||||
#
|
||||
|
||||
PORTNAME= google-ctemplate
|
||||
PORTVERSION= 0.4
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= goog-ctemplate
|
||||
MASTER_SITES= http://google-ctemplate.googlecode.com/files/
|
||||
DISTNAME= ctemplate-${PORTVERSION}
|
||||
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (ctemplate-0.4.tar.gz) = 088607d1bc48ae4547f7699d5f488b63
|
||||
SHA256 (ctemplate-0.4.tar.gz) = 7fb45d09c00eebd0de4d2cc3c5d029e2dc983ff08a4e803e1be78911de129f3a
|
||||
SIZE (ctemplate-0.4.tar.gz) = 478697
|
||||
MD5 (ctemplate-0.6.tar.gz) = 9d3a13b42328c6227b57a864d12be1e9
|
||||
SHA256 (ctemplate-0.6.tar.gz) = 81afd538c2d96475345458cbdf646c054598da9352185fe06492c11b0458b223
|
||||
SIZE (ctemplate-0.6.tar.gz) = 504556
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/template.cc.orig Mon Apr 24 22:43:36 2006
|
||||
+++ src/template.cc Wed Apr 26 15:13:22 2006
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
// Needed for pthread_rwlock_*. If it causes problems, you could take
|
||||
// it out, but then you'd have to unset HAVE_RWLOCK (at least on linux).
|
||||
-#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
+//#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
@ -1,11 +0,0 @@
|
||||
--- src/template_dictionary.cc.orig Wed Apr 26 15:14:17 2006
|
||||
+++ src/template_dictionary.cc Wed Apr 26 15:14:26 2006
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Needed for pthread_rwlock_*. If it causes problems, you could take
|
||||
// it out, but then you'd have to unset HAVE_RWLOCK (at least on linux).
|
||||
-#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
+//#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
11
textproc/google-ctemplate/files/patch-src_base_mutex.h
Normal file
11
textproc/google-ctemplate/files/patch-src_base_mutex.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/base/mutex.h.orig Wed Jun 13 22:51:52 2007
|
||||
+++ src/base/mutex.h Wed Jun 13 22:49:02 2007
|
||||
@@ -52,7 +52,7 @@
|
||||
#elif defined(HAVE_PTHREAD) && defined(HAVE_RWLOCK)
|
||||
// Needed for pthread_rwlock_*. If it causes problems, you could take
|
||||
// it out, but then you'd have to unset HAVE_RWLOCK (at least on linux).
|
||||
-# define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
+//# define _XOPEN_SOURCE 500 // needed to get the rwlock calls
|
||||
# include <pthread.h>
|
||||
typedef pthread_rwlock_t MutexType;
|
||||
#elif defined(HAVE_PTHREAD)
|
@ -0,0 +1,11 @@
|
||||
--- src/google/template_dictionary.h.in.orig Wed Jun 13 23:18:14 2007
|
||||
+++ src/google/template_dictionary.h.in Wed Jun 13 23:18:30 2007
|
||||
@@ -251,7 +251,7 @@
|
||||
inline static size_t HashTemplateString(const TemplateString& s) {
|
||||
// This is a terrible hash-function
|
||||
unsigned long r = 0;
|
||||
- for (int i = 0; i < s.length_; i++)
|
||||
+ for (unsigned int i = 0; i < s.length_; i++)
|
||||
r = 5 * r + s.ptr_[i];
|
||||
return static_cast<size_t>(r);
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- src/google/template_namelist.h.in.orig Wed Jun 13 23:14:49 2007
|
||||
+++ src/google/template_namelist.h.in Wed Jun 13 23:19:50 2007
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <time.h> // for time_t
|
||||
#include <string>
|
||||
#include <vector>
|
||||
-#include HASH_SET_H // defined in config.h
|
||||
+#include <ext/hash_set>
|
||||
#include <google/template_enums.h> // for Strip
|
||||
|
||||
// RegisterTemplateFilename
|
@ -1,18 +1,16 @@
|
||||
bin/make_tpl_varnames_h
|
||||
bin/template-converter
|
||||
include/google/ctemplate/hash_map.h
|
||||
include/google/ctemplate/hash_set.h
|
||||
include/google/template.h
|
||||
include/google/template_enums.h
|
||||
include/google/template_dictionary.h
|
||||
include/google/template_namelist.h
|
||||
include/google/template_enums.h
|
||||
include/google/template_emitter.h
|
||||
include/google/template_from_string.h
|
||||
include/google/hash_map.h
|
||||
@dirrm include/google/ctemplate
|
||||
@dirrm include/google
|
||||
include/google/template_modifiers.h
|
||||
include/google/template_namelist.h
|
||||
lib/libctemplate.a
|
||||
lib/libctemplate.so
|
||||
lib/libctemplate.so.0
|
||||
lib/libctemplate_nothreads.a
|
||||
lib/libctemplate_nothreads.so
|
||||
lib/libctemplate_nothreads.so.0
|
||||
@dirrmtry include/google
|
||||
|
Loading…
Reference in New Issue
Block a user