summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch')
-rw-r--r--sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch
new file mode 100644
index 000000000000..84b9c58417f9
--- /dev/null
+++ b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/newfs_hfs.tproj/Makefile.lnx
++++ b/newfs_hfs.tproj/Makefile.lnx
+@@ -4,7 +4,7 @@ OFILES = $(CFILES:.c=.o)
+ all: newfs_hfs
+
+ newfs_hfs: $(OFILES)
+- ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} -lcrypto
++ ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} ${LDFLAGS} -lcrypto
+
+ clean:
+ $(RM) newfs_hfs $(OFILES)