diff options
Diffstat (limited to 'main/netcat-openbsd/fix-cdefs.patch')
-rw-r--r-- | main/netcat-openbsd/fix-cdefs.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/main/netcat-openbsd/fix-cdefs.patch b/main/netcat-openbsd/fix-cdefs.patch deleted file mode 100644 index e4c341d146..0000000000 --- a/main/netcat-openbsd/fix-cdefs.patch +++ /dev/null @@ -1,24 +0,0 @@ -Only in netcat-openbsd-1.89.orig: atomicio.o -Only in netcat-openbsd-1.89.orig: openbsd-compat/base64.o ---- netcat-openbsd-1.89.orig.orig/openbsd-compat/readpassphrase.h -+++ netcat-openbsd-1.89.orig/openbsd-compat/readpassphrase.h -@@ -31,10 +31,14 @@ - #define RPP_SEVENBIT 0x10 /* Strip the high bit from input. */ - #define RPP_STDIN 0x20 /* Read from stdin, not /dev/tty */ - --#include <sys/cdefs.h> -+#ifdef __cplusplus -+extern "C" { -+#endif - --__BEGIN_DECLS - char * readpassphrase(const char *, char *, size_t, int); --__END_DECLS -+ -+#ifdef __cplusplus -+}; -+#endif - - #endif /* !_READPASSPHRASE_H_ */ -Only in netcat-openbsd-1.89.orig: openbsd-compat/readpassphrase.o -Only in netcat-openbsd-1.89.orig: socks.o |