forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-text/poppler: Fix build (missing include)
Closes: https://bugs.gentoo.org/643858 Package-Manager: Portage-2.3.19, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From 7b434a7ad9333a3b2250d636a517c58d9a12bca2 Mon Sep 17 00:00:00 2001 | ||
From: Pekka Vuorela <[email protected]> | ||
Date: Fri, 15 Dec 2017 16:56:20 +0200 | ||
Subject: Honor configuration for building glibc copy of strtok_r | ||
|
||
config.h didn't get included and HAVE_STRTOK_R was never defined. | ||
Now getting via glibc.h. | ||
--- | ||
goo/glibc_strtok_r.cc | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/goo/glibc_strtok_r.cc b/goo/glibc_strtok_r.cc | ||
index e779bf5..e323bc2 100644 | ||
--- a/goo/glibc_strtok_r.cc | ||
+++ b/goo/glibc_strtok_r.cc | ||
@@ -50,12 +50,15 @@ | ||
// Copyright (C) 2012 Alexey Pavlov <[email protected]> | ||
// Copyright (C) 2012 Albert Astals Cid <[email protected]> | ||
// Copyright (C) 2017 Adrian Johnson <[email protected]> | ||
+// Copyright (C) 2017 Pekka Vuorela <[email protected]> | ||
// | ||
// To see a description of the changes please see the Changelog file that | ||
// came with your tarball or type make ChangeLog if you are building from git | ||
// | ||
//======================================================================== | ||
|
||
+#include "glibc.h" | ||
+ | ||
#ifndef HAVE_STRTOK_R | ||
|
||
#include <string.h> | ||
-- | ||
cgit v1.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters