diff options
author | nox <nox@FreeBSD.org> | 2013-11-04 00:41:35 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2013-11-04 00:41:35 +0800 |
commit | 59105f0eb4d0fa961deb42277c583b6bfab9e39d (patch) | |
tree | a3f708e29ef1326870177b36c37d9c62c8931c21 /emulators | |
parent | 7dde8fe8eb717615f45f85721f90a4ff9da2e253 (diff) | |
download | freebsd-ports-gnome-59105f0eb4d0fa961deb42277c583b6bfab9e39d.tar.gz freebsd-ports-gnome-59105f0eb4d0fa961deb42277c583b6bfab9e39d.tar.zst freebsd-ports-gnome-59105f0eb4d0fa961deb42277c583b6bfab9e39d.zip |
(Attempt to) fix build with gcc46 on i386.
Submitted by: beefy1 via pkg-fallout
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/kqemu-kmod-devel/Makefile | 1 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd | 9 | ||||
-rw-r--r-- | emulators/kqemu-kmod/Makefile | 1 | ||||
-rw-r--r-- | emulators/kqemu-kmod/files/patch-Makefile.freebsd | 9 |
4 files changed, 18 insertions, 2 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile index 798242e697e6..644aaabba13c 100644 --- a/emulators/kqemu-kmod-devel/Makefile +++ b/emulators/kqemu-kmod-devel/Makefile @@ -44,7 +44,6 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} -MAKE_ARGS+= CWARNFLAGS=-Wall .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 diff --git a/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd b/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd new file mode 100644 index 000000000000..1dd6108aefbb --- /dev/null +++ b/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd @@ -0,0 +1,9 @@ +--- Makefile.freebsd.orig ++++ Makefile.freebsd +@@ -8,3 +8,6 @@ OBJS= kqemu-mod-x86_64.o + WERROR= + + .include <bsd.kmod.mk> ++ ++CFLAGS:= ${CFLAGS:N-fformat-extensions} ++CFLAGS:= ${CFLAGS:N-mno-align-long-strings} diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile index 1de6dd814f34..2d0d0261e1ea 100644 --- a/emulators/kqemu-kmod/Makefile +++ b/emulators/kqemu-kmod/Makefile @@ -44,7 +44,6 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} -MAKE_ARGS+= CWARNFLAGS=-Wall .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 diff --git a/emulators/kqemu-kmod/files/patch-Makefile.freebsd b/emulators/kqemu-kmod/files/patch-Makefile.freebsd new file mode 100644 index 000000000000..1dd6108aefbb --- /dev/null +++ b/emulators/kqemu-kmod/files/patch-Makefile.freebsd @@ -0,0 +1,9 @@ +--- Makefile.freebsd.orig ++++ Makefile.freebsd +@@ -8,3 +8,6 @@ OBJS= kqemu-mod-x86_64.o + WERROR= + + .include <bsd.kmod.mk> ++ ++CFLAGS:= ${CFLAGS:N-fformat-extensions} ++CFLAGS:= ${CFLAGS:N-mno-align-long-strings} |