FreeBSD Bugzilla – Attachment 136843 Details for
Bug 182168
[maintainer update] sysutils/ciso clang support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.36 KB, created by
Vasiliy Ch
on 2013-09-16 21:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Vasiliy Ch
Created:
2013-09-16 21:40:00 UTC
Size:
1.36 KB
patch
obsolete
>diff -ruN ciso.bak/Makefile ciso/Makefile >--- ciso.bak/Makefile 2013-09-10 09:08:24.000000000 +0000 >+++ ciso/Makefile 2013-09-12 16:36:47.000000000 +0000 >@@ -3,7 +3,7 @@ > > PORTNAME= ciso > PORTVERSION= 1.0.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > MASTER_SITES= SF > >diff -ruN ciso.bak/files/patch-Makefile ciso/files/patch-Makefile >--- ciso.bak/files/patch-Makefile 2012-07-14 14:29:18.000000000 +0000 >+++ ciso/files/patch-Makefile 2013-09-12 16:34:09.000000000 +0000 >@@ -1,12 +1,29 @@ >---- Makefile.orig 2007-11-04 17:49:10.000000000 +0300 >-+++ Makefile 2007-11-04 17:50:04.000000000 +0300 >-@@ -1,6 +1,6 @@ >--DESTDIR = >+--- Makefile.bak 2013-09-12 16:31:40.000000000 +0000 >++++ Makefile 2013-09-12 16:33:23.000000000 +0000 >+@@ -1,17 +1,19 @@ >+-DESTDIR = > -prefix = /usr > -USRBINDIR = $(DESTDIR)$(prefix)/bin > +destdir = ${DESTDIR} > +prefix = ${PREFIX} > +USRBINDIR = $(destdir)$(prefix)/bin >- >- CC = $(CROSS_COMPILE)gcc >- LD = $(CROSS_COMPILE)gcc >+ >+-CC = $(CROSS_COMPILE)gcc >+-LD = $(CROSS_COMPILE)gcc >+ INSTALL = install >+ >++.if ${CC} == "clang" >++CFLAGS += -Wno-format -Wno-tautological-compare >++.endif >++ >+ all : ciso >+ ciso : ciso.o >+- gcc -o ciso ciso.o -lz >++ ${CC} ${CFLAGS} -o ciso ciso.o -lz >+ >+ ciso.o : ciso.c >+- gcc -o ciso.o -c ciso.c >++ ${CC} ${CFLAGS} -o ciso.o -c ciso.c >+ >+ install : >+ $(INSTALL) -m 755 ciso $(USRBINDIR)/ciso
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182168
: 136843