Sunpoet Po-Chuan Hsieh 2012-12-05 00:47:56 +00:00
parent ab0aad4f10
commit 9dc70edf6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308292
3 changed files with 4 additions and 22 deletions

View file

@ -1,12 +1,8 @@
# New ports collection makefile for: leveldb
# Date created: 2011-10-04
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= leveldb
PORTVERSION= 1.5.0
PORTVERSION= 1.7.0
CATEGORIES= databases
MASTER_SITES= GOOGLE_CODE

View file

@ -1,2 +1,2 @@
SHA256 (leveldb-1.5.0.tar.gz) = cb73489af84d9d97d3e7d234a2f5e3a0c89ffadb657e7dd9e9047227778e57ba
SIZE (leveldb-1.5.0.tar.gz) = 199231
SHA256 (leveldb-1.7.0.tar.gz) = ddce9a31f51d147158105240468cf1e598ff7f8f32f20eea14847bc13b7edd2e
SIZE (leveldb-1.7.0.tar.gz) = 201676

View file

@ -1,14 +0,0 @@
--- port/port_posix.h.orig 2012-05-31 00:56:59.000000000 +0800
+++ port/port_posix.h 2012-06-15 15:07:41.274868153 +0800
@@ -25,6 +25,11 @@
defined(OS_DRAGONFLYBSD) || defined(OS_ANDROID)
#include <sys/types.h>
#include <sys/endian.h>
+ #ifdef _LITTLE_ENDIAN
+ #define PLATFORM_IS_LITTLE_ENDIAN true
+ #else
+ #define PLATFORM_IS_LITTLE_ENDIAN false
+ #endif
#else
#include <endian.h>
#endif