mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
libcdio: Drop need for LIBCDIO_SOURCE_PATH
LIBCDIO_SOURCE_PATH is defined with `pwd` which encodes absolute paths into generated artifacts e.g. cdio_config.h which is flagged in build QA WARNING: libcdio-2.1.0-r0 do_package_qa: QA Issue: File /usr/include/cdio/cdio_config.h in package libcdio-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
8e110d9c5c
commit
79d8952864
@ -0,0 +1,43 @@
|
||||
From 08c1768aaeea86c522c0ef1705b9b6d434ebd3ae Mon Sep 17 00:00:00 2001
|
||||
From: Chris Lamb <chris@chris-lamb.co.uk>
|
||||
Date: Fri, 28 Jul 2017 11:49:13 +0100
|
||||
Subject: [PATCH] Drop LIBCDIO_SOURCE_PATH by dropping STRIP_FROM_PATH Doxygen
|
||||
setup; it's not used as FULL_PATH_NAMES = no
|
||||
|
||||
Source: https://sources.debian.org/data/main/libc/libcdio/2.1.0-4/debian/patches/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 5 -----
|
||||
doc/doxygen/Doxyfile.in | 2 +-
|
||||
2 files changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -557,11 +557,6 @@ AC_SUBST(HAVE_SOLARIS_CDROM)
|
||||
AC_SUBST(HAVE_WIN32_CDROM)
|
||||
AC_SUBST(HAVE_OS2_CDROM)
|
||||
|
||||
-LIBCDIO_SOURCE_PATH="`pwd`"
|
||||
-AC_DEFINE_UNQUOTED(LIBCDIO_SOURCE_PATH, "$LIBCDIO_SOURCE_PATH",
|
||||
- [Full path to libcdio top_sourcedir.])
|
||||
-AC_SUBST(LIBCDIO_SOURCE_PATH)
|
||||
-
|
||||
AC_CHECK_FUNCS( [chdir drand48 fseeko fseeko64 ftruncate geteuid getgid \
|
||||
getuid getpwuid gettimeofday lseek64 lstat memcpy memset mkstemp rand \
|
||||
seteuid setegid snprintf setenv strndup unsetenv tzset sleep \
|
||||
Index: b/doc/doxygen/Doxyfile.in
|
||||
===================================================================
|
||||
--- a/doc/doxygen/Doxyfile.in
|
||||
+++ b/doc/doxygen/Doxyfile.in
|
||||
@@ -138,7 +138,7 @@ FULL_PATH_NAMES = NO
|
||||
# If left blank the directory from which doxygen is run is used as the
|
||||
# path to strip.
|
||||
|
||||
-STRIP_FROM_PATH = @LIBCDIO_SOURCE_PATH@
|
||||
+STRIP_FROM_PATH =
|
||||
|
||||
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
|
||||
# the path mentioned in the documentation of a class, which tells
|
||||
@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \
|
||||
file://0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch \
|
||||
file://Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user