mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix compilation on -current
This commit is contained in:
parent
87c27c50a3
commit
113f5a78ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71963
3 changed files with 14 additions and 2 deletions
|
@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= jmz
|
|||
MAINTAINER= jmz@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= tixsam4182.1:${PORTSDIR}/x11-toolkits/tix
|
||||
USE_PERL5_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/cd-write
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.orig Thu Jan 21 22:31:25 1999
|
||||
+++ Makefile Sun Dec 5 16:58:55 1999
|
||||
+++ Makefile Sat Dec 28 22:43:03 2002
|
||||
@@ -1,10 +1,10 @@
|
||||
OBJS= main.o iso9660.o copy.o write.o misc.o generic.o specific.o worm.o dao.o
|
||||
|
||||
|
@ -7,8 +7,9 @@
|
|||
+CFLAGS = -g -O -Ic++tk -DTIX -DMKISOFS='"${PREFIX}/bin/mkisofs"'
|
||||
|
||||
cd-write: $(OBJS) subdir
|
||||
$(CC) -o cd-write $(OBJS) c++tk/c++tk.o\
|
||||
- $(CC) -o cd-write $(OBJS) c++tk/c++tk.o\
|
||||
- -L/usr/local/lib -L/usr/X11R6/lib -ltixsam4180 -ltk80 -ltcl80 -lX11 -lm -lcam
|
||||
+ $(CXX) -o cd-write $(OBJS) c++tk/c++tk.o\
|
||||
+ -L${PREFIX}/lib -L${X11BASE}/lib -ltixsam4182 -ltk82 -ltcl82 -lX11 -lm -lcam
|
||||
|
||||
subdir:
|
||||
|
|
10
sysutils/cd-write/files/patch-8
Normal file
10
sysutils/cd-write/files/patch-8
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- generic.cc~ Sat Jan 23 00:31:38 1999
|
||||
+++ generic.cc Sat Dec 28 16:48:21 2002
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <cam/scsi/scsi_message.h>
|
||||
#include <string.h>
|
||||
#include <sys/cdio.h>
|
||||
+#include <arpa/inet.h>
|
||||
#include <machine/endian.h>
|
||||
|
||||
#include "cd-write.h"
|
Loading…
Add table
Reference in a new issue