diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-27 06:27:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-27 06:27:14 +0000 |
commit | 9e3a60e39e677054b55db7469773e657202f50e1 (patch) | |
tree | d0cbe2dd07d8b656e9b45971b44fc9e40224628b /ports-mgmt | |
parent | add math/arpack-ng to CONFLICTS; remove version numbers from (diff) |
Really fix build on 8-stable and 9-stable
No revision bump because no changes but allowing building when it failed
Obtained from: pkgng git (Bryan Drewery)
Notes
Notes:
svn path=/head/; revision=300066
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg/files/patch-libpkg__Makefile | 11 | ||||
-rw-r--r-- | ports-mgmt/pkg/files/patch-libpkg__usergroup.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/ports-mgmt/pkg/files/patch-libpkg__Makefile b/ports-mgmt/pkg/files/patch-libpkg__Makefile new file mode 100644 index 000000000000..e2b5a225c9a3 --- /dev/null +++ b/ports-mgmt/pkg/files/patch-libpkg__Makefile @@ -0,0 +1,11 @@ +--- ./libpkg/Makefile.orig 2012-06-25 14:58:21.000000000 +0200 ++++ ./libpkg/Makefile 2012-06-27 08:24:18.517380087 +0200 +@@ -37,6 +37,8 @@ + + .if ${HAVE_GRUTILS} != yes + SRCS+= gr_util.c ++.else ++CFLAGS+= -DHAVE_GRUTILS + .endif + + CFLAGS+= -std=c99 diff --git a/ports-mgmt/pkg/files/patch-libpkg__usergroup.c b/ports-mgmt/pkg/files/patch-libpkg__usergroup.c new file mode 100644 index 000000000000..fd90a7b305aa --- /dev/null +++ b/ports-mgmt/pkg/files/patch-libpkg__usergroup.c @@ -0,0 +1,11 @@ +--- ./libpkg/usergroup.c.orig 2012-06-25 14:58:21.000000000 +0200 ++++ ./libpkg/usergroup.c 2012-06-27 08:23:34.206379508 +0200 +@@ -32,7 +32,7 @@ + #include <libutil.h> + #include <string.h> + +-#if __FreeBSD_version < 1000003 ++#ifndef HAVE_GRUTILS + #include "private/gr_util.h" + #endif + #include "pkg.h" |