]> git.pld-linux.org Git - packages/dict-web1913.git/blobdiff - dict-web1913-sparc.patch
- fixed build on sparc
[packages/dict-web1913.git] / dict-web1913-sparc.patch
diff --git a/dict-web1913-sparc.patch b/dict-web1913-sparc.patch
new file mode 100644 (file)
index 0000000..5cd071b
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur dict-web1913-1.4/dump.h dict-web1913.fixed/dump.h
+--- dict-web1913-1.4/dump.h    Sun Feb 22 20:31:40 1998
++++ dict-web1913.fixed/dump.h  Fri Dec 20 13:43:09 2002
+@@ -139,7 +139,7 @@
+ declarations for standard library calls.  We provide them here for
+ situations that we know about. */
+-#if defined(__sparc__)
++#if defined(__sparc__) && !defined(__linux__)
+                               /* Both SunOS and Solaris */
+ extern int    getrusage( int who, struct rusage * );
+ extern void   bcopy( const void *, void *, int );
+diff -ur dict-web1913-1.4/libmaa/decl.h dict-web1913.fixed/libmaa/decl.h
+--- dict-web1913-1.4/libmaa/decl.h     Sun Feb 22 20:32:18 1998
++++ dict-web1913.fixed/libmaa/decl.h   Fri Dec 20 13:34:12 2002
+@@ -28,7 +28,7 @@
+ declarations for standard library calls.  We provide them here for
+ situations that we know about. */
+-#if defined(__sparc__)
++#if defined(__sparc__) && !defined(__linux__)
+ #include <sys/resource.h>
+                               /* Both SunOS and Solaris */
+ extern int    getrusage( int who, struct rusage * );
This page took 1.67519 seconds and 4 git commands to generate.