diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
commit | 02e2208f46f4e2c00fb9743cbc47350bdd233bfa (patch) | |
tree | 132dd60828854db4f65f30f9230f43d9602507ff /net-misc/uftp/files | |
parent | 8be70107efbb417f839292165ee39d07a062046f (diff) |
gentoo resync : 16.01.2018
Diffstat (limited to 'net-misc/uftp/files')
-rw-r--r-- | net-misc/uftp/files/uftp-4.9.4_makefile.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/uftp/files/uftp-4.9.4_makefile.patch b/net-misc/uftp/files/uftp-4.9.4_makefile.patch new file mode 100644 index 000000000000..5a131c350a56 --- /dev/null +++ b/net-misc/uftp/files/uftp-4.9.4_makefile.patch @@ -0,0 +1,41 @@ +diff -Nuar uftp-4.9.4-orig/makefile uftp-4.9.4/makefile +--- uftp-4.9.4-orig/makefile 2017-12-13 13:15:53.873252064 +0500 ++++ uftp-4.9.4/makefile 2017-12-13 13:25:44.092223428 +0500 +@@ -42,24 +42,24 @@ + endif + + # defaults +-OPTIONS=-g -Wall $(ENC_OPTS) ++OPTIONS=-Wall $(ENC_OPTS) + LDLIBS=-lc -lm $(CRYPT_LIB) + MTFLAGS= + + # FreeBSD + ifeq ("FreeBSD", "$(UNAME_S)") +-OPTIONS=-g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DSOCKADDR_LEN $(ENC_OPTS) ++OPTIONS=-DHAS_GETIFADDRS -DNO_DUAL -DSOCKADDR_LEN $(ENC_OPTS) + endif + + # OSX, aka Darwin + ifeq ("Darwin", "$(UNAME_S)") +-OPTIONS=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS) ++OPTIONS=-Wall -DHAS_GETIFADDRS $(ENC_OPTS) + endif + + # Sun + ifeq ("SunOS", "$(UNAME_S)") + CC = cc +-OPTIONS=-g -DBSD_COMP -DNO_DUAL -DNO_RECVMSG $(ENC_OPTS) ++OPTIONS=-DBSD_COMP -DNO_DUAL -DNO_RECVMSG $(ENC_OPTS) + LDLIBS=-lnsl -lsocket -lm $(CRYPT_LIB) + CFLAGS+=`getconf LFS_CFLAGS` + OPENSSL=/usr/sfw +@@ -68,7 +68,7 @@ + + # Linux + ifeq ("Linux", "$(UNAME_S)") +-OPTIONS=-g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS $(ENC_OPTS) ++OPTIONS=-Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS $(ENC_OPTS) + LDLIBS=-lm $(CRYPT_LIB) + CFLAGS+=`getconf LFS_CFLAGS` + endif |