Update of /cvsroot/fink/dists/10.3/unstable/crypto/finkinfo
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29053/10.3/unstable/crypto/finkinfo

Modified Files:
        arj.info 
Added Files:
        arj.patch 
Log Message:
Fix AC_DEFINE syntax so that this thing compiles at all.


--- NEW FILE: arj.patch ---
diff -Nurd arj-3.10.21.orig/environ.c arj-3.10.21/environ.c
--- arj-3.10.21.orig/environ.c  2004-06-18 12:19:36.000000000 -0400
+++ arj-3.10.21/environ.c       2006-02-15 21:19:12.000000000 -0500
@@ -58,7 +58,7 @@
   #include <sys/ioctl.h>
   #include <sys/statfs.h>
   #include <sys/statvfs.h>
- #elif defined(__FreeBSD__)||defined(__NetBSD__)
+ #elif defined(__APPLE__)||defined(__NetBSD__)
   #include <sys/param.h>
   #include <sys/mount.h>
  #elif defined(__QNXNTO__)
diff -Nurd arj-3.10.21.orig/gnu/configure.in arj-3.10.21/gnu/configure.in
--- arj-3.10.21.orig/gnu/configure.in   2004-04-17 07:28:06.000000000 -0400
+++ arj-3.10.21/gnu/configure.in        2006-02-15 21:38:40.000000000 -0500
@@ -84,7 +84,7 @@
 
 case $host_cpu in
 alpha*)
-       AC_DEFINE(ALIGN_POINTERS)
+       AC_DEFINE(ALIGN_POINTERS, 1, [Used by encode.c])
        ;;
 sparc*)
        AC_DEFINE(ALIGN_POINTERS)
@@ -166,7 +166,7 @@
         [color_output=yes],
         [color_output=no])
 AC_MSG_RESULT($color_output)
-test "$color_output" = "yes" && AC_DEFINE(USE_COLORS)
+AC_DEFINE(USE_COLORS, test "$color_output" = "yes", [Enable color output])
 
 AC_SUBST(HAVE_MKDTEMP)
 AC_SUBST(HAVE_FCLOSEALL)

Index: arj.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/crypto/finkinfo/arj.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- arj.info    16 Feb 2006 02:47:54 -0000      1.1
+++ arj.info    16 Feb 2006 02:50:59 -0000      1.2
@@ -9,7 +9,7 @@
 Description: ARJ archiver
 BuildDepends: autoconf2.5
 UpdateConfigGuessInDirs: gnu
-PatchScript: perl -pi.bak -e 's/__FreeBSD__/__APPLE__/g' environ.c
+Patch: %n.patch
 ConfigureParams: --mandir=%p/share/man
 SetCFlags: -Dlchown=chown
 CompileScript: <<



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to