Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs
In directory sc8-pr-cvs17:/tmp/cvs-serv21317

Modified Files:
        libogdi3.info libogdi3.patch 
Log Message:
for the future

Index: libogdi3.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/libogdi3.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libogdi3.info       11 Feb 2006 21:46:06 -0000      1.1
+++ libogdi3.info       5 Sep 2007 01:12:58 -0000       1.2
@@ -1,6 +1,6 @@
 Package: libogdi3
 Version: 3.1.5
-Revision: 1002
+Revision: 1003
 Description: OGDI - Open Geographic Datastore Interface
 License: BSD
 Homepage: http://ogdi.sourceforge.net
@@ -13,7 +13,7 @@
 
 # Dependencies.
 Depends: %n-shlibs, proj-shlibs, expat-shlibs
-BuildDepends: proj, expat
+BuildDepends: proj, expat, fink (>= 0.24.12)
 BuildDependsOnly: true
 
 # Unpack Phase.
@@ -22,7 +22,9 @@
 
 # Patch Phase.
 # Patch for PostGIS-1.0 Support
-PatchScript: sed 's|@PREFIX@|%p|g' <%a/libogdi3.patch | patch -p1
+PatchFile: %n.patch
+PatchFile-MD5: 810d6bc7cc42de4d15a8741dcb90c10f
+PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
 
 # Compile Phase.
 GCC: 4.0

Index: libogdi3.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/libogdi3.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libogdi3.patch      20 Jan 2006 20:21:18 -0000      1.1
+++ libogdi3.patch      5 Sep 2007 01:12:58 -0000       1.2
@@ -63,3 +63,44 @@
  
      handle = dlopen(temp,RTLD_LAZY);
  #ifdef notdef
+diff -ruN ogdi-3.1.5/ogdi/driver/rpf/rpf.h 
ogdi-3.1.5-patched/ogdi/driver/rpf/rpf.h
+--- ogdi-3.1.5/ogdi/driver/rpf/rpf.h   2001-04-12 12:22:46.000000000 -0700
++++ ogdi-3.1.5-patched/ogdi/driver/rpf/rpf.h   2007-08-19 09:46:05.000000000 
-0700
+@@ -52,7 +52,7 @@
+ typedef unsigned short ushort;
+ typedef unsigned long  uint;
+ */
+-typedef unsigned char  bool;
++typedef unsigned char  bbool;
+ typedef unsigned char  uchar;
+ typedef unsigned char* ucharp;
+ typedef char           ascii;
+@@ -114,7 +114,7 @@
+ 
+ typedef struct header
+ {
+-  bool     endian;
++  bbool    endian;
+   ushort   hdr_sec_len;       /* header section length */
+   ascii    filename[12];
+   uchar    new;
+@@ -330,8 +330,8 @@
+ 
+ typedef struct display1
+ {
+-  bool      all_subframes;
+-  bool      no_transparent;
++  bbool     all_subframes;
++  bbool     no_transparent;
+   ushort    subframe_seq_length;
+   ushort    transparent_seq_length;
+   uint      image_rows;
+@@ -355,7 +355,7 @@
+   RPF_image    img;
+   Attribute    att;
+   Replace      repupd;
+-  bool         all_subframes;
++  bbool        all_subframes;
+   int         NITF_hdr_len;
+ } Frame_file;
+ 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to