Adapt Makefile variables for this. While here, fix some build problems on NetBSD-6.99.15 with modular xorg. But: Build on NetBSD-6.99.15/amd64 with modular xorg fails with: gcc -O2 -ansi -Dasm=__asm GccWarningOptions -I../../include -I../../exports/include/X11 -I../.. -I../../exports/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; fi` -c imake.c gcc: GccWarningOptions: No such file or directory *** Error code 1
14 lines
324 B
C++
14 lines
324 B
C++
$NetBSD: patch-unix_tx_TXImage.cxx,v 1.1 2012/11/12 14:32:14 thomasklausner Exp $
|
|
|
|
malloc() prototype.
|
|
|
|
--- unix/tx/TXImage.cxx.orig 2006-05-15 16:56:20.000000000 +0000
|
|
+++ unix/tx/TXImage.cxx
|
|
@@ -21,6 +21,7 @@
|
|
|
|
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <strings.h>
|
|
#include <sys/types.h>
|
|
#include <sys/ipc.h>
|