• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch
Steve JamesSteve James committed ed2346e6ed213 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 8a8016f6d2af335ab205aa40d5274fc9b0c7a566 Mon Sep 17 00:00:00 2001
2
From: Steve James <ste@junkomatic.net>
3
Date: Sun, 5 Apr 2015 16:29:51 +0200
4
Subject: [PATCH 1/2] Fix compilation with g++ 4.8.2
5
​
6
Where db_iter.cc fails to get a typedef for ssize_t when compiled by
7
GCC.
8
​
9
Upstream-Status: Submitted [https://github.com/google/leveldb/issues/233]
10
​
11
Signed-off-by: Steve James <ste@junkomatic.net>
12
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13
---
14
 db/db_iter.cc | 1 +
15
 1 file changed, 1 insertion(+)
16
​
17
diff --git a/db/db_iter.cc b/db/db_iter.cc
18
index 3b2035e..c2e5f35 100644
19
--- a/db/db_iter.cc
20
+++ b/db/db_iter.cc
21
@@ -13,6 +13,7 @@
22
 #include "util/logging.h"
23
 #include "util/mutexlock.h"
24
 #include "util/random.h"
25
+#include <sys/types.h> // for ssize_t
26
 
27
 namespace leveldb {
28
 
29
-- 
30
2.1.0
31
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.