aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-11-21 03:44:03 +0000
committerPatrick Li <pat@FreeBSD.org>2001-11-21 03:44:03 +0000
commit35af01bf20d214edb9962e1756a48f950b556139 (patch)
treed78df3a97c44e446e5348fbb0454644bdaeb95bf /graphics
parentcd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2 (diff)
downloadports-35af01bf20d214edb9962e1756a48f950b556139.tar.gz
ports-35af01bf20d214edb9962e1756a48f950b556139.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libgdgeda/files/patch-ltmain.sh25
-rw-r--r--graphics/libgdgeda/files/patch-src::gd.c12
2 files changed, 37 insertions, 0 deletions
diff --git a/graphics/libgdgeda/files/patch-ltmain.sh b/graphics/libgdgeda/files/patch-ltmain.sh
new file mode 100644
index 000000000000..e71718a9f08e
--- /dev/null
+++ b/graphics/libgdgeda/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Sat Sep 22 20:10:52 2001
++++ ltmain.sh Tue Nov 20 21:14:55 2001
+@@ -2444,6 +2444,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4210,10 +4213,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/graphics/libgdgeda/files/patch-src::gd.c b/graphics/libgdgeda/files/patch-src::gd.c
new file mode 100644
index 000000000000..e307154bdf2f
--- /dev/null
+++ b/graphics/libgdgeda/files/patch-src::gd.c
@@ -0,0 +1,12 @@
+--- src/gd.c.orig Mon Oct 2 21:44:49 2000
++++ src/gd.c Tue Nov 20 22:15:17 2001
+@@ -1,6 +1,6 @@
+-#ifndef _OSD_POSIX /* _OSD_POSIX defines *alloc() in stdlib.h */
+-#include <malloc.h>
+-#endif /*_OSD_POSIX*/
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
+ #include <stdio.h>
+ #include <math.h>
+ #include <string.h>