mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Remove including obsolete malloc.h header
- Dont link libc and prevent installing useless files PR: 32070 Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Approved by: lioux
This commit is contained in:
parent
cd65834dfc
commit
35af01bf20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50313
25
graphics/libgdgeda/files/patch-ltmain.sh
Normal file
25
graphics/libgdgeda/files/patch-ltmain.sh
Normal file
@ -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"
|
12
graphics/libgdgeda/files/patch-src::gd.c
Normal file
12
graphics/libgdgeda/files/patch-src::gd.c
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user