Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 17:12:23 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342787 - head/x11/dgs/files
Message-ID:  <201402051712.s15HCNpj047003@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402051712.s15HCNpj047003>