[llvm-commits] CVS: llvm-www/status/patches/coreutils-5.0-llvm.patch crafty-19.3-llvm.patch screen-3.9.15-llvm.patch siod-llvm.patch

Misha Brukman brukman at cs.uiuc.edu
Wed Nov 12 16:52:10 PST 2003


Changes in directory llvm-www/status/patches:

coreutils-5.0-llvm.patch added (r1.1)
crafty-19.3-llvm.patch added (r1.1)
screen-3.9.15-llvm.patch added (r1.1)
siod-llvm.patch added (r1.1)

---
Log message:

We should actually make patches available if we're going to refer to them.


---
Diffs of the changes:  (+124 -0)

Index: llvm-www/status/patches/coreutils-5.0-llvm.patch
diff -c /dev/null llvm-www/status/patches/coreutils-5.0-llvm.patch:1.1
*** /dev/null	Wed Nov 12 16:51:09 2003
--- llvm-www/status/patches/coreutils-5.0-llvm.patch	Wed Nov 12 16:50:59 2003
***************
*** 0 ****
--- 1,42 ----
+ --- ../coreutils-5.0/config.h	2003-08-29 15:54:58.000000000 -0500
+ +++ ./config.h	2003-08-29 13:14:29.000000000 -0500
+ @@ -410,7 +410,7 @@
+  #define HAVE_GETHOSTNAME 1
+  
+  /* Define to 1 if you have the `gethrtime' function. */
+ -#define HAVE_GETHRTIME 1
+ +#undef HAVE_GETHRTIME
+  
+  /* Define to 1 if you have the `getloadavg' function. */
+  #define HAVE_GETLOADAVG 1
+ @@ -630,7 +630,7 @@
+  #define HAVE_PSTAT_GETDYNAMIC 1
+  
+  /* Define to 1 if you have the `pstat_getstatic' function. */
+ -#define HAVE_PSTAT_GETSTATIC 1
+ +#undef HAVE_PSTAT_GETSTATIC
+  
+  /* Define to 1 if you have the <pwd.h> header file. */
+  #define HAVE_PWD_H 1
+ --- ../coreutils-5.0/lib/md5.h	2003-08-29 15:55:08.000000000 -0500
+ +++ ./lib/md5.h	2003-08-29 13:05:18.000000000 -0500
+ @@ -149,7 +149,7 @@
+  
+  /* The following is from gnupg-1.0.2's cipher/bithelp.h.  */
+  /* Rotate a 32 bit integer by n bytes */
+ -#if defined __GNUC__ && defined __i386__
+ +#if defined __GNUC__ && defined __i386__ && !__llvm__
+  static inline md5_uint32
+  rol(md5_uint32 x, int n)
+  {
+ --- ../coreutils-5.0/src/shred.c	2003-08-29 15:55:08.000000000 -0500
+ +++ ./src/shred.c	2003-08-29 13:07:42.000000000 -0500
+ @@ -519,7 +519,7 @@
+  #define ISAAC_SEED(s,x) isaac_seed_data (s, &(x), sizeof (x))
+  
+  
+ -#if __GNUC__ >= 2 && (__i386__ || __alpha__)
+ +#if __GNUC__ >= 2 && (__i386__ || __alpha__) && !__llvm__
+  /*
+   * Many processors have very-high-resolution timer registers,
+   * The timer registers can be made inaccessible, so we have to deal with the


Index: llvm-www/status/patches/crafty-19.3-llvm.patch
diff -c /dev/null llvm-www/status/patches/crafty-19.3-llvm.patch:1.1
*** /dev/null	Wed Nov 12 16:51:09 2003
--- llvm-www/status/patches/crafty-19.3-llvm.patch	Wed Nov 12 16:50:59 2003
***************
*** 0 ****
--- 1,20 ----
+ --- Makefile    2003-02-03 22:15:44.000000000 -0600
+ +++ Makefile.new        2003-11-12 16:46:46.000000000 -0600
+ @@ -180,6 +180,17 @@
+                 asm=X86-aout.o \
+                 crafty-make
+  
+ +linux-llvm:
+ +       $(MAKE) target=LINUX \
+ +               CC=llvm-gcc CXX=llvm-g++ \
+ +               CFLAGS='$(CFLAGS) -Wall -pipe -D_REENTRANT -O3' \
+ +               CXFLAGS='$(CFLAGS) \
+ +                       -fforce-mem -fomit-frame-pointer' \
+ +               LDFLAGS='$(LDFLAGS) -lpthread' \
+ +               opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+ +                    -DFAST' \
+ +               crafty-make
+ +
+  linux-elf:
+         $(MAKE) target=LINUX \
+                 CC=gcc CXX=g++ \


Index: llvm-www/status/patches/screen-3.9.15-llvm.patch
diff -c /dev/null llvm-www/status/patches/screen-3.9.15-llvm.patch:1.1
*** /dev/null	Wed Nov 12 16:51:09 2003
--- llvm-www/status/patches/screen-3.9.15-llvm.patch	Wed Nov 12 16:50:59 2003
***************
*** 0 ****
--- 1,34 ----
+ --- ../screen-3.9.15/configure	2003-02-24 07:03:33.000000000 -0600
+ +++ ./configure	2003-08-29 12:11:01.000000000 -0500
+ @@ -2570,7 +2570,8 @@
+    (exit $ac_status); }; }; then
+    { { echo "$as_me:$LINENO: error: Your compiler does not set the exit status - sorry" >&5
+  echo "$as_me: error: Your compiler does not set the exit status - sorry" >&2;}
+ -   { (exit 1); exit 1; }; }
+ +   #{ (exit 1); exit 1; };
+ +   }
+  else
+    echo "$as_me: program exited with status $ac_status" >&5
+  echo "$as_me: failed program was:" >&5
+ --- ../screen-3.9.15/help.c	2003-03-12 08:20:56.000000000 -0600
+ +++ ./help.c	2003-08-29 12:31:04.000000000 -0500
+ @@ -37,7 +37,7 @@
+  extern struct display *display, *displays;
+  extern char *noargs[];
+  extern struct mchar mchar_blank, mchar_so;
+ -extern char *blank;
+ +extern unsigned char *blank;
+  extern struct win *wtab[];
+  
+  static void PadStr __P((char *, int, int, int));
+ --- ../screen-3.9.15/misc.c	2003-02-21 14:30:57.000000000 -0600
+ +++ ./misc.c	2003-08-29 12:31:11.000000000 -0500
+ @@ -42,7 +42,7 @@
+  extern int eff_gid, real_gid;
+  extern struct mline mline_old;
+  extern struct mchar mchar_blank;
+ -extern char *null, *blank;
+ +extern unsigned char *null, *blank;
+  
+  char *
+  SaveStr(str)


Index: llvm-www/status/patches/siod-llvm.patch
diff -c /dev/null llvm-www/status/patches/siod-llvm.patch:1.1
*** /dev/null	Wed Nov 12 16:51:09 2003
--- llvm-www/status/patches/siod-llvm.patch	Wed Nov 12 16:50:59 2003
***************
*** 0 ****
--- 1,28 ----
+ diff -aru siod/makefile siod_llvm/makefile
+ --- siod/makefile	Tue Mar 14 09:26:55 2000
+ +++ siod_llvm/makefile	Wed Oct  1 15:45:46 2003
+ @@ -236,6 +236,15 @@
+  	SO="so" \
+          build_driver
+  
+ +linux_llvm:
+ +	$(MAKE) $(LDLP) \
+ +	PROGS="siod" \
+ +	CC="llvm-gcc" \
+ +	LD="llvm-link" \
+ +	CFLAGS="$(GCCW) $(CDEBUG) -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN $(SLD)" \
+ +	SO="bc" \
+ +        build_driver
+ +
+  # adapt by Philippe Laliberte for MkLinux on ppc
+  # I used -fsigned-char becaused their are unexplicited char
+  # and we're using unsigned as a default.
+ @@ -487,7 +496,7 @@
+  clean:
+  	-rm *.o *.so *.sl *~ $(MANPAGES:.man=.txt) so_locations \
+              siod sample siod.tar siod.tgz siod.zip selfdoc.txt \
+ -	$(CMDFILES)
+ +	$(CMDFILES) *.bc
+  
+  # make manpage txt files for distribution to people who do not have 
+  # nroff.





More information about the llvm-commits mailing list