Ticket #43490: mp3fs.diff

File mp3fs.diff, 1014 bytes (added by aserbin@…, 9 years ago)

Patch to switch from fuse4x to osxfuse and fix compilation under clang-700.0.72

  • Portfile

    diff -Nur mp3fs.orig/Portfile mp3fs/Portfile
    old new  
    2727
    2828depends_build       port:pkgconfig
    2929
    30 depends_lib         path:lib/pkgconfig/fuse.pc:fuse4x \
     30depends_lib         port:osxfuse \
    3131                    port:flac \
    3232                    port:lame \
    3333                    port:libid3tag
     34
     35patchfiles          patch-src-transcode.c
     36patch.pre_args      -p1
  • files/patch-src-transcode.c

    diff -Nur mp3fs.orig/files/patch-src-transcode.c mp3fs/files/patch-src-transcode.c
    old new  
     1--- mp3fs-0.30/src/transcode.c.orig     2016-04-22 13:04:57.000000000 -0700
     2+++ mp3fs-0.30/src/transcode.c  2016-04-22 13:07:29.000000000 -0700
     3@@ -21,6 +21,7 @@
     4 
     5 #define _GNU_SOURCE
     6 
     7+#include <inttypes.h>
     8 #include <stdio.h>
     9 #include <string.h>
     10 #include <unistd.h>