svn commit: r342787 - head/x11/dgs/files
John Marino
marino at FreeBSD.org
Wed Feb 5 17:12:23 UTC 2014
Author: marino
Date: Wed Feb 5 17:12:23 2014
New Revision: 342787
URL: http://svnweb.freebsd.org/changeset/ports/342787
QAT: https://qat.redports.org/buildarchive/r342787/
Log:
x11/dgs: Add dports patches for dragonfly support
Added:
head/x11/dgs/files/patch-DPS_clients_makepsres_makepsres.c (contents, props changed)
head/x11/dgs/files/patch-DPS_ltconfig (contents, props changed)
Added: head/x11/dgs/files/patch-DPS_clients_makepsres_makepsres.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/dgs/files/patch-DPS_clients_makepsres_makepsres.c Wed Feb 5 17:12:23 2014 (r342787)
@@ -0,0 +1,11 @@
+--- DPS/clients/makepsres/makepsres.c.orig 2000-01-11 22:25:01.000000000 +0000
++++ DPS/clients/makepsres/makepsres.c
+@@ -126,7 +126,7 @@ char *program;
+
+ extern char *malloc(), *realloc();
+
+-#if !defined(__NetBSD__) && !defined(__FreeBSD__)
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ # if !defined(__GLIBC__)
+ extern char *sys_errlist[];
+ # else
Added: head/x11/dgs/files/patch-DPS_ltconfig
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/dgs/files/patch-DPS_ltconfig Wed Feb 5 17:12:23 2014 (r342787)
@@ -0,0 +1,20 @@
+--- DPS/ltconfig.orig 2000-01-11 22:24:56.000000000 +0000
++++ DPS/ltconfig
+@@ -1349,7 +1349,7 @@ else
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd*)
++ dragonfly*|freebsd*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -1823,7 +1823,7 @@ freebsd1*)
+ dynamic_linker=no
+ ;;
+
+-freebsd*)
++dragonfly*|freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case "$version_type" in
More information about the svn-ports-head
mailing list