aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/lxdvdrip/Makefile2
-rw-r--r--multimedia/lxdvdrip/files/patch-dvdbackup__Makefile2
-rw-r--r--multimedia/lxdvdrip/files/patch-vamps__Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/lxdvdrip/Makefile b/multimedia/lxdvdrip/Makefile
index 1e0562a42fbf..e3cc653c4a13 100644
--- a/multimedia/lxdvdrip/Makefile
+++ b/multimedia/lxdvdrip/Makefile
@@ -70,7 +70,7 @@ post-patch:
-e 's|^.+alloca.h.+$$||' \
${WRKSRC}/dvdbackup.c
@${REINPLACE_CMD} -E \
- -e 's|fopen64|fopen|' \
+ -e 's|fopen64|fopen|g ; s|__off64_t|off_t|g' \
${WRKSRC}/dvdinfo.c \
${WRKSRC}/lxdvdrip.c
@${REINPLACE_CMD} -E \
diff --git a/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile b/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
index 98db6b7a5ca8..9e276c23be5e 100644
--- a/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
+++ b/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
@@ -8,7 +8,7 @@
-CC = gcc
-CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-+CFLAGS += -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
++CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
LDFLAGS += -s
diff --git a/multimedia/lxdvdrip/files/patch-vamps__Makefile b/multimedia/lxdvdrip/files/patch-vamps__Makefile
index e5092a465d6c..3381a737e878 100644
--- a/multimedia/lxdvdrip/files/patch-vamps__Makefile
+++ b/multimedia/lxdvdrip/files/patch-vamps__Makefile
@@ -8,7 +8,7 @@
-CC = gcc
-CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-+CFLAGS += -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
++CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
LDFLAGS += -s