1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Fix CONFIGURE error with clang

- Add LICENSE (GPLv2)
- STAGE-clean
This commit is contained in:
Pietro Cerutti 2013-11-19 15:49:35 +00:00
parent 335143d47a
commit 3528b910b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334326
2 changed files with 40 additions and 1 deletions

View File

@ -10,8 +10,9 @@ MASTER_SITES= http://ict.ewi.tudelft.nl/~erik/open-source/musica/
MAINTAINER= gahr@FreeBSD.org
COMMENT= GTK based midi player
LICENSE= GPLv2
USE_GNOME= gtk12
NO_STAGE= yes
GNU_CONFIGURE= yes
USES= gmake

View File

@ -0,0 +1,38 @@
--- configure.orig 2013-11-19 16:47:26.000000000 +0100
+++ configure 2013-11-19 16:47:26.000000000 +0100
@@ -1108,7 +1108,7 @@
cat > conftest.$ac_ext <<EOF
#line 1110 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
@@ -1524,7 +1524,7 @@
cat > conftest.$ac_ext <<EOF
#line 1526 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
@@ -1650,7 +1650,7 @@
cat > conftest.$ac_ext <<EOF
#line 1652 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cxx_works=yes
@@ -2639,7 +2639,7 @@
#line 2640 "configure"
#include "confdefs.h"
-main()
+int main()
{
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);