Changeset 127154


Ignore:
Timestamp:
Oct 22, 2014, 2:19:00 AM (5 years ago)
Author:
ryandesign@…
Message:

rasmol: rewrite the patch so that it can be applied in all cases, rather than being conditional on the build_arch

Location:
trunk/dports/science/rasmol
Files:
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/rasmol/Portfile

    r114328 r127154  
    2323
    2424patchfiles          patch-Imakefile.diff \
    25                     rasmol.h.diff
    26 if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
    27     patchfiles-append longlong.diff
    28 }
     25                    patch-rasmol.h.diff
     26
    2927post-patch {
    3028    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Imakefile
  • trunk/dports/science/rasmol/files/patch-rasmol.h.diff

    r126429 r127154  
    1 --- rasmol.h.orig       2008-03-23 06:23:10.000000000 +1100
    2 +++ rasmol.h    2009-11-25 13:26:27.000000000 +1100
     1--- rasmol.h.orig       2008-03-22 14:23:10.000000000 -0500
     2+++ rasmol.h    2014-10-09 23:52:00.000000000 -0500
    33@@ -83,17 +83,17 @@
    44 /* #define X11WIN       */    /* X11WIN or GTKWIN defined in Imakefile */
     
    3333 
    3434 /*========================*/
     35@@ -198,6 +198,9 @@
     36 typedef char Char;
     37 #endif
     38 
     39+#ifdef __LP64__
     40+#define _LONGLONG
     41+#endif
     42 #ifdef _LONGLONG
     43 typedef unsigned int Card;
     44 typedef int Long;
Note: See TracChangeset for help on using the changeset viewer.