]> git.pld-linux.org Git - packages/dosemu.git/blame - dosemu-cpp_macros.patch
- added Prereq: /sbin/depmod
[packages/dosemu.git] / dosemu-cpp_macros.patch
CommitLineData
e3fc3a69 1--- dosemu-1.0.1/src/base/data.c~ Sun Mar 5 13:57:37 2000
2+++ dosemu-1.0.1/src/base/data.c Sun Dec 2 17:17:05 2001
3@@ -5,7 +5,7 @@
4 */
5
6 #define EXTERN
7-#define INIT(x...) = ## x
8+#define INIT(x...) = x
9
10 #include <termios.h>
11 #include <sys/types.h>
12--- dosemu-1.0.1/base-configure.in~ Sun Jun 18 16:34:22 2000
13+++ dosemu-1.0.1/base-configure.in Sun Dec 2 17:31:51 2001
14@@ -567,14 +567,14 @@
15 GCC_VERSION_CODE="-DGCC_VERSION_CODE=$GCC_VERSION_CODE"
16
17 echo -n "checking for glibc..."
18- major=`echo '#include <features.h>' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC__/{print $3}'`
19+ major=`echo '#include <features.h>' |${CC-cc} -E -dM -|awk '/#define +__GLIBC__ /{print $3}'`
20 if test "$major" = ""; then
21 echo "no"
22 else
23 if test "$(( $major > 1 ))" = "1"; then
24 GLIBCFLAGS="-D_XOPEN_SOURCE"
25 fi
26- minor=`echo '#include <features.h>' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC_MINOR__/{print $3}'`
27+ minor=`echo '#include <features.h>' |${CC-cc} -E -dM -|awk '/#define +__GLIBC_MINOR__ /{print $3}'`
28 if test "$minor" = ""; then
29 minor=0;
30 fi
This page took 0.073985 seconds and 4 git commands to generate.