mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
(Attempt to) fix build on head.
Submitted by: portsmon
This commit is contained in:
parent
49a746ede7
commit
68b5a8f710
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258340
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= kqemu
|
||||
PORTVERSION= 1.4.0.p1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= emulators kld
|
||||
MASTER_SITES= http://bellard.org/qemu/ \
|
||||
http://qemu.org/ \
|
||||
@ -88,6 +88,7 @@ post-patch:
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} beforedepend && ${LN} -s @/sys sys)
|
||||
@(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET})
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
||||
|
||||
|
19
emulators/kqemu-kmod-devel/files/patch-common-kqemu_int.h
Normal file
19
emulators/kqemu-kmod-devel/files/patch-common-kqemu_int.h
Normal file
@ -0,0 +1,19 @@
|
||||
--- common/kqemu_int.h.orig
|
||||
+++ common/kqemu_int.h
|
||||
@@ -17,8 +17,16 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#ifndef __ASSEMBLY__
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/stddef.h>
|
||||
+#include <machine/stdarg.h>
|
||||
+#include <sys/cdefs.h>
|
||||
+#include <machine/_types.h>
|
||||
+typedef __size_t size_t;
|
||||
+#else
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
+#endif
|
||||
|
||||
#ifndef NO_STD_TYPES
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= kqemu
|
||||
PORTVERSION= 1.3.0.p11
|
||||
PORTREVISION= 11
|
||||
PORTREVISION= 12
|
||||
CATEGORIES= emulators kld
|
||||
MASTER_SITES= http://bellard.org/qemu/ \
|
||||
http://qemu.org/ \
|
||||
@ -76,6 +76,7 @@ post-patch:
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} beforedepend && ${LN} -s @/sys sys)
|
||||
@(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET})
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
||||
|
||||
|
19
emulators/kqemu-kmod/files/patch-common-kqemu_int.h
Normal file
19
emulators/kqemu-kmod/files/patch-common-kqemu_int.h
Normal file
@ -0,0 +1,19 @@
|
||||
--- common/kqemu_int.h.orig
|
||||
+++ common/kqemu_int.h
|
||||
@@ -17,8 +17,16 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#ifndef __ASSEMBLY__
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/stddef.h>
|
||||
+#include <machine/stdarg.h>
|
||||
+#include <sys/cdefs.h>
|
||||
+#include <machine/_types.h>
|
||||
+typedef __size_t size_t;
|
||||
+#else
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
+#endif
|
||||
|
||||
#ifndef NO_STD_TYPES
|
||||
|
Loading…
Reference in New Issue
Block a user