summaryrefslogtreecommitdiffstats
path: root/system/hfsprogs/patches/makefile.patch
diff options
context:
space:
mode:
author Eric Fernandes Ferreira2017-08-26 15:18:41 +0200
committer David Spencer2017-09-02 11:19:43 +0200
commit31453fca665a207d7965f620eb4de4e92cf1a6ff (patch)
tree88a54022dff1941880002a22b7538e8697b0ae03 /system/hfsprogs/patches/makefile.patch
parentb1fcef60af497bb6770121e251215230471efb62 (diff)
downloadslackbuilds-31453fca665a207d7965f620eb4de4e92cf1a6ff.tar.gz
system/hfsprogs: Added (hfs+ user space utils).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/hfsprogs/patches/makefile.patch')
-rw-r--r--system/hfsprogs/patches/makefile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/hfsprogs/patches/makefile.patch b/system/hfsprogs/patches/makefile.patch
new file mode 100644
index 0000000000..812655f2e0
--- /dev/null
+++ b/system/hfsprogs/patches/makefile.patch
@@ -0,0 +1,10 @@
+diff -Naur a/Makefile.lnx b/Makefile.lnx
+--- a/Makefile.lnx 2014-05-03 21:05:26.619853000 +0200
++++ b/Makefile.lnx 2014-05-03 21:04:42.977667000 +0200
+@@ -1,5 +1,5 @@
+ CC := gcc
+-CFLAGS += -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
++CFLAGS += `pkg-config --cflags libbsd` -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
+ SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj
+
+ all clean: