summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-23 02:38:11 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-23 02:38:11 -0400
commit3efd21628881f40f27dd72ebc2118f34a0be5f7d (patch)
treea911caa03e522085ea22802e3b659d07c6fc1328 /sys-fs/hfsplusutils/files
parentsys-fs/hfsplusutils: clean up more missing header warnings (diff)
downloadgentoo-3efd21628881f40f27dd72ebc2118f34a0be5f7d.tar.gz
gentoo-3efd21628881f40f27dd72ebc2118f34a0be5f7d.tar.bz2
gentoo-3efd21628881f40f27dd72ebc2118f34a0be5f7d.zip
sys-fs/hfsplusutils: fix build w/gcc-5 #580620
Diffstat (limited to 'sys-fs/hfsplusutils/files')
-rw-r--r--sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-cflags.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-cflags.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-cflags.patch
new file mode 100644
index 000000000000..2006c7d711ef
--- /dev/null
+++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-cflags.patch
@@ -0,0 +1,23 @@
+don't clobber the user's settings that configure already put together for us
+
+--- a/libhfsp/src/Makefile.am
++++ b/libhfsp/src/Makefile.am
+@@ -27,7 +27,5 @@
+ blockiter.c btree.c btreecheck.c fscheck.c hfstime.c libhfsp.c os.c unicode.c \
+ record.c volume.c partitions.c
+
+-CFLAGS = -O2 -Wall
+-
+ # I need to clean up these headers first before i can distribute them ...
+ # include_HEADERS = apple.h hfs.h hfsp.h libhfsp.h
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -8,8 +8,6 @@
+
+ INCLUDES = -I../libhfsp/src
+
+-CFLAGS = -O2 -Wall
+-
+ bin_PROGRAMS = hpmount hpumount hpls hpcd hpcopy hppwd hpfsck hprm hpmkdir
+
+ hpmount_SOURCES = hpmount.c hpcache.c hfsputil.c glob.c dstring.c dlist.c