diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unadf/Makefile | 1 | ||||
-rw-r--r-- | archivers/unadf/files/patch-Lib::myconf | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/archivers/unadf/Makefile b/archivers/unadf/Makefile index 159f50cae698..24d53a737140 100644 --- a/archivers/unadf/Makefile +++ b/archivers/unadf/Makefile @@ -7,6 +7,7 @@ PORTNAME= unadf PORTVERSION= 0.7.9b +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://perso.club-internet.fr/lclevy/adflib/ DISTNAME= adflib diff --git a/archivers/unadf/files/patch-Lib::myconf b/archivers/unadf/files/patch-Lib::myconf new file mode 100644 index 000000000000..ed5280121bfb --- /dev/null +++ b/archivers/unadf/files/patch-Lib::myconf @@ -0,0 +1,25 @@ +--- Lib/myconf Sat Aug 19 03:08:08 2000 ++++ Lib/myconf.new Mon Jun 23 01:32:48 2003 +@@ -31,17 +31,17 @@ + gcc myctest.c -o myctest + rm myctest.c + +-if [ `myctest |cut -d' ' -f 1` != 4 ] ++if [ `./myctest |cut -d' ' -f 1` != 4 ] + then echo "Error : sizeof(long)!=4" + fi +-if [ `myctest |cut -d' ' -f 2` != 2 ] ++if [ `./myctest |cut -d' ' -f 2` != 2 ] + then echo "Error : sizeof(short)!=2" + fi +-if [ `myctest |cut -d' ' -f 3` != 4 ] ++if [ `./myctest |cut -d' ' -f 3` != 4 ] + then echo "Error :sizeof(int)!=4" + fi + +-if [ `myctest |cut -d' ' -f 4` = LITTLE ] ++if [ `./myctest |cut -d' ' -f 4` = LITTLE ] + then + echo "#ifndef LITT_ENDIAN" >defendian.h + echo "#define LITT_ENDIAN 1" >>defendian.h + |