[csw-devel] [PATCH 1/2] Use libcompat in tests

2012-03-01 Thread Maciej Blizinski
Otherwise: Undefined first referenced symbol in file asprintfurl.o ld: fatal: Symbol referencing errors. No output written to test_url This patch uses a mix of tabs and spaces to match the existing convention. --- src

[csw-devel] [PATCH 2/2] Invoke check_headers with $(SHELL)

2012-02-29 Thread Maciej Blizinski
Otherwise, it gets executed with /bin/sh which on Solaris does not support the $(...) construct. This causes 'gmake check' to fail. For example: ../src/check_headers: $(dirname ../src/check_headers): does not exist Calling check_headers with $(SHELL) explicitly makes use of CONFIG_SHELL. --- lib

[csw-devel] [PATCH 1/2] Use libcompat in tests

2012-02-29 Thread Maciej Blizinski
Otherwise: Undefined first referenced symbol in file asprintfurl.o ld: fatal: Symbol referencing errors. No output written to test_url --- src/test/Makefile.am |3 ++- 1 files changed, 2 insertions(+), 1 deletions(

[csw-devel] [PATCH 0/2] 'gmake check' on Solaris 10

2012-02-29 Thread Maciej Blizinski
These two patches make 'gmake check' pass in Solaris 10. There are two cases where CONFIG_SHELL needs to be used, and one place where libcompat is necessary because of asprintf(). Maciej Blizinski (2): Use libcompat in tests Invoke check_headers with $(SHELL) lib/Makefile.am

[csw-devel] [PATCH] O_DIRECTORY workaround in vlc_fixups.h

2012-02-29 Thread Maciej Blizinski
When not defined, set the value to 0. Fixes a gnutls.c build issue on Solaris 10, which doesn't have O_DIRECTORY. Ref: http://mailman.videolan.org/pipermail/vlc-devel/2012-February/086933.html --- modules/misc/gnutls.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) dif

[csw-devel] [PATCH] Escape double quotes when creating 'compile'

2012-02-29 Thread Maciej Blizinski
--- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 2cb86dd..a064df3 100644 --- a/configure.ac +++ b/configure.ac @@ -4256,7 +4256,7 @@ echo "#! $SHELL rm -f .error\$\$ ERROR=0 export PATH=\"$PATH\" LANG=C -($MAKE V=1 \$@

[csw-devel] [PATCH] O_DIRECTORY workaround in vlc_fixups.h

2012-02-29 Thread Maciej Blizinski
When not defined, set the value to 0. Fixes a gnutls.c build issue on Solaris 10, which doesn't have O_DIRECTORY. Ref: http://mailman.videolan.org/pipermail/vlc-devel/2012-February/086933.html --- include/vlc_fixups.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/i

[csw-devel] [PATCH 4/4] A simpler way to sort a list of words

2012-02-29 Thread Maciej Blizinski
There is no reason to `echo $var` if $var is a list of words. Also, there's no need to iterate and echo, translating spaces into newlines works just as well. --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 0eb47d5..af6a90

[csw-devel] [PATCH 2/4] Test for if_nameindex in a specific header.

2012-02-29 Thread Maciej Blizinski
On Solaris 10, if_nameindex is defined in a specific header file which needs to be included. When testing for if_nameindex, the header is now used and the false negative is removed. --- configure.ac |3 ++- include/vlc_fixups.h |2 +- 2 files changed, 3 insertions(+), 2 deletions(-

[csw-devel] [PATCH 3/4] On Solaris, use memalign(), not posix_memalign()

2012-02-29 Thread Maciej Blizinski
--- include/vlc_common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index 545b1cd..f2e7118 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -904,7 +904,7 @@ static void vlc_free(void *ptr) if (ptr)

[csw-devel] [PATCH 0/4] Solaris 10 patches, take 2

2012-02-29 Thread Maciej Blizinski
olete key and I will look for a better way to work around it. Maciej Blizinski (4): Test for O_DIRECTORY Test for if_nameindex in a specific header. On Solaris, use memalign(), not posix_memalign() A simpler way to sort a list of words configure.ac |6 -- include/

[csw-devel] [PATCH 1/4] Test for O_DIRECTORY

2012-02-29 Thread Maciej Blizinski
O_DIRECTORY is not declared on Solaris 10. Test for it and only use it when available. --- configure.ac |1 + modules/misc/gnutls.c |6 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index efb2e99..6ce41f5 100644 --- a/configure.a

[csw-devel] [PATCH] Test for posix_memalign in ./configure

2012-02-29 Thread Maciej Blizinski
--- configure.ac |5 + include/vlc_common.h |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 6d2562c..b5e8473 100644 --- a/configure.ac +++ b/configure.ac @@ -1056,6 +1056,11 @@ dnl Check for backtrace() support AC_CHECK_H

[csw-devel] [PATCH 2/2] Work around the lack of dirfd() (corrected)

2012-02-20 Thread Maciej Blizinski
Detect whether the system supports dirfd(). There was a Solaris-specific workaround in one of the files, but it's a better idea to test for the function and not rely on the OS detection. --- configure.ac |2 ++ include/vlc_fixups.h |7 +++ modules/access/directory.c

[csw-devel] [PATCH 2/2] Work around the lack of dirfd()

2012-02-20 Thread Maciej Blizinski
Detect whether the system supports dirfd(). There was a Solaris-specific workaround in one of the files, but it's a better idea to test for the function and not rely on the OS detection. --- configure.ac |2 ++ include/vlc_common.h |6 ++ include/vlc_fixups.h

[csw-devel] [PATCH 1/2] Bootstrap on Solaris

2012-02-20 Thread Maciej Blizinski
Solaris /bin/sh does not support "$( ... )" nor "if ! test ..." Tested on Solaris 10. --- bootstrap | 14 +++--- modules/genmf |6 -- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/bootstrap b/bootstrap index d315be2..1f478e2 100755 --- a/bootstrap +++ b/boo

[csw-devel] [PATCH 0/2] Solaris 10 related patches

2012-02-20 Thread Maciej Blizinski
://www.opencsw.org/packages/CSWvlc/ Maciej Blizinski (2): Bootstrap on Solaris Work around the lack of dirfd() bootstrap | 14 +++--- configure.ac |2 ++ include/vlc_common.h |6 ++ include/vlc_fixups.h |7 +++ modules/access

[csw-devel] [PATCH] mGAR v2: background some of the directory deleting

2012-02-03 Thread Maciej Blizinski
Targets like 'spotless' can take time on large builds, let's background them and return the prompt. --- gar/v2/gar.mk |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gar/v2/gar.mk b/gar/v2/gar.mk index 37d28e7..243e47c 100644 --- a/gar/v2/gar.mk +++ b/gar/v2/gar.mk

[csw-devel] [PATCH] mGAR v2: Add an option to run pigz

2011-08-14 Thread Maciej Blizinski
--- gar/v2/bin/mkpackage | 12 +--- gar/v2/gar.conf.mk |3 +++ gar/v2/gar.pkg.mk|1 + 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gar/v2/bin/mkpackage b/gar/v2/bin/mkpackage index 8e10918..b077b4f 100755 --- a/gar/v2/bin/mkpackage +++ b/gar/v2/bin/mkpack

[csw-devel] [PATCH] Fix SPKG_DESC duplicate checking

2011-08-01 Thread Maciej Blizinski
Works around ticket #56. http://sourceforge.net/apps/trac/gar/ticket/56 Previous attempt at fixing it: http://sourceforge.net/apps/trac/gar/changeset/11424 --- gar/v2/gar.pkg.mk |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gar/v2/gar.pkg.mk b/gar/v2/gar.pkg.mk

[csw-devel] [PATCH] mGAR v2: Set CATALOG_RELEASE based on hostname

2011-03-14 Thread Maciej Blizinski
This patch makes gar determine the checking catalog release based on the host name. A solution for off-buildfarm use has not been determined. Signed-off-by: Maciej Blizinski --- gar/v2/gar.pkg.mk |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/gar/v2/gar.pkg.mk b/gar

[csw-devel] [PATCH] opencsw-policy: Copyright notice

2011-03-13 Thread Maciej Blizinski
Here's an update for the policy patch, setting the license to GPL-3.0. Debian's license is 2.0+, so it is compatible with Debian's policy manual's license. ___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] [PATCH] opencsw-policy: Copyright notice

2011-03-13 Thread Maciej Blizinski
This patch sets the copyright of policy package and policy documents to GPL-3.0. Signed-off-by: Maciej Blizinski --- pkg/opencsw-policy/trunk/Makefile|4 ++-- pkg/opencsw-policy/trunk/checksums |2 +- pkg/opencsw-policy/trunk/files/index.txt | 21 - 3

[csw-devel] [PATCH] opencsw-policy: Copyright notice

2011-03-13 Thread Maciej Blizinski
This patch sets the copyright of policy package and policy documents to GPL-3.0. Signed-off-by: Maciej Blizinski --- pkg/opencsw-policy/trunk/Makefile|4 ++-- pkg/opencsw-policy/trunk/checksums |2 +- pkg/opencsw-policy/trunk/files/index.txt | 21 - 3

[csw-devel] [POLICY] opencsw-policy: Copyright notice

2011-03-13 Thread Maciej Blizinski
Here's an update for the policy patch, setting the license to GPL-3.0. Debian's license is 2.0+, so it is compatible with Debian's policy manual's license. ___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] [PATCH] mGAR v2: README.CSW support, base directories

2011-03-05 Thread Maciej Blizinski
Before copying README.CSW, make sure that the base directory already exists. --- gar/v2/gar.pkg.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gar/v2/gar.pkg.mk b/gar/v2/gar.pkg.mk index 644f672..cb8114e 100644 --- a/gar/v2/gar.pkg.mk +++ b/gar/v2/gar.pkg.mk @@ -682,6

[csw-devel] [PATCH] mgar: Use local variables

2011-03-05 Thread Maciej Blizinski
Bash support local variables in function, if they are declared. This patch declares local variables for functions in mgar. --- gar-wrapper/mgar | 25 ++--- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/gar-wrapper/mgar b/gar-wrapper/mgar index acf48db..5d5

[csw-devel] (no subject)

2011-03-05 Thread Maciej Blizinski
___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] (no subject)

2011-03-05 Thread Maciej Blizinski
___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] (no subject)

2011-03-05 Thread Maciej Blizinski
___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] (no subject)

2011-03-05 Thread Maciej Blizinski
___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] [PATCH] mgar: support show-buildsys outside Subversion

2011-03-05 Thread Maciej Blizinski
Subversion might not always be available. If it isn't mgar should not crash. --- gar-wrapper/mgar |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gar-wrapper/mgar b/gar-wrapper/mgar index acf48db..5a9adb3 100755 --- a/gar-wrapper/mgar +++ b/gar-wrapper/mgar @@ -423,8 +

[csw-devel] [PATCH] Adding notes about the repository

2011-02-25 Thread Maciej Blizinski
Requires the Id keyword to be set for files: svn ps svn:keywords Id .../buildfarm/bin/experimental-footer.inc svn ps svn:keywords Id .../buildfarm/bin/experimental-head.inc --- buildfarm/bin/experimental-footer.inc |1 + buildfarm/bin/experimental-head.inc |7 +++ 2 files changed, 8

[csw-devel] [PATCH] mGAR v2: Use git add -p during makepatch

2011-02-06 Thread Maciej Blizinski
This allows to create a series of patches from a single editing session. --- gar/v2/gar.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gar/v2/gar.mk b/gar/v2/gar.mk index 26ab578..c9cca43 100644 --- a/gar/v2/gar.mk +++ b/gar/v2/gar.mk @@ -490,7 +490,7 @@ makepatch-mod

[csw-devel] [POLICY] mGAR v2: Use git add -p during makepatch

2011-02-06 Thread Maciej Blizinski
This allows to create a series of patches from a single editing session. --- gar/v2/gar.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gar/v2/gar.mk b/gar/v2/gar.mk index 26ab578..c9cca43 100644 --- a/gar/v2/gar.mk +++ b/gar/v2/gar.mk @@ -490,7 +490,7 @@ makepatch-mod