diff options
Diffstat (limited to 'net-libs/rpc2/files')
-rw-r--r-- | net-libs/rpc2/files/rpc2-2.14-include.patch | 10 | ||||
-rw-r--r-- | net-libs/rpc2/files/rpc2-2.14-respect-flags.patch | 21 |
2 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/rpc2/files/rpc2-2.14-include.patch b/net-libs/rpc2/files/rpc2-2.14-include.patch new file mode 100644 index 000000000000..248604654427 --- /dev/null +++ b/net-libs/rpc2/files/rpc2-2.14-include.patch @@ -0,0 +1,10 @@ +--- a/rpc2-src/rpc2b.c ++++ b/rpc2-src/rpc2b.c +@@ -42,6 +42,7 @@ + #include <config.h> + #endif + ++#include <fcntl.h> + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> diff --git a/net-libs/rpc2/files/rpc2-2.14-respect-flags.patch b/net-libs/rpc2/files/rpc2-2.14-respect-flags.patch new file mode 100644 index 000000000000..e93e08ab6a4c --- /dev/null +++ b/net-libs/rpc2/files/rpc2-2.14-respect-flags.patch @@ -0,0 +1,21 @@ +--- a/rp2gen/Makefile.in ++++ b/rp2gen/Makefile.in +@@ -198,7 +198,8 @@ + CCDEPMODE = @CCDEPMODE@ + + # override any cross compilation target flags +-CFLAGS = -Wall ++AM_CFLAGS = -Wall ++CFLAGS = @CFLAGS@ + CONFIG_DATE = @CONFIG_DATE@ + CP = @CP@ + CPP = @CPP@ +@@ -225,7 +226,7 @@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LD = @LD@ +-LDFLAGS = ++LDFLAGS = @LDFLAGS@ + LEX = @LEX@ + LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |