pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build error with the current update (was: CVS commit: pkgsrc/shells/bash)



On Thu, Aug 06, 2009 at 06:38:46AM +0000, Hasso Tepper wrote:
> Module Name:  pkgsrc
> Committed By: hasso
> Date:         Thu Aug  6 06:38:46 UTC 2009
> 
> Modified Files:
>       pkgsrc/shells/bash: Makefile distinfo
> 
> Log Message:
> Update to 4.0.28. Bugfixes.

patch-25 contains bogus code:

+#if 0
+         /* If we want all directories (dflags & GX_ALLDIRS) and we're not
+            being called recursively as something like `echo **/*.o'
+            ((flags & GX_ALLDIRS) == 0), we want to prevent glob_vector from
+            adding a null directory name to the front of the temp_results
+            array.  We turn off ADDCURDIR if not called recursively and
+            dlen == 0 */
+#endif

Note the **/* 'comment' which close the comment too early.

That will cause a build error:

cc -c  -DHAVE_CONFIG_H -DSHELL 
-DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin\"" 
-I/usr/include -I. -I../.. -I../.. -I../../include -I../../lib   -O2 
-I/usr/include glob.c
glob.c:1023:69: missing terminating ' character
*** Error code 1

Bernd



Home | Main Index | Thread Index | Old Index