mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libcdio, add recipe for version 2.0.0, rename 0.94. (#2768)
This commit is contained in:
@@ -116,3 +116,56 @@ index 80c7cb2..b601eb9 100644
|
||||
--
|
||||
2.14.3
|
||||
|
||||
|
||||
From 9a51b8bffddaebf5ecef4dc002704cde56de8ca5 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 27 Aug 2018 19:01:36 +0200
|
||||
Subject: fix gcc2 test for bincue.c
|
||||
|
||||
|
||||
diff --git a/test/driver/bincue.c b/test/driver/bincue.c
|
||||
index 9c0ece4..af548c2 100644
|
||||
--- a/test/driver/bincue.c
|
||||
+++ b/test/driver/bincue.c
|
||||
@@ -119,6 +119,7 @@ main(int argc, const char *argv[])
|
||||
} else {
|
||||
/* Just test performing some operations. */
|
||||
cdio_set_blocksize(p_cdio, 2048);
|
||||
+ {
|
||||
char *psz_device;
|
||||
|
||||
#ifdef HAVE_CHDIR
|
||||
@@ -143,6 +144,7 @@ main(int argc, const char *argv[])
|
||||
}
|
||||
|
||||
cdio_destroy(p_cdio);
|
||||
+ }
|
||||
|
||||
}
|
||||
|
||||
--
|
||||
2.16.4
|
||||
|
||||
|
||||
From 8f7c8cdc2c25b80070886a6e8102643e5ccd7204 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Fri, 31 Aug 2018 18:46:24 +0200
|
||||
Subject: fix realpath for the test
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6095b44..7600617 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -558,7 +558,7 @@ 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 \
|
||||
- _stati64 usleep vsnprintf readlink realpath gmtime_r localtime_r] )
|
||||
+ _stati64 usleep vsnprintf readlink gmtime_r localtime_r] )
|
||||
|
||||
# check for timegm() support
|
||||
AC_CHECK_FUNC(timegm, AC_DEFINE(HAVE_TIMEGM,1,
|
||||
--
|
||||
2.16.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user