mr_bones_    15/07/16 04:06:40

  Added:                cdw-0.8.0-uclibc.patch
  Log:
  add partial patch to build with uclibc submitted by René Rhéaume via bug 
#554532
  
  (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  app-cdr/cdw/files/cdw-0.8.0-uclibc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdw/files/cdw-0.8.0-uclibc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdw/files/cdw-0.8.0-uclibc.patch?rev=1.1&content-type=text/plain

Index: cdw-0.8.0-uclibc.patch
===================================================================
--- cdw-0.8.0/src/main.c
+++ cdw-0.8.0-uclibc/src/main.c
@@ -44,7 +44,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifndef __UCLIBC__
 #include <mcheck.h>
+#endif
 #include <signal.h> /* sig_atomic_t */
 
 #include <dirent.h> /* PATH_MAX */
--- cdw-0.8.0/src/tasks/cdw_create_image.c
+++ cdw-0.8.0-uclibc/src/tasks/cdw_create_image.c
@@ -21,6 +21,7 @@
 
 #include <inttypes.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "cdw_file_manager.h"
 #include "gettext.h"
--- cdw-0.8.0/src/utilities/cdw_utils.c
+++ cdw-0.8.0-uclibc/src/utilities/cdw_utils.c
@@ -28,6 +28,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 #include "cdw_logging.h"
 #include "gettext.h"




Reply via email to